vs2005水晶报表在开发环境下可以打印和导出,部署后为何只能看不能打印?一按打印就出现如下错误 :

kqh0319 2007-11-30 11:31:09
vs2005水晶报表在开发环境下可以打印和导出,部署后为何只能看不能打印?一按打印就出现如下错误 :
Server Error in '/sss' Application.
--------------------------------------------------------------------------------

Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.TypeLoadException: Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[TypeLoadException: Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.]
CrystalDecisions.ReportAppServer.ConvertDotNetToErom.DotNetExportOptionsToEromExportOptions(ExportOptions exportOptions) +0
CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +411
CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +17
CrystalDecisions.ReportSource.LocalReportSourceBase.ExportToStream(ExportRequestContext reqContext) +136
CrystalDecisions.Web.ReportAgent.Export(ExportRequestContext reqContext) +57
CrystalDecisions.Web.CrystalReportViewer.w() +964
CrystalDecisions.Web.CrystalReportViewer.RaisePostBackEvent(String eventArgument) +51
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746


...全文
420 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
daisylh 2007-12-04
  • 打赏
  • 举报
回复
服務器可以不安裝打印機
各客戶端要安裝printcontrol.dll後便可直接跑出印表機供選擇列印
指间的风 2007-12-01
  • 打赏
  • 举报
回复
学习一下,mark
yangpeiyu 2007-12-01
  • 打赏
  • 举报
回复
....楼主.
1.首先要在服务器上装上cr_net_2005_mergemodules_mlb_x86.zip.
2.把C:\Program Files\Common Files\Business Objects\2.7\Managed 下所有的文件都COPY到远程服务器网站的BIN目录下
3.因为水晶报表的很多图片还看不到,所以还要COPY本机的C:\Inetpub\wwwroot下的aspnet_client目录到远程服务的网站下。

楼主试试.我以前做的项目都是这样布置的.如果行要执行你的承诺哦!嘿嘿....
kqh0319 2007-12-01
  • 打赏
  • 举报
回复
再问一下:
如果打印机没有直接装在服务嚣那台电脑
客户端可以直接打印吗?
或者客户端能不能直接打印,除了装这个控件之外(PrintControl.dll )
解决此问题马上结三个贴
300分就属于你
http://topic.csdn.net/u/20071130/11/d3753918-077f-4a43-a717-938c22591d01.html
http://topic.csdn.net/u/20071130/22/3b9139e7-4dfd-4c52-a133-4de731b12977.html
http://topic.csdn.net/u/20071130/11/f24a8801-d793-4d96-ad62-1f2866acd556.html
daisylh 2007-12-01
  • 打赏
  • 举报
回复
9樓的說法有些道理,因為在安裝水晶報表檔案時主要是那兩個路徑
kqh0319 2007-11-30
  • 打赏
  • 举报
回复
是的,可以预览到报表,但是一按打印就出现上面的错误
但是我在vs2005里面直接按F5运行的时候,又可以打印

服务器装了报表
yangpeiyu 2007-11-30
  • 打赏
  • 举报
回复
服务器有装水晶报表吧.
tangserver 2007-11-30
  • 打赏
  • 举报
回复
报表可以显示不能点打印??
kqh0319 2007-11-30
  • 打赏
  • 举报
回复
我是直接将ASPX页面复制过去的.没有打包
而且在服务器上装了水晶报表11
delbrueck 2007-11-30
  • 打赏
  • 举报
回复
是不是打包部署的时候漏了什么,比如序列号什么的
tangserver 2007-11-30
  • 打赏
  • 举报
回复
看看你部署的那台电脑的打印机设置问题
kqh0319 2007-11-30
  • 打赏
  • 举报
回复
已经齐全了
xuan.ye 2007-11-30
  • 打赏
  • 举报
回复
看看服务器端的 aspnet_client 这个文件夹下的水晶报表文件夹下的js是否齐全,如果不齐全,把已经安装好的文件夹当中的js拷贝过去

4,816

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 图表区
社区管理员
  • 图表区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧