I was attempting to duplicate a section from a production server. Modifying the nfig is what started all my grief. > System.PlatformNotSupportedException: This operation is only supported on Windows 2000 SP3 or later operating systems.Īt .ctor(WellKnownSidType sidType, SecurityIdentifier domainSid)Īt (String mutexName, Mutex& mutex)Īt (String counterName, String instanceName, Boolean enableReuse, PerformanceCounterInstanceLifetime lifetime)Īt (String catName, String counterName, String instanceName, P > System.TypeInitializationException: The type initializer for '' threw an exception. System.TypeInitializationException: The type initializer for '' threw an exception. The exception.ToString() returns the following: SqlConnection cn = new SqlConnection ("Data Source=serverName Initial Catalog=S2 uid=userID pwd=password " ) But when I create an EXE and run from that, the exception is thrown on this line of code in the DLL: When I run the app from the VB6 IDE, everything works fine. NET DLL with COM interop that we call from a VB6 application. I'm getting the same error message but in a different scenario.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |