Thursday, 5 July 2007
|
| Configuration system failed to initialize Ian Suttle 16:40:06 |
| | Hello everyone. This error keeps popping up for us. It's very odd because it works within our staging environment but not our production environment. Has anyone seen this?
"Server was unable to process request. ---> Configuration system failed to initialize ---> An error occurred loading a configuration file: Logon failure: unknown user name or bad password.\n (\\\\path\\web.config) ---> Logon failure: unknown user name or bad password.\n"
Thanks in advance!
Ian Suttle
Manager, .Net Engineering
IGN Entertainment / Fox Interactive Media
714-460-6759
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 2 answer | Add comment |
|
| AW: [DOTNET-CLR] LCG: DynamicMethod with Parameters G nter Prossliner 12:40:07 |
| | Hello Curt!
I should have said this explicitly: the only valid MethodAttributes on a dynamic method are Public and Static. This has been the problem actually.
instead of: Type[] paramTypes = {typeof(string)}; ... object[] args = {"Paul"}; m.Invoke(new SimpleTest(), args);
I pass the "this" reference within a parameter:
Type[] paramTypes = {typeof(SimpleTest), typeof(string)}; ... object[] args = {new SimpleTest(), args}; m.Invoke(null, args);
This code is now working.
Thank you very much!
GP
=================================== This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 5 answers | Add comment |
Wednesday, 4 July 2007
|
| LCG: DynamicMethod with Parameters G nter Prossliner 10:09:41 |
| | Hello everbody!
I have a problem to get DynamicMethods working. When the dynamic Method takes no parameters, everything works. But otherwise I'm not able to get the Results I am expecting.
Following example given an FatalExecutionEngine MDA (0xc0000005 = Access denied):
class SimpleTest {
public static void Main() {
MethodInfo mi = typeof(SimpleTest).GetMethod("Welcome"); Type[] paramTypes = {typeof(string)};
DynamicMethod m = new DynamicMethod("test", null, paramTypes, typeof(SimpleTest)); ILGenerator il = m.GetILGenerator();
il.Emit(OpCodes.Nop); il.Emit(OpCodes.Ldarg_0); il.Emit(OpCodes.Ldarg_1); il.EmitCall(OpCodes.Call, mi, null); il.Emit(OpCodes.Nop); il.Emit(OpCodes.Ret);
object[] args = { "Paul" }; m.Invoke(new SimpleTest(), args);
}
public void Welcome(string name) { Console.WriteLine("Hello {0}", name); }
}
The raw IL-Code looks good IMO:
0x00 // nop 0x02 // ldarg.0 0x03 // ldarg.1 0x28 // call 0x02 0x00 0x00 0x0a 0x00 // nop 0x2a // ret
The only thing I that confuses me it 02-00-00-0a.
This shall be the MD-Token for the Method, right? But when I browse the Metadata for the compiled Assembly for the Token 0x0A000002 (0x0a shall be Row in the "MemberRef" table), it points to another member (a ctor for another class).
BUT: The Value 0x0A000002 seems to be the same, regardless which MethodInfo I pass into the il.EmitCall(...) method! And it works when the Method takes no parameters. Confusing...
The C# Compiler generates the following IL for the method:
public static void TestIL(SimpleTest obj, string name) { obj.Welcome(name); }
0x00 // nop 0x02 // ldarg.0 0x03 // ldarg.1 0x6F // callvirt 0x05 0x00 0x00 0x06 0x00 // nop 0x2a // ret
It seems to be quite the same, allthough csc generates a "callvirt" instruction, even if the Method is not virtual. BTW: If I use il.EmitCall(OpCodes.Callvirt,...) I still get the Error.
But what is really different is the MD-Token for the argument of the "call" instruction. The compiler uses the 0x06000005, so it point to the "MethodDef" (0x06) 0x05, which is the right token-value of the "Welcome" method.
If I do not use the "EmitCall", but the "Emit" directly with the the "call" OpCode, and with 0x06000005 as the parameter, I do not get the "FatalExecutionEngineError" anymore, but I get a "BadImageFormatException" (BadMethodToken).
Can anyone tell me what is wrong with my code, and how it shall be done?
thanks a lot, GP
=================================== This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 6 answers | Add comment |
Tuesday, 3 July 2007
|
| TabControl with derived TabPage class Richard Kucia 23:50:58 |
| | As an experiment, I created an app in which there is no design-time info on the form. All the controls are defined by a config file. The controls are instantiated and their properties are set at run-time by my own code, not via InitializeComponents.
In order to play with some fancy positioning features, I created about 10 classes derived from of the usual Windows controls. So I have a DynamicLabel, DynamicGroupBox, DynamicTabControl, DynamicTabPage, etc. Other than a couple of extra properties and methods, there's nothing much in these derived classes. Nothing in the standard TabPage is overridden.
Public Class DynamicTabPage Inherits TabPage Implements IDynamicControl
While testing this stuff, I may have found an odd bug with the TabControl and/or TabPage.
I created a multi-level hierarchy of control on the form like this:
DynamicTabControl outer DynamicTabPage prj misc controls DynamicTabPage act DynamicTextBox name DynamicTextBox desc DynamicTabControl inner DynamicTabPage prp labels & combo boxes DynamicTabPage hom textboxes DynamicTabPage def textboxes DynamicTabPage pnt more typical stuff
The basic idea is that there is one outer tab control, and in it the tab page "act" contains an inner tab control.
What is happening is this: I select tab page "act" and within it I further select tab page "hom". Then I click the tab for page "pnt". What I expect to see is the contents of the "pnt" page. When I click "act" I expect to return to the "act" page, including having the inner tab control resume its previous state. What I see is very strange: the tab on the inner control shows that "hom" is selected, but the *contents* of that page is actually the contents of the "prp" page! I can manually click the tabs of the inner tab control and get the right contents to appear. The problem is specifically related to when the tab control is refreshing.
Furthermore, if I navigate around and get the "hom" page to appear, then if I click on it, the "prp" page appears.
And also -- the TAB key seems to blow right on past the end-of-page. The focus keeps on advancing to my controls on other pages -- even though their pages never are shown.
And to wrap things up, when I switch my implementation to use a true .Net TabPage, things resume working correctly again.
So either it's not possible for a TabControl to work with a class derived from a TabPage, or I need some assistance in getting this to work. Thanks for the help.
Rick Kucia
|
| | Add comment |
Monday, 2 July 2007
|
| invalid file name chars (RegEx) Peter Osucha 23:41:20 |
| | I'm still playing with regular expressions - though I don't get enough time to devote to the subject.
Anyway, I have a string of characters and all I'm trying to do is make replace all the invalid file name chars with "" to I can use the replaced name as a filename. I am trying to do this with a simple regular expression statement but this doesn't seem to be working.
Regex regex = new Regex ("[\\/ ?<>|]" );
string input = "Test \\is/?<a\bad?.name";
Console.WriteLine(regex.Replace(input,""));
Can someone please tell me what I'm doing wrong here?
Thanks,
peter
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 5 answers | Add comment |
Saturday, 30 June 2007
|
| Compiling MSIL to native code Axel Heitland 09:21:11 |
| | This is a rather hypothetic question:
We can use ngen.exe to precompile IL to native code.
Is a scenario in which we would have ONLY ngen.exe (or similar) and NO JITter possible?!
I guess that only code using the codedom would suffer in not having a JITter - is that right?
Regards Axel
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
|
| | 1 answer | Add comment |
|
| Odd stack trace from a hung .NET app Dmitry Shaporenkov 00:34:31 |
| | Hi there,
I'm facing odd hang-ups in a mixed unmanaged/Win Form app (actually this is a VS 2005 with a managed add-in loaded)
that I think might be of interest here. The stack trace of the UI thread (captured using WinDbg) is posted below. Basically,
what is happening here is some system event (Microsoft.Win32.SystemEvents.OnUserPreferenceChanged) being dispatched and
handled via Control.MarshaledInvoke. However, the latter seems to never return. From the user perspective, the application
appears to be unresponsive (i.e. it doesn't react to keyboard input), but it paints its windows, as WM_PAINT messages seem
to be passed via the message filter in the CoWaitForMultipleHandles (I checked this by breaking in a WndProc of one of the windows).
I did some search in the Web, and it looks like a similar problem was in .NET 1.1 and reproduced on multiprocessor machines. However, I don't see
it being reported for .NET 2.0, and I'm running .NET 2.0 Framework on a hyper-threaded workstation. Has anybody else here encountered this issue or
heard about it? I observe such hang-ups on a regular basis, so knowing its origins is important for me.
Thanks for any ideas.
Regards, Dmitry Shaporenkov
P.S. Here is the stack trace:
--------------------------------------------------------------
Thread 0
Current frame: ntdll!KiFastSystemCallRet
ChildEBP RetAddr Caller,Callee
0012f34c 7c90e9ab ntdll!ZwWaitForMultipleObjects+0xc
0012f350 7c8094f2 kernel32!WaitForMultipleObjectsEx+0x12c, calling ntdll!ZwWaitForMultipleObjects
0012f38c 77d49402 USER32!PeekMessageW+0xbc, calling USER32!_PeekMessage
0012f3dc 7c8399f3 kernel32!_except_handler3
0012f3ec 77d495f9 USER32!RealMsgWaitForMultipleObjectsEx+0x13e, calling kernel32!WaitForMultipleObjectsEx
0012f41c 77512744 ole32!CoUnmarshalInterface+0x18f1, calling ole32!CoUnmarshalInterface+0x1887
0012f448 77512235 ole32!CoUnmarshalInterface+0x13e2, calling USER32!MsgWaitForMultipleObjectsEx
0012f470 77557227 ole32!CoWaitForMultipleHandles+0xe6, calling ole32!CoUnmarshalInterface+0x136c
0012f4e4 79f27b88 mscorwks!NT5WaitRoutine+0x51, calling ole32!CoWaitForMultipleHandles
0012f4fc 79f17565 mscorwks!Thread::GetFinalApartment+0x8d, calling mscorwks!_EH_epilog3
0012f504 79f27acf mscorwks!MsgWaitHelper+0xa5, calling mscorwks!NT5WaitRoutine
0012f558 79f17565 mscorwks!Thread::GetFinalApartment+0x8d, calling mscorwks!_EH_epilog3
0012f570 79f27a33 mscorwks!Thread::DoAppropriateAptStateWait+0x28, calling mscorwks!MsgWaitHelper
0012f590 79f17493 mscorwks!Thread::DoAppropriateWaitWorker+0x144, calling mscorwks!Thread::DoAppropriateAptStateWait
0012f614 79f1732f mscorwks!Thread::DoAppropriateWait+0x40, calling mscorwks!Thread::DoAppropriateWaitWorker
0012f64c 79ef5723 mscorwks!AcquireSafeHandle+0x35, calling mscorwks!_EH_epilog3
0012f664 7a07b49c mscorwks!WaitHandleNative::CorWaitOneNative+0x14e, calling mscorwks!Thread::DoAppropriateWait
0012f6a0 79e74ebd mscorwks!HelperMethodFrame::LazyInit+0x17, calling (JitHelp: CORINFO_HELP_GET_THREAD)
0012f6a8 79e74ea0 mscorwks!HelperMethodFrame::HelperMethodFrame+0x1d, calling mscorwks!HelperMethodFrame::LazyInit
0012f6ac 7a2cd629 mscorwks!AppDomainNative::IsFinalizingForUnload, calling mscorwks!UnwindAndContinueRethrowHelperAfterCatch
0012f6c0 7a07b2dd mscorwks!WaitHandleNative::CorWaitOneNative+0x21, calling mscorwks!LazyMachStateCaptureState
0012f6d0 7a2cd629 mscorwks!AppDomainNative::IsFinalizingForUnload, calling mscorwks!UnwindAndContinueRethrowHelperAfterCatch
0012f710 79e7bba9 mscorwks!PreStubWorker+0x130, calling ntdll!RtlSetLastWin32Error
0012f720 7c8229bd kernel32!GetExitCodeThread+0x1b, calling ntdll!ZwQueryInformationThread
0012f768 793d424e (MethodDesc 0x7924ad68 +0x2e System.Threading.WaitHandle.WaitOne(Int64, Boolean)), calling mscorwks!WaitHandleNative::CorWaitOneNative
0012f780 793d4193 (MethodDesc 0x7924ad50 +0x23 System.Threading.WaitHandle.WaitOne(Int32, Boolean)), calling (MethodDesc 0x7924ad68 +0 System.Threading.WaitHandle.WaitOne(Int64, Boolean))
0012f794 7b0caa0d (MethodDesc 0x7b5a5af8 +0xa1 System.Windows.Forms.Control.WaitForWaitHandle(System.Threading.WaitHandle))
0012f7a8 7b3fab19 (MethodDesc 0x7b4a6468 System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)), calling (MethodDesc 0x7b5a5af8 +0 System.Windows.Forms.Control.WaitForWaitHandle(System.Threading.WaitHandle))
0012f7c0 7b06e6a4 (MethodDesc 0x7b4a6468 +0x108 System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)), calling kernel32!GetCurrentThreadId
0012f7c4 7a07dec3 mscorwks!ThreadNative::IsAlive+0x5f, calling mscorwks!FrameWithCookie<HelperMethodFrame_1OBJ>::FrameWithCookie<HelperMeth odFrame_1OBJ>
0012f7d4 7a07de96 mscorwks!ThreadNative::IsAlive+0x153, calling mscorwks!_EH_epilog3
0012f838 7b05f6b4 (MethodDesc 0x7b4a6448 +0x48 System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])), calling 7b64ef40
0012f874 7b318ff5 (MethodDesc 0x7b5ab248 +0x61 System.Windows.Forms.WindowsFormsSynchronizationContext.Send(System.Threadin g.SendOrPostCallback, System.Object))
0012f888 7a52a1c4 (MethodDesc 0x7a8012c8 +0x68 Microsoft.Win32.SystemEvents+SystemEventInvokeInfo.Invoke(Boolean, System.Object[]))
0012f89c 79eedb39 mscorwks!SystemNative::ArrayCopy+0x4f9, calling mscorwks!_EH_epilog3
0012f8bc 7a529d4a (MethodDesc 0x7a7ffec0 +0x106 Microsoft.Win32.SystemEvents.RaiseEvent(Boolean, System.Object, System.Object[])), calling (MethodDesc 0x7a8012c8 +0 Microsoft.Win32.SystemEvents+SystemEventInvokeInfo.Invoke(Boolean, System.Object[]))
0012f8e4 7b07552c (MethodDesc 0x7b4a63c0 +0xc System.Windows.Forms.Control.DefWndProc(System.Windows.Forms.Message ByRef)), calling 7b64f510
0012f908 7a5292bf (MethodDesc 0x7a7ffe68 +0x6f Microsoft.Win32.SystemEvents.OnUserPreferenceChanged(Int32, IntPtr, IntPtr)), calling (MethodDesc 0x7a7ffec0 +0 Microsoft.Win32.SystemEvents.RaiseEvent(Boolean, System.Object, System.Object[]))
0012f920 7a4a7c68 (MethodDesc 0x7a7ffee0 +0x308 Microsoft.Win32.SystemEvents.WindowProc(IntPtr, Int32, IntPtr, IntPtr)), calling (MethodDesc 0x7a7ffe68 +0 Microsoft.Win32.SystemEvents.OnUserPreferenceChanged(Int32, IntPtr, IntPtr))
0012f9a4 003c3c54 003c3c54
0012f9c8 77d48734 USER32!InternalCallWinProc+0x28
0012f9f4 77d48816 USER32!UserCallWinProcCheckWow+0x150, calling USER32!InternalCallWinProc
0012fa5c 77d489cd USER32!DispatchMessageWorker+0x306, calling USER32!UserCallWinProcCheckWow
0012fabc 77d48a10 USER32!DispatchMessageW+0xf, calling USER32!DispatchMessageWorker
0012facc 5008b9a8 msenv!EnvironmentMsgLoop+0x294, calling USER32!DispatchMessageW
0012fb04 500cd542 msenv!CMsoCMHandler::FPushMessageLoop+0x1f, calling msenv!EnvironmentMsgLoop
0012fb18 500cd4e9 msenv!SCM::FPushMessageLoop+0xb2
0012fb40 500cd487 msenv!SCM_MsoCompMgr::FPushMessageLoop+0x27, calling msenv!SCM::FPushMessageLoop
0012fb58 500cd458 msenv!CMsoComponent::PushMsgLoop+0x25
0012fb74 500cd3c2 msenv!VStudioMainLogged+0x42e, calling msenv!CMsoComponent::PushMsgLoop
0012fba0 500c1aeb msenv!CVsActivityLogSingleton::Instance+0xdf, calling msenv!_EH_epilog3
0012fba4 50004ddc msenv!VActivityLogStartupEntries+0x40
0012fbbc 7c8399f3 kernel32!_except_handler3
0012fbc8 7c80cb22 kernel32!InternalFindAtom+0x126, calling kernel32!_SEH_epilog
0012fbcc 7c839970 kernel32!FindAtomW+0x11, calling kernel32!InternalFindAtom
0012fbf4 0040952e devenv!util_CallVsMain+0x149
0012fc2c 0040685f devenv!CDevEnvAppId::Run+0x84e, calling devenv!util_CallVsMain
0012fd5c 7c919a9c ntdll!LdrpGetProcedureAddress+0x186, calling ntdll!LdrpSnapThunk
0012fd74 7c919b3f ntdll!LdrpGetProcedureAddress+0x29b, calling ntdll!RtlLeaveCriticalSection
0012fd7c 7c919aeb ntdll!LdrpGetProcedureAddress+0xa6, calling ntdll!_SEH_epilog
0012fe24 7c919aeb ntdll!LdrpGetProcedureAddress+0xa6, calling ntdll!_SEH_epilog
0012fe28 7c919ba0 ntdll!LdrGetProcedureAddress+0x18, calling ntdll!LdrpGetProcedureAddress
0012fe44 7c80ac66 kernel32!GetProcAddress+0x43, calling ntdll!LdrGetProcedureAddress
0012fe4c 7c80ac78 kernel32!GetProcAddress+0x5b, calling kernel32!BasepMapModuleHandle
0012fe6c 00401d34 devenv!util_GetUnicodeCommandLine+0xa4, calling MSVCR80!wcspbrk
0012fe7c 00401d7d devenv!util_GetUnicodeCommandLine+0x117, calling devenv!__security_check_cookie
0012ff18 00406a3c devenv!WinMain+0x68, calling devenv!CDevEnvAppId::Run
0012ff30 00406aa9 devenv!operator new[]+0x190, calling devenv!WinMain
0012ffc0 7c816d4f kernel32!BaseProcessStart+0x23
0012ffe0 7c8399f3 kernel32!_except_handler3
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 10 answers | Add comment |
Friday, 29 June 2007
|
| Enteprise Library Gabriel 15:44:49 |
| | Hello,
Is there somewhere a *clear* documentation about "Entreprise Library 3.1". I have some sample but not easy to find the right way to use it.
Regards,
|
| | 1 answer | Add comment |
|
| Call webservice WCF from .NET 2.0 Gabriel 12:04:45 |
| | Hello,
On the server, I have WCF webservice. On the client side, I have tu use .NET 2.0, the .NET 3.0 is installed too, I generated proxy class with WSDL.
The server is running. I do this on the client :
MyProxy myProxy = new MyProxy (); string sessionData = ""; myProxy .MyMethod(ref sessionData); Console.ReadLine();
When I debug I stay stuck on the third line, when I stop the server, there is an exception on the client. But I never receive an answer and no trace on the server side.
When I used generated proxy class but it's .NET 3.0 that'w work
Do you have an idea ?
Thanks,
=================================== This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 4 answer | Add comment |
Thursday, 28 June 2007
|
| Trying to control Services on Remote Server Steve Abaffy 23:49:23 |
| | Hello,
I have the following code:
ServiceController controller = new ServiceController(); controller.MachineName = "//ServerName"; controller.ServiceName = "SMTP"; string status = controller.Status.ToString(); // This line errors out with the following error
Cannot open SMTP service on computer '//ServerName'.
If have tried using "Simple Mail Transfer Protocol (SMTP)" for the service name with the same result. Is there something I am overlooking here???
|
| | 6 answers | Add comment |
|
| Data bound application infrastructure Brady Kelly 16:36:01 |
| | I want to make my next Winforms app completely data bound, built around the DataSource objects etc. I've never had any problems using these features for grids etc., and only minimal issues using them for detail forms, but I need some pointers on how to marry the two. If I'm using a grid bound to a datatable, e.g. how do I transition to a detail form for the selected item when my edit command is invoked? I am willing to do the reading, I just don't know where. Too many resources I've spent too much time on only really cover the grid/list scenarios.
|
| | 3 answer | Add comment |
|
| Configuration system failed to initialise Brady Kelly 15:24:37 |
| | I'm getting this reported from a client. I don't have much information, but he sent the config file in use on the site, and it works on my machine. It's running off a share over there, so I'm wondering if maybe it's a result of a lack of permissions. Any advice?
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | Add comment |
Wednesday, 27 June 2007
|
| Static Class vs Singleton Brady Kelly 23:50:57 |
| | What are the pros and cons of both? The only reason I can think of for using a singleton is the paradox of where you need more than one, such as in one per service, or something.
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 6 answers | Add comment |
|
| Credits and Citations Brady Kelly 23:50:57 |
| | I would like to write an article on the differences between these two objects, and the technicalities behind each. Since asking the question I have received some very good answers, which make up part of the framework for my article. As this is a discussion forum, I feel citing the author of every statement made here is rather excessive, and propose that I collectively cite all contributors to the thread, at the end of my article.
What does convention suggest in cases like this?
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | Add comment |
|
| AW: [DOTNET-WINFORMS] MVP Robert Fuchs 21:35:26 |
| | Maybe you're looking for something like CAB No, definitely not. I'm just looking for the pattern.
Thanks, Robert
|
| | Add comment |
Tuesday, 26 June 2007
|
| How to tell if a Detached DataRow has been changed by the user Greg Robinson 22:43:19 |
| | We have a new requirement to check to see if a user made any changes to a New Record on a Cancel. The user clicks an Add button, we call NewRow on DataTable, a Detached DataRow is created and any default values are set. The user then clicks Cancel without making any changes.
If they did make changes, dialog them with a "Are you sure you want to Cancel?". If they did not make any changes, Reject Changes and re-set the screen, no dialog.
I am not aware of a way to check a Detached DataRow to see if it has changed since it was created, out of the box that is, like comparing current to original with a modified DataRow.
Is there a way to check without writing something custom? We have not called EndCurrentEdit yet so all we have is a Detached DataRow. I know I can write something custom that stores a copy of the Detached DataRow and on the Cancel iterate through the stored one and the 'real' one and compare values.
Thanks,
Greg
=================================== This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | Add comment |
|
| Stored proc issue when updated Brady Kelly 20:03:22 |
| | Either I'm going mad, or it appears that SQL Server keeps an assembly loaded despite being dropped and created again. I've just made a bug fix to a C# stored proc assembly, and tested. OK, the test failed because my dll didn't copy correctly to the deployment folder. I copied, double checked the date, and then ran the script to drop and create the assemblies (plus dependencies) again.
Then I tested again, and the bug still manifest, so I took time out to trace my code and couldn't find any fault. Then I ran the stored proc again, and it worked correctly, giving the impression that the first, defective, assembly was still loaded when I deployed the second, correct one. Is this a known scenario?
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | Add comment |
Monday, 25 June 2007
|
| Create new Code Group Brady Kelly 22:51:30 |
| | I was advised here a while ago to create a new code group to give my intranet deployed application required permissions. Now, how to I add my application to the code group?
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 5 answers | Add comment |
|
| Component One Alex Smotritsky 13:17:56 |
| | I'm interested in people's thoughts on the ASP.NET 2.0 / AJAX components from ComponentOne.
Thanks,
Alex
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 3 answer | Add comment |
Sunday, 24 June 2007
|
| Server app using async socket Alex Ivanoff 06:51:02 |
| | I am building a server app that uses asynchronous sockets. I am using Begin/EndAccepTcpClient to get TcpClient instance and underlying NetworkStream. How do I know when to close/dispose TcpClient (or in other words when client disconnects)?
Alex
|
| | 2 answer | Add comment |
Friday, 22 June 2007
|
| Display times in client's time zone? Roy Pardee 23:50:05 |
| | If I have a calendar/scheduler type application & I want to show users in different time zones the time of a particular event in *their* time zone, what's the easiest way to get that done? Looks like client time zone doesn't come over in the useragent string (right?). Do I have to ask users what time zone they're in?
Thanks!
-Roy
Roy Pardee Research Analyst/Programmer Group Health Center For Health Studies (Cancer Research Network) (206) 287-2078 Google Talk: rpardee
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 1 answer | Add comment |
|
| MVP Robert Fuchs 07:06:19 |
| | Hi,
can anybody point me to a good tutorial/example about how to implement the MVP pattern in C#/Winforms.
Regards, Robert
PS: I know "The Humble Dialog Box" http://www.objectmentor.com/resources/articles/TheHumbleDialogBox.pdf
but would need a something more practical .NET implementation to fully understand it.
|
| | 1 answer | Add comment |
Thursday, 21 June 2007
|
| Re: (was) Looking for a 2.0 .Net Windows Control for Rich Text Edition. (now) Rendering RTF or HTML Lizet Pena de Sola 23:51:36 |
| | This is probably a little bit OT but I'm sure someone should have had a similar problem. I need to display HTML that is stored in a database using Reporting Services. The solution as it is now, allows the user to enter text and format it using the webbrowser control as text editor. I'm hoping to store this text in a database and be able to render it as HTML. Even though RS 2000 has HTML rendering capabilities, it will present as text whatever is stored in the database. Any ideas are more than welcome, Lizet
On 6/21/07, Lizet Pena de Sola <lizet.pena@gmail.com> wrote:
I found this very handy article on how to use the webbrowser control as a RTF editor. As we need to produce HTML as output, this control and article are quite helpful. I'll check the link you sent as well. Thanks! On 6/21/07, Phil Sayers <phil@cds-am.net> wrote: webbrowser control comes with the framework. you can enable html editiing with "contenteditable = true" -----Original Message----- From: Discussion forum for developers using Windows Forms to build apps and controls [mailto  OTNET-WINFORMS@DISCUSS.DEVELOP.COM]On Behalf Of Sent: Thursday, June 21, 2007 11:26 AM To: DOTNET-WINFORMS@DISCUSS.DEVELOP.COM Subject: [DOTNET-WINFORMS] Looking for a 2.0 .Net Windows Control for I'm looking for a professional control that will allow Rich Text Formatting in a text box. I should be a managed component using the 2.0 runtime. If the output text is HTML, it will be even better. Any suggestions are more than welcome. Thanks! -- Lizet Pena de Sola The Nice Web
-- Lizet Pena de Sola The Nice Web http://lizet.theniceweb.com
|
| | Add comment |
|
| Looking for a 2.0 .Net Windows Control for Rich Text Edition. Lizet Pena de Sola 19:57:54 |
| | Hello, I'm looking for a professional control that will allow Rich Text Formatting in a text box. I should be a managed component using the 2.0 runtime. If the output text is HTML, it will be even better. Any suggestions are more than welcome. Thanks!
-- Lizet Pena de Sola http://lizet.theniceweb.com
|
| | 2 answer | Add comment |
|
| James Colwill is out of the office. James Colwill 12:01:01 |
| | I will be out of the office starting 06/20/2007 and will not return until 06/25/2007.
I will respond to your message when I return.
=================================== This list is hosted by DevelopMentor http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|
| | 2 answer | Add comment |
|