找回密码
 立即注册

QQ登录

只需一步,快速开始

[已处理] mvc新建图表问题

YTg
初级会员   /  发表于:2020-4-24 11:46:48
11#

用到的是14的版本
回复 使用道具 举报
YTg
初级会员   /  发表于:2020-4-24 11:48:45
12#

是14的版本
回复 使用道具 举报
YTg
初级会员   /  发表于:2020-4-24 12:08:02
13#

还在吗用到的是14的
回复 使用道具 举报
KearneyKang讲师达人认证 悬赏达人认证
超级版主   /  发表于:2020-4-24 12:25:52
14#
您好,我这边使用AR14设计的图表展示就可以正常展示

你现在下载官网最新版本,然后按着这个博客的操作进行一个项目的创建看看
https://gcdn.grapecity.com.cn/forum.php?mod=viewthread&tid=74409&extra=page%3D1

https://gcdn.grapecity.com.cn/forum.php?mod=viewthread&tid=74434&extra=page%3D1

本帖子中包含更多资源

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

x
回复 使用道具 举报
YTg
初级会员   /  发表于:2020-4-24 13:22:51
15#
KearneyKang 发表于 2020-4-24 12:25
您好,我这边使用AR14设计的图表展示就可以正常展示

你现在下载官网最新版本,然后按着这个博客的操作进 ...

这些我都设置好了,他提示服务器以404状态响应
回复 使用道具 举报
YTg
初级会员   /  发表于:2020-4-24 13:31:24
16#
KearneyKang 发表于 2020-4-24 12:25
您好,我这边使用AR14设计的图表展示就可以正常展示

你现在下载官网最新版本,然后按着这个博客的操作进 ...

可以吧你这个图表设计的demo发出来吗
回复 使用道具 举报
YTg
初级会员   /  发表于:2020-4-24 13:37:39
17#
KearneyKang 发表于 2020-4-24 12:25
您好,我这边使用AR14设计的图表展示就可以正常展示

你现在下载官网最新版本,然后按着这个博客的操作进 ...

你这个链接里的 内容我已经完成了表格的可以显示,只是图表的显示不出来
回复 使用道具 举报
KearneyKang讲师达人认证 悬赏达人认证
超级版主   /  发表于:2020-4-24 14:22:01
18#
你好,文件内容太大,估计发不过来,我可以把WebConfig文件给你,你看看这个WebConfig文件有什么不同。
  1. <?xml version="1.0"?>
  2. <!--
  3.   有关如何配置 ASP.NET 应用程序的详细信息,请访问
  4.   https://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="webpages:Version" value="3.0.0.0" />
  12.     <add key="webpages:Enabled" value="false" />
  13.     <add key="ClientValidationEnabled" value="true" />
  14.     <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  15.   </appSettings>
  16.   <!--
  17.     有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。

  18.     可在 <httpRuntime> 标记上设置以下特性。
  19.       <system.Web>
  20.         <httpRuntime targetFramework="4.6.1" />
  21.       </system.Web>
  22.   -->
  23.   <system.web>
  24.     <compilation debug="true" targetFramework="4.6.2">
  25.       <assemblies>
  26.         <add assembly="GrapeCity.ActiveReports.Chart, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  27.         <add assembly="GrapeCity.ActiveReports.Document, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  28.         <add assembly="GrapeCity.ActiveReports.Export.Html, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  29.         <add assembly="GrapeCity.ActiveReports.Export.Pdf, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  30.         <add assembly="GrapeCity.ActiveReports.Export.Image, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  31.         <add assembly="GrapeCity.ActiveReports, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  32.         <add assembly="GrapeCity.ActiveReports.Web, Version=14.0.1778.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  33.         <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  34.       </assemblies>
  35.     </compilation>
  36.     <httpRuntime targetFramework="4.6.1" />
  37.     <httpHandlers>
  38.       <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
  39.       <add verb="*" path="*.ar13" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  40.       <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  41.       <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  42.       <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  43.       <add verb="*" path="*.ar13Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
  44.     </httpHandlers>
  45.   </system.web>
  46.   <runtime>
  47.     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  48.       <dependentAssembly>
  49.         <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
  50.         <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
  51.       </dependentAssembly>
  52.       <dependentAssembly>
  53.         <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
  54.         <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
  55.       </dependentAssembly>
  56.       <dependentAssembly>
  57.         <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
  58.         <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
  59.       </dependentAssembly>
  60.       <dependentAssembly>
  61.         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  62.         <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
  63.       </dependentAssembly>
  64.       <dependentAssembly>
  65.         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  66.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  67.       </dependentAssembly>
  68.       <dependentAssembly>
  69.         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
  70.         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  71.       </dependentAssembly>
  72.       <dependentAssembly>
  73.         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  74.         <bindingRedirect oldVersion="1.0.0.0-5.2.4.0" newVersion="5.2.4.0" />
  75.       </dependentAssembly>
  76.       <dependentAssembly>
  77.         <assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  78.         <bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
  79.       </dependentAssembly>
  80.       <dependentAssembly>
  81.         <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  82.         <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
  83.       </dependentAssembly>
  84.       <dependentAssembly>
  85.         <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  86.         <bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" />
  87.       </dependentAssembly>
  88.       <dependentAssembly>
  89.         <assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  90.         <bindingRedirect oldVersion="0.0.0.0-4.0.0.1" newVersion="4.0.0.1" />
  91.       </dependentAssembly>
  92.       <dependentAssembly>
  93.         <assemblyIdentity name="System.Security.Principal.Windows" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  94.         <bindingRedirect oldVersion="0.0.0.0-4.1.1.1" newVersion="4.1.1.1" />
  95.       </dependentAssembly>
  96.       <dependentAssembly>
  97.         <assemblyIdentity name="System.Security.Cryptography.Cng" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  98.         <bindingRedirect oldVersion="0.0.0.0-4.3.1.0" newVersion="4.3.1.0" />
  99.       </dependentAssembly>
  100.     </assemblyBinding>
  101.   </runtime>
  102.   <system.codedom>
  103.     <compilers>
  104.       <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
  105.       <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE="Web" /optionInfer+" />
  106.     </compilers>
  107.   </system.codedom>
  108.   <system.webServer>
  109.     <validation validateIntegratedModeConfiguration="false" />
  110.     <handlers>
  111.       <add verb="*" path="/api/reporting/*" type="System.Web.Handlers.ScriptModule" name="nostaticfile" resourceType="Unspecified" preCondition="integratedMode" />
  112.       <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" />
  113.       <add verb="*" path="*.ar13" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_ReportBinariesStreamer" resourceType="Unspecified" preCondition="integratedMode" />
  114.       <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_CompiledReportHandler" resourceType="Unspecified" preCondition="integratedMode" />
  115.       <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_RpxHandler" resourceType="Unspecified" preCondition="integratedMode" />
  116.       <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_RdlxHandler" resourceType="Unspecified" preCondition="integratedMode" />
  117.       <add verb="*" path="*.ar13Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web, Version=14.0.19484.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR13_WebCacheAccessHandler" resourceType="Unspecified" preCondition="integratedMode" />
  118.     </handlers>
  119.   </system.webServer>
  120.   <ActiveReports14>
  121.     <WebService reportsFolder="~/" assemblyFolder="~/" />
  122.   </ActiveReports14>
  123. </configuration>
复制代码


回复 使用道具 举报
YTg
初级会员   /  发表于:2020-4-24 15:46:49
19#
KearneyKang 发表于 2020-4-24 14:22
你好,文件内容太大,估计发不过来,我可以把WebConfig文件给你,你看看这个WebConfig文件有什么不同。

...

很多地方不一样你这个是怎么来的,要一个个加吗
回复 使用道具 举报
KearneyKang讲师达人认证 悬赏达人认证
超级版主   /  发表于:2020-4-24 16:00:07
20#
自动生成的啊,项目创建完自动生成的
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部