Crystal Reports exception in Visual Studio 2013(Visual Studio 2013 中的 Crystal Reports 异常)
问题描述
rptdoc.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, true, "DO- " + DateTime.Now.ToString("dd-MM-yyyy HHmmss"));
上面的代码行抛出了这个异常:
Above line of code is throwing this exception:
CrystalDecisions.CrystalReports.Engine.dll 中出现System.MissingMethodException"类型的异常,但未在用户代码中处理
An exception of type 'System.MissingMethodException' occurred in CrystalDecisions.CrystalReports.Engine.dll but was not handled in user code
附加信息:找不到方法:'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'
Additional information: Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'
我正在使用 Visual Studio 2013 和 Crystal Reports 13
I am using Visual Studio 2013 and Crystal Reports 13
推荐答案
有一次我在生产服务器上遇到了同样的问题.直到前一天一切正常,但第二天,错误出现了.
Once I faced the same issue on my production server. until the day before everything was working good, but the next day, the error was showing up.
由于某些测试原因,我在长时间努力解决问题后,我已将应用程序池设置 -> 启用 32 位应用程序"更改为 True,而我的服务器是 64 位;我把它改回false,一切都正常了.
After long hours struggling with issue i remembered for some testing reasons, i had changed the "Application Pool Settings -> Enable 32-Bit Applications" to True, while my server is 64bit; i changed it back to false and everything got normal.
如果您的服务器是 32,则将此选项设为 True,否则设为 false.
If your server is 32 make this option True, otherwise make it false.
这篇关于Visual Studio 2013 中的 Crystal Reports 异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Visual Studio 2013 中的 Crystal Reports 异常
基础教程推荐
- 如何动态获取文本框中datagridview列的总和 2022-01-01
- 错误“此流不支持搜索操作"在 C# 中 2022-01-01
- 经典 Asp 中的 ResolveUrl/Url.Content 等效项 2022-01-01
- 是否可以在 asp classic 和 asp.net 之间共享会话状态 2022-01-01
- 将事件 TextChanged 分配给表单中的所有文本框 2022-01-01
- 在 VS2010 中的 Post Build 事件中将 bin 文件复制到物 2022-01-01
- 全局 ASAX - 获取服务器名称 2022-01-01
- JSON.NET 中基于属性的类型解析 2022-01-01
- 从 VS 2017 .NET Core 项目的发布目录中排除文件 2022-01-01
- 首先创建代码,多对多,关联表中的附加字段 2022-01-01
