Help need on POST and GET errors V1.8

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Can anybody help with a POST and also GET errors when I try running reports from V1.8 of nopCommerce?

The site is hosted on Arvixe with ASP.NET 4.0 enabled, ful trust.  The following error was produced when I ran a Sales Report but I also receive a similar GET error when trying to run a customer report.

Any ideas please??

Thanks

Jonathan

Server Error in '/' Application.
--------------------------------------------------------------------------------

No http handler was found for request type 'POST'
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.Web.HttpException: No http handler was found for request type 'POST'

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:


[HttpException (0x80004005): No http handler was found for request type 'POST']
   System.Web.HttpApplication.MapIntegratedHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig, Boolean convertNativeStaticFileModule) +849
   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +454

[HttpException (0x80004005): Error executing child request for ChartImg.axd.]
   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +807
   System.Web.UI.DataVisualization.Charting.ChartHttpHandler.EnsureInitialized(Boolean hardCheck) +250
   System.Web.UI.DataVisualization.Charting.Chart.GetImageStorageMode() +24
   System.Web.UI.DataVisualization.Charting.Chart.get_CurrentImageLocation() +40
   System.Web.UI.DataVisualization.Charting.Chart.Render(HtmlTextWriter writer) +306
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   ASP.administration_modules_salesreport_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) +767
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   ASP.administration_main_master.__Renderform1(HtmlTextWriter __w, Control parameterContainer) +708
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +173
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
13 years ago
I found an article that may help you:

http://forums.asp.net/t/1401091.aspx
13 years ago
Thanks deccks, my coding skills aren't great so I was just wondering if anybody else in the community had had the same error and if it was a nopCommerce thing or to do with the server I am hosting on.  

Arvixe have had a quick look at the settings on the server and can't see anything obviously wrong.

Jonathan
13 years ago
I am getting these errors too ... did you  manage to fix this issue?
13 years ago
No sorry, still have the problem
13 years ago
I too get these errors when running the Sales Report and the Customer Report ... all other aspects of the site are running fine and this has only reared its head after upgrading to 1.8
13 years ago
Yes that is exactly the same for me, so presume it is a nopCommerce problem
13 years ago
jkiernan wrote:
Yes that is exactly the same for me, so presume it is a nopCommerce problem


I think it might be something to do with handler mappings in IIS7 but I don't have enough experience with handler mappings to narrow this down.  Would appreciate if someone could look into this or post a working handler mappings sections from the config file and also how the handlers are set up in IIS
13 years ago
Have tried running it in debug mode and get this error as below.  Seems to be something to do with local resources but I have no idea how to fix it.  Any developers out there that can can help?

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.Web.HttpException: No http handler was found for request type 'POST'

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: c:\HostingSpaces\rwebs\stylishradiators.com\wwwroot\Administration\Modules\SalesReport.ascx    Line: 10

Stack Trace:


[HttpException (0x80004005): No http handler was found for request type 'POST']
   System.Web.HttpApplication.MapIntegratedHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig, Boolean convertNativeStaticFileModule) +849
   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +454

[HttpException (0x80004005): Error executing child request for ChartImg.axd.]
   System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm) +807
   System.Web.UI.DataVisualization.Charting.ChartHttpHandler.EnsureInitialized(Boolean hardCheck) +250
   System.Web.UI.DataVisualization.Charting.Chart.GetImageStorageMode() +24
   System.Web.UI.DataVisualization.Charting.Chart.get_CurrentImageLocation() +40
   System.Web.UI.DataVisualization.Charting.Chart.Render(HtmlTextWriter writer) +306
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   ASP.administration_modules_salesreport_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\HostingSpaces\rwebs\stylishradiators.com\wwwroot\Administration\Modules\SalesReport.ascx:10
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   ASP.administration_main_master.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in c:\HostingSpaces\rwebs\stylishradiators.com\wwwroot\Administration\main.master:50
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +109
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +173
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060
13 years ago
very possibly a permission error - the chart control temorarily writes the chart image to the root directory by default

try granting NETWORK SERVICE write permissions to the  application root


find out how I know this https://www.nopcommerce.com/boards/t/6425/salescustomer-report-throwing-error-on-hosted-server.aspx
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.