Permission denied

P

private.anders

Really need your assistance since I have been struggling with a
problem long time now.

I am running a web application on a Win 2003 Std (Active Directory).
Everything works fine. I have installed same application on another
server Win 2003 R2 Std (No Active Directory). On that server I get
“Permission denied” using the following code (used to zip folder
content).

set WshShell = server.createobject("wscript.shell")
strZipIt = "wzzip -a " & ZIPFILE_PATH & " " & FOLDER_TO_ZIP & "\*.*"
WshShell.run strZipIt, 0, true

If I run web application under Administrator account it works fine. I
have also tried to change from Winzip command to run a simple bat-
file. Still permission denied.

I have added read & execution rights to for instance IUSR_Machine,
IWAM_Machine on cmd.exe, wscript.exe, cscript.exe. Still permission
denied.

Running Process Monitor I will find a lot of Access Denied results
especially on registry (RegCreateKey, RegOpenKey).

Some lines from Process Monitor:
85635 14:57:58,2925146 w3wp.exe 6132 RegOpenKey HKLM\System
\CurrentControlSet\Services\W3SVC\Parameters ACCESS DENIED
91600 14:57:58,6138074 w3wp.exe 6132 RegOpenKey HKLM\Software\ODBC
\ODBC.INI ACCESS DENIED
92460 14:57:58,6294938 w3wp.exe 6132 RegOpenKey HKLM\SOFTWARE\Microsoft
\MSSQLServer\Client\SuperSocketNetLib\LastConnect ACCESS DENIED
92564 14:57:58,6354152 w3wp.exe 6132 RegCreateKey HKLM\SOFTWARE
\Microsoft\MSSQLServer\Client\SuperSocketNetLib\LastConnect ACCESS
DENIED
92575 14:57:58,6355547 w3wp.exe 6132 RegCreateKey HKLM\SOFTWARE
\Microsoft\MSSQLServer\Client\SuperSocketNetLib\LastConnect ACCESS
DENIED
92629 14:57:58,6381242 w3wp.exe 6132 CreateFile C:\WINDOWS\Debug
\UserMode\ChkAcc.log ACCESS DENIED Desired Access: Read Attributes,
Delete, Synchronize, Disposition: Open, Options: Synchronous IO Non-
Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write,
Delete, AllocationSize: n/a, Impersonating: WEBFRONT1\IUSR_WEBFRONT1
92636 14:57:58,6383124 w3wp.exe 6132 CreateFile C:\WINDOWS\Debug
\UserMode\ChkAcc.log ACCESS DENIED Desired Access: Generic Write, Read
Attributes, Disposition: OverwriteIf, Options: Synchronous IO Non-
Alert, Non-Directory File, Attributes: n/a, ShareMode: Read,
AllocationSize: 0, Impersonating: WEBFRONT1\IUSR_WEBFRONT1
93350 14:57:58,6852424 w3wp.exe 6132 RegCreateKey HKLM\Software
\Description\Microsoft\Rpc\UuidTemporaryData ACCESS DENIED
93359 14:57:58,6853466 w3wp.exe 6132 RegCreateKey HKLM\SOFTWARE
\Description\Microsoft\Rpc\UuidTemporaryData ACCESS DENIED
94030 14:57:58,7121528 w3wp.exe 6132 RegCreateKey HKU\S-1-5-20\SOFTWARE
\Microsoft\Windows\CurrentVersion\Internet Settings ACCESS DENIED
94031 14:57:58,7121755 w3wp.exe 6132 RegCreateKey HKU
\S-1-5-20\SOFTWARE ACCESS DENIED
94214 14:57:58,7202279 w3wp.exe 6132 RegOpenKey HKU\S-1-5-20\Software
\Microsoft\Windows\CurrentVersion\Explorer ACCESS DENIED
94229 14:57:58,7213894 w3wp.exe 6132 RegOpenKey HKU\S-1-5-20\Software
\Microsoft\Windows\CurrentVersion\Policies\Explorer ACCESS DENIED
94234 14:57:58,7214526 w3wp.exe 6132 RegOpenKey HKU\S-1-5-20\Software
\Microsoft\Windows\CurrentVersion\Policies\Explorer ACCESS DENIED

Would be grateful if you could give me a hint how to solve this
problem.

- Anders
 
B

Bob Barrows [MVP]

Would be grateful if you could give me a hint how to solve this
problem.
Would really be grateful if you would stop hitting that Send button ...
;-)
 
P

private.anders

Would really be grateful if you would stop hitting that Send button ...
;-)

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Oops, I am sorry :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,930
Messages
2,570,072
Members
46,521
Latest member
JamieCooch

Latest Threads

Top