Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASPExec...Error creating process Access is denied...

Status
Not open for further replies.

Elliott3

Programmer
Sep 5, 2002
347
CA
Hi...
I am trying to get this component to work on our new 2003 server with absolutely no luck. I have added the iusr_ account but still nothing....

Keep getting this error:
Error creating process Access is denied

maybe I do not have the permissions set on the correct area... any suggestions would be greatly appreciated as I am at a loss here..

CES
 
what is this object trying to do ?

[thumbsup2]DreX
aKa - Robert
 
It is Server.CreateObject("ASPExec.Execute")... It appears as though I have figured out the problem... but thanks. I added the IUSR_ account to the dll that I registered for that object... what a pain this was!!

CES
 
I've tried setting the IUSR account to the registered ASPEXEC.dll, but that did not make it work.

I also set the IUSR account to the folder and subfolders of the BAT file. Does anyone have any suggestions.

This is in WINDOWS 2003 server

Dim objExecutor
Dim sResult

Set objExecutor = Server.CreateObject("ASPExec.Execute")
objExecutor.Application = "cmd.exe"
objExecutor.Parameters = "/c c:\bat\test.bat"
objExecutor.ShowWindow = False

sResult = objExecutor.ExecuteWinApp
Response.Write "Result: " & sResult & "<p>"
%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top