473,390 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,390 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

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

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
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
92575 14:57:58,6355547 w3wp.exe 6132 RegCreateKey HKLM\SOFTWARE
\Microsoft\MSSQLServer\Client\SuperSocketNetLib\La stConnect ACCESS
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
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

Jun 27 '08 #1
0 3374

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Yitzhak | last post by:
I am having "Permission denied" error while calling LogEvent method of WScript.Shell component. Basically, ASP page calls Windows Script Host Shell component to log events to the OS Application...
by: Benny | last post by:
Dear All, My ASP-MS Access application works fin in our local server and in our hosting I get this errors, while adding/editing or deleteing. When deleting a product: error Microsoft VBScript...
by: Mark E. Hamilton | last post by:
Sorry, I probably should have re-stated the problem: We're using Python 2.3.5 on AIX 5.2, and get the follow error messages from some of our code. I haven't yet tracked down exactly where it's...
by: Taishi | last post by:
New user of SQL Everything is on the same machine My error is close to the bottom After reading it today, I can see there is a problem with 2 dbases 'PUBS' and 'Master' There are also some...
by: stephen | last post by:
Hi, I am getting an error while trying to create an excel file. "Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the...
by: doctorhardik | last post by:
other interesting thing i observe during my work which i describe below: i am using dotproject2.0.4 on fc3. it is working fine. but i want to generate pdf file report during this time i face...
by: debug03 | last post by:
I am executing a DTS package on a Windows 2000 sp4 server running SQL Server 2000 and IBM DB2 V7 client. The DTS package source data(SQL Server) is selected from SQL server table and inserts data to...
by: private.anders | last post by:
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...
by: xzzy | last post by:
I have a v1.1 web app that works on my local computer. However, running it at the host computer, the following breaks: when a viewer selects a different country, the State dropdown should...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.