我正在为我的 asp.net 项目框架 4.0 使用水晶报表 13。当我在本地运行应用程序时,报告会完美运行。但是通过互联网访问,它给出了以下错误:
Server Error in /Reports Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Reports/ReportViewer.aspx
Version Information: Microsoft .NET Framework Version:2.0.50727.4927 ASP.NET Version:2.0.50727.4927
但我使用的是框架 4。但在上述错误中,它显示的是 .net framework2。除报告外,所有其他表格都在工作。IIS 中是否需要进行任何更改?我正在使用版本 IIS7.5 通过 IIS 浏览也出现此错误。谁能告诉我如何解决?
<httpHandlers><add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers></system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<handlers>
<add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx"
type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=13.0.2000.0,Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/>
</handlers>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>