473,394 Members | 2,031 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,394 software developers and data experts.

problem while executing exe from web app

HI

I am calling exe (vb.net application) from web application for this i wrote

code like this

system.diagnosis.process.start("e:\...")

i wrote above code in button click event.

inorder to work this application i made few changes

1. in machine.cinfig file, in <Process Model> entitity i changed on of the

attribute username to "SYSTEM" from machine

2. Administrative tools/services/IIS Admin Services
double click the admin service then in LOgon tab i've checked "Allow Sevices
TO access Desktop"

then stop the service and then start the service.

after making these 2 changes then my application is working.
i've tested this application in windows 2000 professional and it is working

but when am testing the same application windows Server 2003 it is not
executing the exe though i made the 2 chages i said above.

Please Can anubody tell me how to sove this problem.
This is very urgent for me.
Thanx in advance

Kiran

Nov 22 '05 #1
1 2125
HI,

I am facing the same problem.
My web service works fine on XP but when I run the same web service in
windows server 2003 it throws an error System. UnauthorizedAccess exception.

Does windows server 2003 require some special permissions to be set in order
to run the ASP.NET.
Please let me know if you get any workaound for this.
Thanks

"Yoshitha" wrote:
HI

I am calling exe (vb.net application) from web application for this i wrote

code like this

system.diagnosis.process.start("e:\...")

i wrote above code in button click event.

inorder to work this application i made few changes

1. in machine.cinfig file, in <Process Model> entitity i changed on of the

attribute username to "SYSTEM" from machine

2. Administrative tools/services/IIS Admin Services
double click the admin service then in LOgon tab i've checked "Allow Sevices
TO access Desktop"

then stop the service and then start the service.

after making these 2 changes then my application is working.
i've tested this application in windows 2000 professional and it is working

but when am testing the same application windows Server 2003 it is not
executing the exe though i made the 2 chages i said above.

Please Can anubody tell me how to sove this problem.
This is very urgent for me.
Thanx in advance

Kiran

Nov 22 '05 #2

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

Similar topics

3
by: Kulnor | last post by:
My hosting company upgraded yesterday to pHp 4.3.10. Since then, all my INSERT/UPDATE/DELET query on our MS-SQL database seem to fail. No specific error message is returned by...
0
by: burn_hall | last post by:
Hi, I have a problem and can't figure it out and need your help, please look at the following code and the output also a xml file snippet is down there too. Looking at the output I don't know why...
0
by: Srini | last post by:
I am implementing Front Controller in ASP.net as outlined in Microsoft documentation titled "Implementing Front Controller in ASP.NET Using HTTPHandler"...
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
2
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself...
7
by: David R. | last post by:
Hello all, I would like to generate a Sql-Script-File and a Batch-File to execute the Batch-File over C#-Code and use the SQL-File as an Input-File for the command "osql" in the Batch-File. I...
102
by: hug | last post by:
www.webmaster, was suggested that this ng could be a better place.] I've updated my test server to handle if-modified-since. I've noticed that the (old copies I run of) IE and Netscape seem...
8
by: Daz | last post by:
Hi everyone. I was faced with the choice of whether my problem is indeed a PHP problem or a MySQL. I have decided it's a PHP problem as I don't experience the same problem when I execute the...
6
by: sjledet | last post by:
I'm trying to figure out what I have wrong in the following code. It's located at http://www.ledet.com/locations/location.aspx If I call this page with...
4
by: raghuvendra | last post by:
Hi I have a jsp page with 4 columns: namely Category name , Category order, Input field and a submit button. All these are aligned in a row. And Each Category Name has its corresponding Category...
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.