Hi all,
I've got an issue with a script that uses the WScript.Shell. The problem is that I keep getting a permission denied error.
I've set permissions on the folder, the file, and even "wscript.exe" file itself in the Windows\System32 folder to
"everyone" with full permissions with the same results.
I'm a bit baffled as to why I would still have a permissions issue.
The script is running on IIS 6.0 on Windows 2003 Server Enterprise - it is set up as a domain controller, so the IWAM account was given full permissions as well.
<%
Set oShell = Server.CreateObject("WScri
pt.Shell")
RetCode = oShell.Run("C:\test\test.b
at", 1, True)
%>
it crashes on the second line with " permission denied Microsoft VBScript runtime error '800a0046' "
What other permissions are there to set up?
I've done this in the past on IIS5 and earlier and all I had to do was set up the IUSR account with read & execute.
With full permissions set to "Everyone" this should work (unless I'm missing some other setting besides the files, the folders, the objects and the website).
Any ideas?
Start Free Trial