部署水晶报告 [英] deploy crystal report
问题描述
我有一个水晶报告的C#应用程序。我尝试了很多时间来部署它,但我不能。由于合并模块文件不完整,我在我的电脑上有VS2010应用程序可以找到,但在其他计算机上它给出了这样的错误:
System .typeinitializationException:类型初始化为
''CrystalDecisions.CrystalReportDocument''抛出异常
System.IO.FileNotFoundException:无法加载文件或程序集
''CrystalDecisions.ReportAppServer.CommLayer,Version = 13.0.2000.0,Culture = neutral,PublicKeyToken = 692fbea5521e1304''或其在CrystalDecisions.CrystalReports.Engine.ReportDocument.cctor()之间的依赖关系>
结束内部异常堆栈跟踪
在CrystalDecisions.CrystalReport.Engine.ReportDocument,ctor()
在CrystalDecisions.CrystalReport.Engine.ReportClass.ctor( )
此外,在部署之前发出此错误
无法找到带有签名''ATL的模块依赖项.Policy.66332652_9C28_58B1_FF1F_C8B3B9A1E18E ''
I''ve C# app with crystal report. And I tried many time to deploy it, but I couldn''t . Because of merge module file is n''t complete and I have VS2010 on my PC the app works find ,but on other computers it gives them error like this:
System .typeinitializationException: The type initialize for
''CrystalDecisions.CrystalReportDocument''threw an exception
System.IO.FileNotFoundException:Could not load file or assembly
''CrystalDecisions.ReportAppServer.CommLayer,Version=13.0.2000.0, Culture=neutral,PublicKeyToken=692fbea5521e1304''or one of its dependencies at CrystalDecisions.CrystalReports.Engine.ReportDocument.cctor()
End of inner exception stack trace
at CrystalDecisions.CrystalReport.Engine.ReportDocument,ctor()
at CrystalDecisions.CrystalReport.Engine.ReportClass.ctor()
Also, before deploying it gave this error
Unable to find module dependency with signature ''ATL.Policy.66332652_9C28_58B1_FF1F_C8B3B9A1E18E''
推荐答案
MSDN [ ^ ]
CodeProject [ ^ ]
cSharp.net [ ^ ]
有它的答案,看看;)
MSDN[^]
CodeProject[^]
cSharp.net[^]
have its answer, take a look ;)
这篇关于部署水晶报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!