The temp directory in chart handler configuration is not accessible [e:\inetpub\vhosts\dcom3g.org\httpdocs\].

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
I met a lot of this error, can anyone help me?

Thank you.

Server Error in '/' Application.
The temp directory in chart handler configuration is not accessible [e:\inetpub\vhosts\dcom3g.org\httpdocs\].

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: The temp directory in chart handler configuration is not accessible [e:\inetpub\vhosts\dcom3g.org\httpdocs\].

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:

Line 8:      <div class="title">
Line 9:          <img src="Common/ico-sales.png" alt="<%=GetLocaleResourceString("Admin.SalesReport.Title")%>" />
Line 10:         <%=GetLocaleResourceString("Admin.SalesReport.Title")%>

Line 11:     </div>
Line 12:     <div class="options">


Source File: e:\inetpub\vhosts\dcom3g.org\httpdocs\Administration\Modules\SalesReport.ascx    Line: 10
13 years ago
Hi, if your problem really is permission, some hosts allow you setup this directly in ftp using a program like filezilla, right click to folder and set "write permission" if available. I already solve problems to upload files with this procedure, give it a try. Other way is contacting directly the host admin.
13 years ago
hi, read this and see if it helps

https://www.nopcommerce.com/boards/t/6425/salescustomer-report-throwing-error-on-hosted-server.aspx
13 years ago
I did find a resolution by:

<system.web>
                <identity impersonate="true" user name="xxx" password="yyy"/>
</system.web>
12 years ago
Modify web.config:

  <appSettings>
    <add key="ChartImageHandler" value="Storage=file;Timeout=20;Url=~/files/ExportImport/;" />
    <add key="UseSSL" value="false" />
    <add key="SharedSSLUrl" value="" />
    <add key="NonSharedSSLUrl" value="" />
    <add key="GoogleMerchantID" value="" />
    <add key="GoogleMerchantKey" value="" />
    <add key="GoogleEnvironment" value="Sandbox" />
    <add key="GoogleAuthenticateCallback" value="True" />
    <add key="FCKeditor:BasePath" value="~/editors/fckeditor/" />
    <add key="FCKeditor:UserFilesPath" value="~/images/" />
    <add key="dependencyResolverTypeName" value="NopSolutions.NopCommerce.BusinessLogic.Infrastructure.UnityDependencyResolver, Nop.BusinessLogic" />
  </appSettings>

Then give write permission to ExportImport folder (If you haven't done before)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.