Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Access Denied when reading directory information on another server

Reply
Thread Tools

Access Denied when reading directory information on another server

 
 
DM
Guest
Posts: n/a
 
      06-24-2004
Hi, I am reading directory information (directory name and size) on
another server. I am impersonating a user account via web.config.
This account has admin rights but I get this: "Exception Details:
System.UnauthorizedAccessException: Access to the path
"\\crwfs1\projects13\HR Test" is denied."

Is there a way to bypass "restricted/protected" directories to
retrieve just the name and size of it.

Thanks for your help!
 
Reply With Quote
 
 
 
 
Ken Schaefer
Guest
Posts: n/a
 
      06-28-2004
You say that the account has "admin rights" - admin rights to the remote
share? Or admin rights locally? The account needs to have appropriate rights
to the remote share (share permissions), and files & folders (NTFS
permissions).

Cheers
Ken


"DM" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) m...
: Hi, I am reading directory information (directory name and size) on
: another server. I am impersonating a user account via web.config.
: This account has admin rights but I get this: "Exception Details:
: System.UnauthorizedAccessException: Access to the path
: "\\crwfs1\projects13\HR Test" is denied."
:
: Is there a way to bypass "restricted/protected" directories to
: retrieve just the name and size of it.
:
: Thanks for your help!


 
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
Very annoying error: Access to the path is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity Jay ASP .Net 2 08-20-2007 07:38 PM
403 Forbidden: You were denied access because: Access denied by access control list Southern Kiwi NZ Computing 6 03-19-2006 05:19 AM
Access denied attempting to launch a DCOM Server. The server is: {000C101C-0000-0000-C000-000000000046} The user is ASPNET/ServerName, SID=S-1-5-21-1606980848-602162358-1801674531-1007. c.verma@gmail.com ASP .Net 0 05-26-2005 08:44 PM
Server cannot access application directory... The directory does not exist or is not accessible because of security settings. ASP .Net Security 1 05-21-2004 03:47 PM
ASP .NET on Win 2003 Standard + Domain Controller with Active Directory : Temporary folder-Access denied Juleke ASP .Net 2 04-12-2004 08:22 AM



Advertisments