|
 |
VB.NET General 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 .
|
 |
|
|
 |

March 1st, 2004, 04:41 PM
|
Authorized User
|
|
Join Date: Dec 2003
Location: , , USA.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

March 1st, 2004, 05:03 PM
|
 |
Friend of Wrox
Points: 16,481, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
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.
|

March 1st, 2004, 05:10 PM
|
Authorized User
|
|
Join Date: Dec 2003
Location: , , USA.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

March 1st, 2004, 06:00 PM
|
 |
Friend of Wrox
Points: 16,481, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
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.
|

September 23rd, 2010, 01:12 AM
|
Registered User
|
|
Join Date: Sep 2010
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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.
|

September 23rd, 2010, 02:27 AM
|
 |
Wrox Author
Points: 71,804, Level: 100 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,050
Thanks: 80
Thanked 1,581 Times in 1,558 Posts
|
|
Last edited by Imar; September 23rd, 2010 at 06:04 AM.
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |