473,385 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Running EXE's on ASP 2.0 server

joe
I have the following code in an aspx.cs file:

[snip]
string strLocation;
strLocation = Server.MapPath(".")+"\\test.exe";
System.Diagnostics.Process Proc = new System.Diagnostics.Process();
Proc.StartInfo.FileName = strLocation;
Proc.Start();
[snip]

That should launch TEST.EXE on the server (the server I have is a web hotel with
Windows asp 2.0).

Where does the exe "live"? In the server's memory space or the clients PC?
What if the client is running Linux and not Windows?

What limitations are there to running an EXE on the server?
Apr 20 '06 #1
1 1318
> I have the following code in an aspx.cs file:

[snip]
string strLocation;
strLocation = Server.MapPath(".")+"\\test.exe";
System.Diagnostics.Process Proc = new System.Diagnostics.Process();
Proc.StartInfo.FileName = strLocation;
Proc.Start();
[snip]

That should launch TEST.EXE on the server (the server I have is a web hotel
with Windows asp 2.0).

Where does the exe "live"? In the server's memory space or the clients PC?
What if the client is running Linux and not Windows?

What limitations are there to running an EXE on the server?


Your code-behind lives on the server, so that program is executed
on the server as well. It runs under the account that is used by the
web-application, usually a low-priviledge account and it can't interact
with a desktop.

Hans Kesting
Apr 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jim | last post by:
I've just bought a new Windows Server 2003 and I am trying to move an exiting FrontPage website to this new machine. I can't get ASP pages to run. IIS 6.0 has been installed. From the snap-in,...
3
by: Mrinal Kamboj | last post by:
Hi , I am doing some experimentation , so i created a winform exe , that on load event creates a NotifyIcon object for System Tray Icon . Now if i run that application normally by VS.net or...
10
by: Mandy | last post by:
I have a command line tool that I would like to run from my .NET web application using System.Diagnostics.ProcessStartInfo. I run cmd.exe with this and then pass the command to run the tool as an...
17
by: Csaba Gabor | last post by:
Is there a way to determine the path to the php executable (as opposed to the script. In other words, I am looking for the path to php.exe or php-win.exe) that is currently running (ie. how was...
3
by: GizMo | last post by:
Hi all, I'm wondering if it is possible in C# ( + Reflection ) to do something like this : Assume that a Server.exe ( which is a .Net assembly, let's say WindowsApplication ) is running on th...
3
by: GP | last post by:
Hi, I'm having trouble running a bat file from an ASP page. It works fine on Windows 2003 Std x32 server but fails now we have upgraded to the x64 edition In the ASP we are trying to run the...
4
by: David | last post by:
Is the Development Server part of the .net 2x runtime package or installed with one installs VS 2005? I wish to run a small web app on a machine, with the runtime installed, and need to know if I...
1
by: DR | last post by:
What ports do i need to unblock on client and server (running msvsmon.exe) to debug remotely from my client box with visual studio 2005 pro? When I attach to remote process a connection shows up...
3
by: Xexon | last post by:
Hey Guys and thanks for this community it has helped me quite a bit so far :) However I ran into a problem that I couldn't find described anywhere so I go to you in hope of some help. I have a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.