Switch Lights

The lights are on

What's Happening

Site Feedback

Please bear with us as we have launched in beta so you may notice a bug or two. The best thing you can do is let us know right here in the Site Feedback Forum. Have a question or comment regarding the new site? This is your place.

Editing avatar image not working

  • rated by 0 users
  • This post has 1 Reply |
  • 1 Follower
  • When I try and upload an image for my avatar photo, I get the following error:




    Access to the path 'something.png' is denied.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.UnauthorizedAccessException: Access to the path '4TNPZCT9V74U.png' 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. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. 

    To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [UnauthorizedAccessException: Access to the path '4TNPZCT9V74U.png' is denied.]
       System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive) +869
       System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive) +278
       CommunityServer.Components.FileSystemFileStorageProvider.Delete(String path) +388
       CommunityServer.Avatars.DeleteAvatar(Int32 userID) +381
       CommunityServer.Avatars.UpdateAvatar(Int32 userID, Stream postedFile) +96
       CommunityServer.Controls.EditUserAvatarForm.(Object sender, EventArgs e) +231
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +159
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3482
  • This is the same error I have been getting.  I see no one has addressed this unfortunately.


    Check out my game environment website!  Made some pretty stuff for games!



Page 1 of 1 (2 items)