473,703 Members | 3,300 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.createob ject("wscript.s hell")
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,292514 6 w3wp.exe 6132 RegOpenKey HKLM\System
\CurrentControl Set\Services\W3 SVC\Parameters ACCESS DENIED
91600 14:57:58,613807 4 w3wp.exe 6132 RegOpenKey HKLM\Software\O DBC
\ODBC.INI ACCESS DENIED
92460 14:57:58,629493 8 w3wp.exe 6132 RegOpenKey HKLM\SOFTWARE\M icrosoft
\MSSQLServer\Cl ient\SuperSocke tNetLib\LastCon nect ACCESS DENIED
92564 14:57:58,635415 2 w3wp.exe 6132 RegCreateKey HKLM\SOFTWARE
\Microsoft\MSSQ LServer\Client\ SuperSocketNetL ib\LastConnect ACCESS
DENIED
92575 14:57:58,635554 7 w3wp.exe 6132 RegCreateKey HKLM\SOFTWARE
\Microsoft\MSSQ LServer\Client\ SuperSocketNetL ib\LastConnect ACCESS
DENIED
92629 14:57:58,638124 2 w3wp.exe 6132 CreateFile C:\WINDOWS\Debu g
\UserMode\ChkAc c.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,638312 4 w3wp.exe 6132 CreateFile C:\WINDOWS\Debu g
\UserMode\ChkAc c.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,685242 4 w3wp.exe 6132 RegCreateKey HKLM\Software
\Description\Mi crosoft\Rpc\Uui dTemporaryData ACCESS DENIED
93359 14:57:58,685346 6 w3wp.exe 6132 RegCreateKey HKLM\SOFTWARE
\Description\Mi crosoft\Rpc\Uui dTemporaryData ACCESS DENIED
94030 14:57:58,712152 8 w3wp.exe 6132 RegCreateKey HKU\S-1-5-20\SOFTWARE
\Microsoft\Wind ows\CurrentVers ion\Internet Settings ACCESS DENIED
94031 14:57:58,712175 5 w3wp.exe 6132 RegCreateKey HKU
\S-1-5-20\SOFTWARE ACCESS DENIED
94214 14:57:58,720227 9 w3wp.exe 6132 RegOpenKey HKU\S-1-5-20\Software
\Microsoft\Wind ows\CurrentVers ion\Explorer ACCESS DENIED
94229 14:57:58,721389 4 w3wp.exe 6132 RegOpenKey HKU\S-1-5-20\Software
\Microsoft\Wind ows\CurrentVers ion\Policies\Ex plorer ACCESS DENIED
94234 14:57:58,721452 6 w3wp.exe 6132 RegOpenKey HKU\S-1-5-20\Software
\Microsoft\Wind ows\CurrentVers ion\Policies\Ex plorer ACCESS DENIED

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

Regards,
Anders
Jun 27 '08 #1
0 3402

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

Similar topics

3
19163
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 Event log. My environment: Windows Server 2003, IIS 6, WSH, Classic ASP, Vbscript Below is the code and the error: Code:
1
2322
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 runtime error '800a0046' Permission denied /webadmin/Products.asp, line 27 When deleting an image from a product: error Microsoft VBScript runtime error '800a0046'
1
4325
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 coming from: sem_trywait: Permission denied sem_wait: Permission denied sem_post: Permission denied
2
3684
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 comments from the group: ---microsoft.public.sqlserver.odbc-- subject: Permission Denied -- Thanks for help guys I was able to find a trial version of the Enterprise Manager.
4
9091
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 required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: Permission denied" This is what I am doing. we had an app that...
1
3564
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 permission denied problem. Warning: fopen(/var/www/html/dotproject/files/temp/temp1.pdf): failed to open stream: Permission denied in /var/www/html/dotproject/modules/projects/reports/tasklogs.php on line 307 Could not open file to save PDF. ...
0
3204
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 the destination table(DB2). I get the following error when the package is executed: The execution of the following DTS Package succeeded: Package Name: PEX2-CopyQualDatatoDB2-UAT Package Description: (null) Package ID:...
0
1219
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 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")
4
2667
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 repopulate with the new country's state/proviences. Running on the host, the dropdown does not repopulate and says 'Permission Denied', I take this to mean that at the host, a viewer does not have permission to put new items in the State dropdown.
0
8759
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8670
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9252
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8966
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6588
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5922
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4433
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2455
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.