Error logging into admin console

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
spencer321
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 26
Joined: Sat Mar 15, 2008 2:57 pm

Error logging into admin console

Post by spencer321 » Fri Jun 06, 2008 12:46 pm

Periodically I receive the error below when logging into the admin console. I enter my email, password, and captcha and then click to log in and receive the following message on the page. I am on AC7 RC3. If I restart the server I can log in fine. I probably get this error once a day. It's getting annoying so I'm hoping someone can help.

thanks,
Spencer


Server Error in '/' Application.
Access to the path '000e5944-d48e-4382-8833-3337e72dcbc6.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 '000e5944-d48e-4382-8833-3337e72dcbc6.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) 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:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[UnauthorizedAccessException: Access to the path '000e5944-d48e-4382-8833-3337e72dcbc6.Png' is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2014019
System.IO.FileInfo.Delete() +152
WebChart.ChartControl.PerformCleanUp() +395
WebChart.ChartControl.RedrawChart() +140
Admin_Dashboard_PopularProducts.initSalesChart(Boolean forceRefresh) +934
Admin_Dashboard_PopularProducts.Page_PreRender(Object sender, EventArgs e) +61
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnPreRender(EventArgs e) +2069340
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Error logging into admin console

Post by AbleMods » Sun Jun 08, 2008 7:00 am

Looks like a permissions issue on the dashboard reports. I had something similar after my upgrade to RC3.

Try making a sub-folder under ~/Webcharts and moving all the files in the ~/Webcharts folder into that subfolder. That will force all the Dashboard reports to generate new files and permissions will be inherited once again.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply