Author: mausimo | Posted on: 10/30/2009 12:19:30 PM | Views : 861

I have developed a website that has a content management system. In order to access the content management system, a user logs into the back end. This is done using the built in asp.net membership database (add user wizard and login control). I can log in fine, however when i try to upload a file to the website (on a live file server) this is the exception i get (not sure how to debug a live website on a server so i catch the exception) :
System.UnauthorizedAccessException: Access to the path 'c:\inetpub\wwwroot\mywebsite.com\MikesTestWebsite\upfiles\CurrentNugget.pdf' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStr ...

Go to the complete details ...