RadioActiveLamb
IS-IT--Management
We've developed an application with VB.NET that we can't get to run from a network share/mapped drive. The application runs queries against a SQL 7 server and displays the information in various ways on-screen and in Crystal 9 reports. The full text of the error is at the end of this post. Since the program will be updated FREQUENTLY, and there are many users, we need to run it from a shared EXE from a mapped network drive. Installing updates on a huge number of computers is out of the question. Here are the various scenarios that we've tried, and their outcomes:
Drive C: is the local drive. Drive S: is the mapped network drive.
Ran the installer, and installed to S:. Exception error when running.
Ran the installer, and installed to C:. Runs just fine.
Ran the installer, and installed to C:. Copied the EXE to S: and tried to run from S:. Exception error when running.
The client machine is running Windows 2000 Pro SP4 with .NET framework 1.1. The server is Windows NT Server 4.0 SP6a. Since the server is only acting as a file server in this instance, the framework shouldn’t need to be on the server, but we installed 1.1 anyway. The SQL server is running on a third machine. It is Windows 2000 Server SP4 with SQL 7 SP4. All the machines are running MDAC 2.7.
Here’s the text of the error:
Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0x6cc (1740), Thread id=0x840 (2112).
Click OK to terminate the application
Click CANCEL to debug the application.
We’ve been beating our heads on this for several weeks, and desperately need a solution. Some suggestions have been to use the .NET framework configuration utility to change the security on the application to run from a network share, but we can’t get detailed information on how, or which computer to do this on.
Thank you.
- Jeff Lamb
Drive C: is the local drive. Drive S: is the mapped network drive.
Ran the installer, and installed to S:. Exception error when running.
Ran the installer, and installed to C:. Runs just fine.
Ran the installer, and installed to C:. Copied the EXE to S: and tried to run from S:. Exception error when running.
The client machine is running Windows 2000 Pro SP4 with .NET framework 1.1. The server is Windows NT Server 4.0 SP6a. Since the server is only acting as a file server in this instance, the framework shouldn’t need to be on the server, but we installed 1.1 anyway. The SQL server is running on a third machine. It is Windows 2000 Server SP4 with SQL 7 SP4. All the machines are running MDAC 2.7.
Here’s the text of the error:
Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0x6cc (1740), Thread id=0x840 (2112).
Click OK to terminate the application
Click CANCEL to debug the application.
We’ve been beating our heads on this for several weeks, and desperately need a solution. Some suggestions have been to use the .NET framework configuration utility to change the security on the application to run from a network share, but we can’t get detailed information on how, or which computer to do this on.
Thank you.
- Jeff Lamb