Steve Presley's views on mobile/wireless, .NET programming, Music and Saltwater fish

Graffiti error when trying to log in..

If you're getting this error, it's because your ASPNET (or equalivent application pool account) likely doesn't have Full Control from the root of your website on your Webhost.  This happened to me on Dotster.  Your home page will display, but if you try to login, you get this nastygram:

Server Error in '/' Application.

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

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 is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

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) 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:

Line 105:    {
Line 106:        // user's version
Line 107:        string oldVersion = 
       Assembly.LoadFile(Server.MapPath(ResolveUrl("~/bin/Graffiti.Core.dll"))).GetName().Version.ToString(); 
Line 108: version.Text = SiteSettings.Version; Line 109: oldVersion = oldVersion.Replace(".", "");

» Similar Posts

  1. Thinking about a new phone..
  2. [Wisbar] - Creating notification icons/meters
  3. Community Server transition in the works..

» Trackbacks & Pingbacks

    No trackbacks yet.
Trackback link for this post:
http://dsaxman.com/trackback.ashx?id=373

» Comments

    There are no comments. Kick things off by filling out the form below.

» Leave a Comment