Problem in calling a dotnet exe from VB 6.0 exe
-
I have made a desktop based SMS system in C# Dotnet 2.0 and integrate it with an old enterprise solution build in VB6.0. On Runtime, the Vb6.0 exe is running from local machine and after loading it reads the system registry and extract a remote path to call all the other dll's from a remote location. The benefit is that all the executables is resides on a single remote location and you just have to distribute an exe to all the clients and set the value of remote path in their registry. A simple 3 tier architecture Where you have a client which is a vb6.0 exe say client.exe and an application server which holds the middle tier or all the executables and a database server. The location of the database server, password to connect, userid's and location of the application server is saved in Registry through a utility. This means that all the exe's and dll's are loaded from a remote location which is a shared resource in a network. Now my problem is that. When my sms exe say sms1000.exe written in c# dotnet 2.0 is called by this client.exe it gives this error in application log and not running. Faulting application sms1000.exe, version 1.0.0.0, stamp 468dbd07, faulting module kernel32.dll, version 5.2.3790.3959, stamp 45d70ad8, debug? 0, fault address 0x0000bee7. I must include here that all of my executables and dll's are strong name assemblies and sice it's loaded from a network location I've changed the intranet group to a Fulltrust through this command CasPol.exe -chggroup 1.2 FullTrust I've tested it on Windows 2000, Windows XP and Windows 2003 machines and it's running fine. However currently I'm deploying this application from a remote desktop to client located outside my country. On some of their machines running windows 2003 it's running fine However it's not running fine on a few of them which runs windows 2003 as well giving this error in System Application Log. Faulting application sms1000.exe, version 1.0.0.0, stamp 468dbd07, faulting module kernel32.dll, version 5.2.3790.3959, stamp 45d70ad8, debug? 0, fault address 0x0000bee7. Source of event says: .Net 2.0 Runtime error. Any one has any resolution?