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 异常


- 使用 rss + c# 2022-01-01
- 在 LINQ to SQL 中使用 contains() 2022-01-01
- Windows 喜欢在 LINUX 中使用 MONO 进行服务开发? 2022-01-01
- 带问号的 nvarchar 列结果 2022-01-01
- 在 C# 中异步处理项目队列 2022-01-01
- 是否可以在 .Net 3.5 中进行通用控件? 2022-01-01
- 为什么 C# 中的堆栈大小正好是 1 MB? 2022-01-01
- C# 通过连接字符串检索正确的 DbConnection 对象 2022-01-01
- CanBeNull和ReSharper-将其用于异步任务? 2022-01-01
- Azure Active Directory 与 MVC,客户端和资源标识同一 2022-01-01