« Previous Next »

Answered Thread: System.UnauthorizedAccessException: Access to the path xxx is denied

Last post 10-12-2009 6:21 AM by Leo Tang - MSFT. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 10-08-2009, 5:21 AM

    System.UnauthorizedAccessException: Access to the path xxx is denied

    I am getitng access to the path is denied when i try to read an image file (located on xxx server on same domain) from yyy server. i am using WCF service hosted on IIS 7 to read the image file.

    1. I am using impernated user to access the image file
    2. given full rights to the impersonated user.
    3. Tried with default user (Networkservice), still no luck.


    any helps greatly appreciated.

    Thanks,
    Naveen

     

  • 10-09-2009, 10:05 PM In reply to

    Answered Re: System.UnauthorizedAccessException: Access to the path xxx is denied

    Hello gbnaveeniis,

    Have you tried using the IIS 7 Failed Request Tracing to locate the issue?

    This may shed some light on the issue.

    If you need assistance in setting up a trace, please refer to the following article:

    http://learn.iis.net/page.aspx/266/troubleshooting-failed-requests-using-tracing-in-iis-70/

    I hope that helps you identify and resolve the issue!

    Shaun Westling
    Technical Support Representative
    www.serverintellect.com

    Managed Servers, 24x7 U.S. Support, Web Hosting Solutions.
  • 10-12-2009, 6:21 AM In reply to

    Re: System.UnauthorizedAccessException: Access to the path xxx is denied

    Hi,

    You can run Process Monitor to troubleshooting this issue. Open Process Monitor and add some filters, then reproduce this issue. The detailed information of the  events of access denied  can help use address the root cause.

    You can get Process monitor from here:
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (3 items)
Microsoft Communities