找回密码
 立即注册

QQ登录

只需一步,快速开始

sjsm
中级会员   /  发表于:2013-11-15 13:33:00
21#
web.config 设置都有啊,代码如下:  

<system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" name="AsmxHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.ar7" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_ReportBinariesStreamer" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_CompiledReportHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_RpxHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_RdlxHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.ar7Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_WebCacheAccessHandler" resourceType="Unspecified" preCondition="integratedMode" />
    </handlers>
  </system.webServer>


<system.web>
    <compilation debug="false" targetFramework="4.0">
      <assemblies>
        <add assembly="GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Export.Xaml.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="GrapeCity.ActiveReports.Export.Document.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="GrapeCity.ActiveReports.Export.Pdf.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Export.Html.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Export.Image.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Export.Rdf.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="GrapeCity.ActiveReports.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Document.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Diagnostics.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Extensibility.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="GrapeCity.ActiveReports.Chart.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </assemblies>
    </compilation>
    <httpHandlers>
      <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
      <add verb="*" path="*.ar7" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
      <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
      <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
      <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
      <add verb="*" path="*.ar7Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
    </httpHandlers>
  </system.web>
  <ActiveReports7>
    <WebService reportsFolder="~/" assemblyFolder="~/" />
  </ActiveReports7>

本帖子中包含更多资源

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

x
回复 使用道具 举报
sjsm
中级会员   /  发表于:2013-11-15 13:35:00
22#
回复 20楼dof的帖子

<system.web>
    <compilation debug="false" targetFramework="4.0">
      <assemblies>
        <add assembly="GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Export.Xaml.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="GrapeCity.ActiveReports.Export.Document.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="GrapeCity.ActiveReports.Export.Pdf.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Export.Html.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Export.Image.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Export.Rdf.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="GrapeCity.ActiveReports.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Document.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Diagnostics.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="GrapeCity.ActiveReports.Extensibility.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="GrapeCity.ActiveReports.Chart.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </assemblies>
    </compilation>
    <httpHandlers>
      <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
      <add verb="*" path="*.ar7" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
      <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
      <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
      <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
      <add verb="*" path="*.ar7Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
    </httpHandlers>
  </system.web>
  <ActiveReports7>
    <WebService reportsFolder="~/" assemblyFolder="~/" />
  </ActiveReports7>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" name="AsmxHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.ar7" type="GrapeCity.ActiveReports.Web.Handlers.ReportBinariesStreamer, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_ReportBinariesStreamer" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.ActiveReport" type="GrapeCity.ActiveReports.Web.Handlers.CompiledReportHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_CompiledReportHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.rpx" type="GrapeCity.ActiveReports.Web.Handlers.RpxHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_RpxHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.rdl,*.rdlx" type="GrapeCity.ActiveReports.Web.Handlers.RdlxHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_RdlxHandler" resourceType="Unspecified" preCondition="integratedMode" />
      <add verb="*" path="*.ar7Web" type="GrapeCity.ActiveReports.Web.Handlers.WebCacheAccessHandler, GrapeCity.ActiveReports.Web.v7, Version=7.1.7593.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" name="AR7_WebCacheAccessHandler" resourceType="Unspecified" preCondition="integratedMode" />
    </handlers>
  </system.webServer>
回复 使用道具 举报
sjsm
中级会员   /  发表于:2013-11-15 13:38:00
23#
我复制了网页错误详细信息如下:

用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
时间戳: Fri, 15 Nov 2013 05:35:47 UTC


消息: 'OpenedReport' 未定义
行: 8
字符: 203
代码: 0
URI: http://172.16.88.1:8011/Crystal. ... px?rpxName=TestUser

这个OpenedReport 是你们js中定义的。
回复 使用道具 举报
ZenosZeng讲师达人认证 悬赏达人认证
超级版主   /  发表于:2013-11-15 15:24:00
24#
通过电话沟通,现在需要你检查一下你IIS中的这项配置,参考ActiveReports 帮助文档中的这个章节(http://helpcentral.componentone.com/nethelp/AR7Help/OnlineEn/):ActiveReports Developer 7 &gt; ActiveReports Developer Guide &gt; How To &gt; Customize, Localize, and Deploy &gt; Configure HTTPHandlers in IIS 7.x  Classic Mode

因为AR在运行的时候会访问一些服务和资源,所以,需要在IIS的Handler Mappings中配置*.ar7,*.ar7Web,*.rpx,*.rdlx和 *.rdl信息
回复 使用道具 举报
sjsm
中级会员   /  发表于:2013-11-15 16:18:00
25#
你好,我们在iis 中配置了*.ar7,*.ar7Web,*.rpx,*.rdlx和 *.rdl信息,我们在web.config 中配置了
   <!--<add name="AR7Rpx" path="*.rpx" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64"/>
      <add name="AR7Rdlx" path="*.rdlx" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64"/>
      <add name="AR7Rdl" path="*.rdl" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64"/>
      <add name="AR7" path="*.ar7" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64"/>
      <add name="AR7Web" path="*.ar7Web" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64"/>-->
   在服务器handle Mappings 有了。但是还是报哪个错误,你在看下是什么原因?
回复 使用道具 举报
sjsm
中级会员   /  发表于:2013-11-15 16:25:00
26#
这是在服务器上配置的截图,你看下有没有问题?

本帖子中包含更多资源

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

x
回复 使用道具 举报
ZenosZeng讲师达人认证 悬赏达人认证
超级版主   /  发表于:2013-11-15 16:41:00
27#
在这篇文章 http://gcdn.grapecity.com/showtopic-1589.html 中的第四步,提到
<system.webServer>中的scriptProcessor="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll"是与你使用的.NET Framework版本相关,Framework是32位系统的路径,如果使用的64位应该设置为Framework64;同时使用的是.NET Framework 4.0所以这里设置的是v4.0.30319;preCondition="classicMode,runtimeVersionv4.0,bitness32"中的配置是我们IIS工作模式相关,其中runtimeVersionv4.0代表.NET Framework版本;bitness32代表IIS是32位还是64位。

你将你25楼中的配置
scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64"
都修改为
scriptProcessor="="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32"
试一试

在配置IIS时,需要设置framework版本和IIS运行模式(32位还是64为bitness32)

同时,请开启你IIS中应用程序池的32为兼容模式,如下图

本帖子中包含更多资源

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

x
回复 使用道具 举报
sjsm
中级会员   /  发表于:2013-11-15 16:56:00
28#
非常感谢,总于弄通了,还有个问题就是我本机上的开发环境是正式版,但是发布到服务器上查看的时候报表下面显示红字,提示是试用版的。
回复 使用道具 举报
ZenosZeng讲师达人认证 悬赏达人认证
超级版主   /  发表于:2013-11-15 17:13:00
29#
部署之后出现试用版信息通常是因为你在最初创建工程时没有正式版的License信息,你可以按照这篇文章中的步骤解决该问题,http://blog.gcpowertools.com.cn/ ... veReport_Trial.aspx ,文章中的第2、3、4步非常重要,需要你仔细操作。
回复 使用道具 举报
sjsm
中级会员   /  发表于:2013-11-15 17:26:00
30#
在我本机上ActiveReport 插件是激活状态,但是部署到服务器上,进行浏览报表下面出现几行红字。这怎么解决?

本帖子中包含更多资源

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

x
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部