找回密码
 立即注册

QQ登录

只需一步,快速开始

lunew

初级会员

38

主题

135

帖子

385

积分

初级会员

积分
385
lunew
初级会员   /  发表于:2019-9-27 17:16  /   查看:3165  /  回复:4
vs20105本地运行AR13,安装AR13后再vs工具中转换为ActiveReport13来升级的

升级之后js和css版本也进行过替换,也可以在预览报表时查询出来数据,但是在运行时就会提示NotFound

http://localhost:32927/ActiveReports.ar13?Token=819441c8-893b-4079-9024-150f6fa6fa8a&Generation=1&WebViewerControlClientId=html5viewer&HtmlViewer=true&Page=1&ie=1569575128135

很头疼!!!!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

4 个回复

倒序浏览
lunew
初级会员   /  发表于:2019-9-27 17:31:17
沙发
有人解决一下吗?、、、、、
回复 使用道具 举报
KearneyKang讲师达人认证 悬赏达人认证
超级版主   /  发表于:2019-9-27 17:31:56
板凳
你使用的是MVC的框架吗?如果是,你看看你的路由配置里配置版本是否 正确
然后所有的引用是不是都匹配,建议你把项目中AR的索引表引用都移除,重新添加现在安装的最新版本的AR13的最新的引用版本。
回复 使用道具 举报
lunew
初级会员   /  发表于:2019-9-27 18:07:49
地板
KearneyKang 发表于 2019-9-27 17:31
你使用的是MVC的框架吗?如果是,你看看你的路由配置里配置版本是否 正确
然后所有的引用是不是都匹配,建 ...
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3.   有关如何配置 ASP.NET 应用程序的详细信息,请访问
  4.   http://go.microsoft.com/fwlink/?LinkId=301880
  5.   -->
  6. <configuration>
  7.   <configSections>
  8.     <section name="ActiveReports13" type="GrapeCity.ActiveReports.Web.ActiveReportsSettingsSection" />
  9.   </configSections>
  10.   <appSettings>
  11.     <add key="IsTest" value="true" />
  12.     <add key="SiteHostUrl" value="http://localhost:32927" />
  13.     <add key="owin:AutomaticAppStartup" value="false" />
  14.   </appSettings>
  15.   <!--
  16.     有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。

  17.     可在 <httpRuntime> 标记上设置以下特性。
  18.       <system.Web>
  19.         <httpRuntime targetFramework="6.6" />
  20.       </system.Web>
  21.   -->
  22.   <system.web>
  23.     <compilation debug="true" targetFramework="4.6.2">
  24.       <assemblies>
  25.         <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  26.         <add assembly="GrapeCity.ActiveReports.Chart, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  27.         <add assembly="GrapeCity.ActiveReports.Document, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  28.         <add assembly="GrapeCity.ActiveReports.Export.Html, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  29.         <add assembly="GrapeCity.ActiveReports.Export.Pdf, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  30.         <add assembly="GrapeCity.ActiveReports.Export.Image, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  31.         <add assembly="GrapeCity.ActiveReports, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  32.         <add assembly="GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  33.       </assemblies>
  34.     </compilation>
  35.     <httpRuntime requestPathInvalidCharacters="" targetFramework="4.6.2" maxRequestLength="2097151" executionTimeout="1500" />
  36.     <sessionState timeout="500" />
  37.     <customErrors mode="Off" defaultRedirect="/Home/Index" />
  38.     <httpHandlers>
  39.       <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
  40.       <add verb="*" path="*.ar13" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  41.       <add verb="*" path="*.ar13Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  42.       <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  43.       <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  44.       <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  45.     </httpHandlers>
  46.     <authentication mode="Forms" />
  47.   </system.web>
  48.   <runtime>
  49.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  50.       <dependentAssembly>
  51.         <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  52.         <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
  53.       </dependentAssembly>
  54.       <dependentAssembly>
  55.         <assemblyIdentity name="System.Web.Razor" publicKeyToken="31bf3856ad364e35" />
  56.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  57.       </dependentAssembly>
  58.       <dependentAssembly>
  59.         <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" />
  60.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  61.       </dependentAssembly>
  62.       <dependentAssembly>
  63.         <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  64.         <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  65.       </dependentAssembly>
  66.       <dependentAssembly>
  67.         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  68.         <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  69.       </dependentAssembly>
  70.       <dependentAssembly>
  71.         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  72.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  73.       </dependentAssembly>
  74.       <dependentAssembly>
  75.         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  76.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  77.       </dependentAssembly>
  78.       <dependentAssembly>
  79.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  80.         <bindingRedirect oldVersion="1.0.0.0-5.2.0.0" newVersion="5.2.0.0" />
  81.       </dependentAssembly>
  82.       <dependentAssembly>
  83.         <assemblyIdentity name="DocumentFormat.OpenXml" publicKeyToken="31bf3856ad364e35" />
  84.         <bindingRedirect oldVersion="0.0.0.0-2.5.5631.0" newVersion="2.5.5631.0" />
  85.       </dependentAssembly>
  86.     </assemblyBinding>
  87.   </runtime>
  88.   <system.webServer>
  89.     <security>
  90.       <requestFiltering>
  91.         <requestLimits maxAllowedContentLength="2147483647" />
  92.       </requestFiltering>
  93.     </security>
  94.     <!--<handlers>
  95.       <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  96.       <remove name="OPTIONSVerbHandler" />
  97.       <remove name="TRACEVerbHandler" />
  98.       <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  99.       <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" name="AsmxHandler" resourceType="Unspecified" preCondition="integratedMode" />
  100.       <add verb="*" path="*.ar13" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_ReportBinariesStreamer" resourceType="Unspecified" preCondition="integratedMode" />
  101.       <add verb="*" path="*.ar13Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_WebCacheAccessHandler" resourceType="Unspecified" preCondition="integratedMode" />
  102.       <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_CompiledReportHandler" resourceType="Unspecified" preCondition="integratedMode" />
  103.       <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_RpxHandler" resourceType="Unspecified" preCondition="integratedMode" />
  104.       <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_RdlxHandler" resourceType="Unspecified" preCondition="integratedMode" />
  105.     </handlers>-->
  106.     <validation validateIntegratedModeConfiguration="false" />
  107.     <directoryBrowse enabled="true" />
  108.     <handlers>
  109.       <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" name="AsmxHandler" resourceType="Unspecified" preCondition="integratedMode" />
  110.       <add verb="*" path="*.ar13" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_ReportBinariesStreamer" resourceType="Unspecified" preCondition="integratedMode" />
  111.       <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_CompiledReportHandler" resourceType="Unspecified" preCondition="integratedMode" />
  112.       <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_RpxHandler" resourceType="Unspecified" preCondition="integratedMode" />
  113.       <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_RdlxHandler" resourceType="Unspecified" preCondition="integratedMode" />
  114.       <add verb="*" path="*.ar13Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web, Version=13.2.18427.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_WebCacheAccessHandler" resourceType="Unspecified" preCondition="integratedMode" />
  115.     </handlers>
  116.   </system.webServer>
  117.   <ActiveReports13>
  118.     <WebService reportsFolder="~/" assemblyFolder="~/" />
  119.   </ActiveReports13>
  120. </configuration>
复制代码


这是web文件的配置信息,和你们的文件有什么出入吗
回复 使用道具 举报
KearneyKang讲师达人认证 悬赏达人认证
超级版主   /  发表于:2019-9-27 18:11:57
5#
您现在使用的是我们最新版本的AR13.2,根据你提供Config文件看不出问题,你看看你的配置路由是否正确,然后是否把所有AR旧的引用进行了替换。如果还是不行,建议你参考本地示例:C:\Users\KearneyKang\Documents\GrapeCity Samples\ActiveReports 13\Web
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部