VB.NETGeneral VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
I need to run an VB.net EXE application on the Server. the server doesn't have .net installed on it . When I run the application from my local machin , it works fine but I get error when I run it on the server.
Here is the error: "Application has generated an exception that could not be handled."
For Tracing the error I write to a .txt file. I have my first line for Streamwriter.Writeln() after the Main Sub() in the program. it does not even get to that point.
Do you have any solution for that? Is there anything missing for running an EXE file ? Do I need to install .net framework in the server?
Can you tell me about .net runtime? Is that something that I can download and install?
Also, I have a number of Database connection in my application, Do I need something else that is missing? I have the ADODB.dll Also.
If you have been developing with .NET you have already installed the runtime. To get it on the server you can do a windows update and select the runtime as an update option. Or you could go to the microsoft website and download the installer.
Why are you using ADODB? If you wrote a native .NET application you shouldn't be using the old ADODB classes. Once you have the runtime installed on the server, all you should have to do is put the executable (and any supporting assemblies) onto the machine. You can then run the executable.
As long as the database connections are to database servers that are visible by the server running this program, you shouldn't have to change much.
Work smarter, not harder.