p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   VB.NET (http://p2p.wrox.com/forumdisplay.php?f=83)
-   -   Running VB.net EXE file on the server (http://p2p.wrox.com/showthread.php?t=9941)

AyatKh March 1st, 2004 04:41 PM

Running VB.net EXE file on the server
 
Hi,
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?

Thanks
Ayat


planoie March 1st, 2004 05:03 PM

If you wrote a .NET application, you're going to need .NET to run it. You don't need to install anything other than the .NET runtime however.

AyatKh March 1st, 2004 05:10 PM

thanks
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.
-Ayat


planoie March 1st, 2004 06:00 PM

The runtime is what makes .NET work. It IS .NET.

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.

Peter
------------------------------------------------------
Work smarter, not harder.

sathis September 23rd, 2010 12:12 AM

attach external software in vb.net
 
hai,
i wnt knw is gt any possibilities to attach a software/exe application running in vb.net?
if gt mean pls tell me hw!!
thanks.

Imar September 23rd, 2010 01:27 AM

Maybe this helps?

http://imar.spaanjaars.com/557/tips-...he-wrox-forums

Imar


All times are GMT -4. The time now is 08:00 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.