Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Permission denied

Reply
Thread Tools

Permission denied

 
 
private.anders@gmail.com
Guest
Posts: n/a
 
      04-25-2008
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\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.

- Anders
 
Reply With Quote
 
 
 
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      04-25-2008
http://www.velocityreviews.com/forums/(E-Mail Removed) wrote:
>
> 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 ...


--
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.


 
Reply With Quote
 
 
 
 
private.anders@gmail.com
Guest
Posts: n/a
 
      04-25-2008
On 25 Apr, 16:50, "Bob Barrows [MVP]" <(E-Mail Removed)>
wrote:
> (E-Mail Removed) wrote:
>
> > 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 ...
>
>
> --
> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixed: The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {555F3418-D99E-4E51-800A-6E89CFD8B1D7} to the user NT AUTHORITY\LOCAL SERVICE SID (S-1-5-19). Skybuck Flying Windows 64bit 1 06-29-2009 06:17 PM
Workgroup Permission Denied (Usually) Bob Ryan Wireless Networking 2 09-28-2007 09:46 PM
bash: ./firefox-installer: /bin/sh: bad interpreter: Permission denied damon Firefox 7 08-29-2007 08:50 PM
Can't do setuid and file permission denied Chris Perl 1 10-28-2003 03:34 PM
bash: /root/remstats.pl: /usr/bin/perl: bad interpreter: Permission denied Goblin Perl 1 08-14-2003 11:11 AM



Advertisments