找回密码
 立即注册

QQ登录

只需一步,快速开始

wanghongtao

高级会员

7

主题

46

帖子

1117

积分

高级会员

积分
1117

活字格认证

wanghongtao
高级会员   /  发表于:2012-5-21 14:48  /   查看:9863  /  回复:15
产品版本       :ActiveReports 6.0
服务器操作系统 :Windows Server 2008 R2 Standard  日文版
IDE                 :VS 2010 + IIS

现象:在本机开发时报表打印正常,发布到服务器后,打印出错,如图

请问可能是什么原因

15 个回复

正序浏览
iceman
社区贡献组   /  发表于:2012-5-23 08:45:00
16#

回复 15# wanghongtao 的帖子

问题解决就好,感谢楼主把结果反馈给我们~
回复 使用道具 举报
wanghongtao
高级会员   /  发表于:2012-5-22 19:19:00
15#
已解决 是web config配置问题
谢谢版主
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2012-5-22 17:47:00
14#

回复 12# wanghongtao 的帖子

强烈建议楼主参考该贴:http://gcdn.grapecity.com/showtopic-1589.html
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2012-5-22 17:47:00
13#

回复 12# wanghongtao 的帖子

wanghongtao 你好,
请尝试在 <system.webServer> 节点下添加:

  1.   <handlers>
  2.       <add name="ar rpx" path="*.rpx" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
  3.       <add name="ar cache" path="*.ArCacheItem" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
  4.       <add name="AR" path="*.ActiveReport" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
  5.     </handlers>
复制代码
回复 使用道具 举报
wanghongtao
高级会员   /  发表于:2012-5-22 13:22:00
12#
添加了system.webServer的配置以后出现下面的错误

本帖子中包含更多资源

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

x
回复 使用道具 举报
wanghongtao
高级会员   /  发表于:2012-5-22 11:16:00
11#
服务器是64位系统
回复 使用道具 举报
wanghongtao
高级会员   /  发表于:2012-5-22 09:25:00
10#
你好,这个web config文件时候有什么问题

<?xml version="1.0" encoding="UTF-8"?>
<!--
    Note: As an alternative to hand editing this file you can use the
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in
    machine.config.comments usually located in
    \Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
        <appSettings>
                <!--<add key="ENKOH_Company" value="ENKOH"/>
                <add key="ENKOH_UserId" value="MEIKO"/>
                <add key="ENKOH_PassWord" value="1"/>
                <add key="ENKOH_DataBase" value="WBS"/>
                <add key="KIS_Company" value="KIS"/>
                <add key="KIS_UserId" value="KIS"/>
                <add key="KIS_PassWord" value="KIS"/>
                <add key="KIS_DataBase" value="ESMIDB"/>-->
                <add key="CompanyCd" value="MS" />
                <add key="DEFAULT_UserId" value="MS" />
                <add key="DEFAULT_PassWord" value="MEIKO" />
                <add key="DEFAULT_DataBase" value="MSGSHAN" />
                <add key="Version" value="1.0.0" />
                <add key="DataDynamicsARLic" value="cwj,xht,DD-APN-30-C002174,F4OVFVFH9EM9SMS8U4VM" />
        </appSettings>
        <connectionStrings />
        <system.web>
                <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
        -->
                <compilation debug="true" targetFramework="4.0">
                        <assemblies>
                                <add assembly="Oracle.DataAccess, Version=2.111.6.0, Culture=neutral, PublicKeyToken=89B483F429C47342" />
                                <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
                                <add assembly="System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
                                <add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
                                <add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                                <add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                                <add assembly="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
                                <add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                                <add assembly="System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
                                <add assembly="System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="ActiveReports.Chart, Version=6.2.3681.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="ActiveReports.HtmlExport, Version=6.2.3681.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="ActiveReports.PdfExport, Version=6.2.3681.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="ActiveReports.Viewer6, Version=6.2.3681.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="ActiveReports.Web, Version=6.2.3681.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="ActiveReports6, Version=6.2.3681.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
        <add assembly="ActiveReports.Document, Version=6.2.3681.0, Culture=neutral, PublicKeyToken=CC4967777C49A3FF" />
                                </assemblies>
                </compilation>
                <!--<customErrors mode="On">
                        <error statusCode="404" redirect="home_right.aspx"/>
                </customErrors>-->
                <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
        -->
                <authentication mode="Forms">
                        <forms loginUrl="~/Login.aspx" protection="All" timeout="600">
                        </forms>
                </authentication>
                <authorization>
                        <!--<deny users="?"/>-->
                        <!-- Allow all users -->
                        <!--  <allow     users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/>
                  <deny      users="[comma separated list of users]"
                             roles="[comma separated list of roles]"/>
            -->
                </authorization>
                <!--  GLOBALIZATION
          This section sets the globalization settings of the application.
    -->
                <globalization requestEncoding="shift_jis" responseEncoding="shift_jis" fileEncoding="utf-8" />
                <!--<xhtmlConformance mode="Legacy"/>-->
                <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
                        <controls>
                                <add tagPrefix="cc1" assembly="C1.Web.C1WebGrid.2" namespace="C1.Web.C1WebGrid" />
                                <add tagPrefix="cc1" assembly="CSYSPControl" namespace="CSYSPControl" />
                        </controls>
                </pages>
                <httpHandlers>
                       
                        <add path="c1chartimage.aspx" verb="*" type="C1.Web.C1WebChart.ImageHttpHandler,C1.Web.C1WebChart.2" />
                        <add verb="*" path="*.rpx" type="DataDynamics.ActiveReports.Web.Handlers.RpxHandler, ActiveReports.Web, Version=6.2.3681.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
                        <add verb="*" path="*.ActiveReport" type="DataDynamics.ActiveReports.Web.Handlers.CompiledReportHandler, ActiveReports.Web, Version=6.2.3681.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />
                        <add verb="*" path="*.ArCacheItem" type="DataDynamics.ActiveReports.Web.Handlers.WebCacheAccessHandler, ActiveReports.Web, Version=6.2.3681.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" />


                </httpHandlers>
                <webServices>
                        <protocols>
                                <add name="HttpGet" />
                                <add name="HttpPost" />
                        </protocols>
                </webServices>
                <httpRuntime maxRequestLength="10240" executionTimeout="300" appRequestQueueLimit="100" />
        </system.web>
        <system.web.extensions>
                <scripting>
                        <webServices>
                                <!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
                                <!--
      <jsonSerialization maxJsonLength="500">
        <converters>
          <add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
        </converters>
      </jsonSerialization>
      -->
                                <!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
                                <!--
        <authenticationService enabled="true" requireSSL = "true|false"/>
      -->
                                <!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
           and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
           writeAccessProperties attributes. -->
                                <!--
      <profileService enabled="true"
                      readAccessProperties="propertyname1,propertyname2"
                      writeAccessProperties="propertyname1,propertyname2" />
      -->
                        </webServices>
                        <!--
      <scriptResourceHandler enableCompression="true" enableCaching="true" />
      -->
                </scripting>
        </system.web.extensions>
        <system.webServer>
                <validation validateIntegratedModeConfiguration="false" />
        <defaultDocument>
            <files>
                <add value="LOGIN.ASPX" />
            </files>
        </defaultDocument>


        </system.webServer>
</configuration>
回复 使用道具 举报
iceman
社区贡献组   /  发表于:2012-5-21 18:02:00
9#

回复 8# wanghongtao 的帖子

wanghongtao  你好,
请参考该贴部署工程:http://gcdn.grapecity.com/showtopic-1589.html
看是否能解决问题。
回复 使用道具 举报
wanghongtao
高级会员   /  发表于:2012-5-21 17:55:00
8#
使用批量上传成功

本帖子中包含更多资源

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

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