Free Capitalist Network - Community Archive
Mises Community Archive
An online community for fans of Austrian economics and libertarianism, featuring forums, user blogs, and more.

Changing avatar throws exception

rated by 0 users
This post has 4 Replies | 1 Follower

Not Ranked
Posts 47
Points 1,450
fourthand1 Posted: Thu, Aug 12 2010 10:10 AM

Server Error in '/Community' Application.

Access to the path '4TFGAAS1GV3O.jpg' 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 '4TFGAAS1GV3O.jpg' 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 '4TFGAAS1GV3O.jpg' is denied.]
   System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive) +5011593
   System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive) +294
   CommunityServer.Components.FileSystemFileStorageProvider.Delete(String path) +388
   CommunityServer.Avatars.UpdateAvatar(Int32 userID, Stream postedFile) +142
   CommunityServer.Controls.EditUserAvatarForm.UploadAvatarButton_Click(Object sender, EventArgs e) +286
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3691


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Using Mozilla Firefox and WindowsXP. Maybe send this along to the SysAdmin

Live free or die
  • | Post Points: 20
Top 25 Contributor
Posts 2,959
Points 55,095
Spideynw replied on Thu, Aug 12 2010 2:05 PM

I have the same problem.  It is why I don't have an avatar anymore.  I tried deleting it to see if that would help.  NOPE!

At most, I think only 5% of the adult population would need to stop cooperating to have real change.

  • | Post Points: 20
Top 500 Contributor
Posts 331
Points 9,905
David V replied on Fri, Aug 13 2010 10:07 AM

Try now please.

  • | Post Points: 35
Top 75 Contributor
Posts 1,189
Points 22,990

This happened to me too, but only when I uploaded it, so I just used a link.

Freedom has always been the only route to progress.

Post Neo-Left Libertarian Manifesto (PNL lib)
  • | Post Points: 5
Not Ranked
Posts 47
Points 1,450
fourthand1 replied on Fri, Aug 13 2010 10:59 AM

Works now. Thanks a lot!

Live free or die
  • | Post Points: 5
Page 1 of 1 (5 items) | RSS