system.unauthorizedaccessexception

Discussion in 'ASP.NET / ASP.NET Core' started by marlatim, Jul 29, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I am getting the following error when trying to programmatically write to an xml file from my application and save it.

    system.unauthorizedaccessexception

    Does anyone know how to get around this? I thought at one time I made a change to config file to fix this problem but now I can't seem to remember what I did.

    Thanks

    Tim
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    can't really tell what's going with what you given. can you post the complete error message?


    I am suspecting that either your application istrying to write to a location outside of your website root or the permission is set incorrectly.





    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page