Webresources.axd not found
Posted: Wed Jul 13, 2016 9:31 am
Hello.
I am using Orchard cms with .Net Framework 4.5, Stimulsoft version is 2016.1.0.0, Windows 10 x64, VS 2015. When I try to use the StiMvcDesignerFx I get the NetworkError: 404 Not Found - http://localhost/WebResource.axd?d=iOtY....
This error displayed on the page:
To view this page ensure that Adobe Flash Player 11.1 or greater is installed.
But I checked version of Flash and it is 22.0.0.209 installed. I checked in multiple browsers (Firefox, Chrome, IE).
My code on view looks like:
My action in controller:
In my web.config file defined section
In the same time if I use StiMvcViewerFx report is displayed correctly.
I also tried to create simple MVC application and both StiMvcViewerFx and StiMvcDesignerFx work well.
Could you please help me, what I am doing wrong?
I am using Orchard cms with .Net Framework 4.5, Stimulsoft version is 2016.1.0.0, Windows 10 x64, VS 2015. When I try to use the StiMvcDesignerFx I get the NetworkError: 404 Not Found - http://localhost/WebResource.axd?d=iOtY....
This error displayed on the page:
To view this page ensure that Adobe Flash Player 11.1 or greater is installed.
But I checked version of Flash and it is 22.0.0.209 installed. I checked in multiple browsers (Firefox, Chrome, IE).
My code on view looks like:
Code: Select all
@Html.Stimulsoft().StiMvcDesignerFx(new StiMvcDesignerFxOptions()
{
Actions =
{
GetReportTemplate = "GetReportTemplate"
},
})
Code: Select all
public ActionResult GetReportTemplate()
{
StiReport report = new StiReport();
report.Load(Server.MapPath("~/Content/1.mrt"));
return StiMvcDesignerFx.GetReportTemplateResult(report);
}
Code: Select all
<system.webServer>
<handlers>
<add name="WebResource" path="WebResource.axd" verb="*" type="System.Web.Handlers.AssemblyResourceLoader, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" resourceType="File" preCondition="integratedMode" />
</handlers>
<system.webServer>
I also tried to create simple MVC application and both StiMvcViewerFx and StiMvcDesignerFx work well.
Could you please help me, what I am doing wrong?