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

Posted: March 06, 2011 at 11:06 AM Quote #36473
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
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 08, 2011 at 8:38 AM Quote #36551
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.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 10, 2011 at 1:31 PM Quote #36686
hi, read this and see if it helps

http://www.nopcommerce.com/boards/t/6425/salescustomer-report-throwing-error-on-hosted-server.aspx
This post/answer is useful
2
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 10, 2011 at 9:31 PM Quote #36750
I did find a resolution by:

<system.web>
                <identity impersonate="true" user name="xxx" password="yyy"/>
</system.web>
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: November 22, 2011 at 9:55 AM Quote #55437
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 post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
nopCommerce on facebook