P
Patrice FRITSCH
I'm trying to run a batch file from an asp page using WScript.Shell object.
Dim oWSH
set oWSH= Server.CreateObject("WScript.Shell")
call oWSH.Run("cmd.exe /c " & szCmd , 0, true)
szCmd contains the program to execute (fop.bat with several parameters).
But I'm getting the following error message :
Microsoft VBScript runtime error '800a0046'
Permission denied
The IUSR_xxxx has full control access to the directory containing the asp
page.
Works fine on a Windows 2000 Server but not on an 2003 server.
Dim oWSH
set oWSH= Server.CreateObject("WScript.Shell")
call oWSH.Run("cmd.exe /c " & szCmd , 0, true)
szCmd contains the program to execute (fop.bat with several parameters).
But I'm getting the following error message :
Microsoft VBScript runtime error '800a0046'
Permission denied
The IUSR_xxxx has full control access to the directory containing the asp
page.
Works fine on a Windows 2000 Server but not on an 2003 server.