Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2005

Tip: Looking for answers? Try searching our database.

Help - Run process through Web service without ASPNET user

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Aviad C - 23 Oct 2005 12:03 GMT
Hello
I created a web service that runs a new process whice is a vbscript.
It all works well, i can see the wscript.exe running in the Task
Manager under the user ASPNET but nothing happened.
I did a little test, wrote a vbs that creats a folder but still nothing

happened. it runs in the background doing nothing. no error, no
exception.
I changed the Web.config to use impersonate="true". after that even
added the local Administrator to the userName of the impersonation but
still nothing.
I searched the web for 2 days, saw a lot of people had this problam but

no one had a solution.

The code is very simple:
Process pRun = new Process();
pRun.StartInfo.FileName = "c:/RunCommand.vbs";
pRunCmd.Start();

can anyone help?
Thanks
S.M. Altaf [MVP] - 23 Oct 2005 21:41 GMT
Hi,

Have you seen this KB article as well?
http://support.microsoft.com/default.aspx?scid=kb;en-us;555134

-Altaf

--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
 Hello
 I created a web service that runs a new process whice is a vbscript.
 It all works well, i can see the wscript.exe running in the Task
 Manager under the user ASPNET but nothing happened.
 I did a little test, wrote a vbs that creats a folder but still nothing

 happened. it runs in the background doing nothing. no error, no
 exception.
 I changed the Web.config to use impersonate="true". after that even
 added the local Administrator to the userName of the impersonation but
 still nothing.
 I searched the web for 2 days, saw a lot of people had this problam but

 no one had a solution.

 The code is very simple:
 Process pRun = new Process();
 pRun.StartInfo.FileName = "c:/RunCommand.vbs";
 pRunCmd.Start();

 can anyone help?
 Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.