472,121 Members | 1,485 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,121 software developers and data experts.

Permission denied - help me please

Hi David!

Really need 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")
strDoZip = WshShell.run "wzzip -a " & ZIPFILE_PATH & " " &
FOLDER_TO_ZIP & "\*.*", 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\La stConnect ACCESS
DENIED
92575 14:57:58,6355547 w3wp.exe 6132 RegCreateKey HKLM\SOFTWARE
\Microsoft\MSSQLServer\Client\SuperSocketNetLib\La stConnect 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\Explore r ACCESS DENIED
94234 14:57:58,7214526 w3wp.exe 6132 RegOpenKey HKU\S-1-5-20\Software
\Microsoft\Windows\CurrentVersion\Policies\Explore r ACCESS DENIED

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

Regards,
Anders
Jun 27 '08 #1
0 3184

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Mark E. Hamilton | last post: by
2 posts views Thread by Taishi | last post: by
reply views Thread by private.anders | last post: by
4 posts views Thread by xzzy | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.