使用CR10部署.NET 2005 - 令人沮丧的行为 [英] Deploying .NET 2005 with CR10 -- frustrating behavior
问题描述
我可能只是另一个处理水晶报告的沮丧程序员。但这是我的问题。
我需要在测试实验室中测试我的应用程序,所以我在.NET 2005中构建了一个部署项目C#解决方案。我在测试实验室中成功安装了应用程序。
我的应用生成并显示4种不同的报告。在实验室中测试我的应用程序时,第一份报告在reportviewer中成功发布。但当我回到gui并选择另一个报告时,该应用程序失败了。事实证明,如果我完全退出应用程序,我可以请求任何我需要的报告。但要获得另一份报告,我必须退出申请。也就是说,我第一次可以构建报告A,B,C或D,但是当我返回到GUI时,我无法在不退出应用程序的情况下让CR返回另一个报告。
< p align = left>
当它失败时,我们(在他的机器上拥有管理员权限的另一个开发者和我)能够捕获这些第一次机会异常:
在CrystalDecisions.CrystalReports中发生类型
'System.Runtime.InteropServices.COMException'的第一次机会异常.Engine.dll
类似
CrystalDecisions.CrystalReports.Engine.LogOnException发生在
CrystalDecisions.ReportAppServer.DataSetConversion.dll中的第一次机会异常
在CrystalDecisions.ReportSource.dll中发生了CrystalDecisions.CrystalReports.Engine.LogOnException
在CrystalDec中发生了类型为'CrystalDecisions.Windows.Forms.MainReportDocument.WrapperException'的类型的第一次机会异常isions.Windows.Forms.dll
btw:我已将CrystalReportsRedist2005_x86.msm模块合并到我的安装项目中。
我在Windows 2000 32位上运行。
感谢任何有解决这个问题的人。
Danny
如果它只是第一次运作,我会说你是不正确地使用Crystal对象。很难说没有看到相关的代码。
当我回到gui时,不确定你是什么意思。报告查看器不是gui的一部分吗?
i may be just another frustrated coder dealing with crystal reports. but here's my problem.
i'm at a point where i need to test my app in the test lab, so i've built a deployment project within my .NET 2005 C# solution. i successfully installed the app in the test lab.
My app generates and displays 4 different reports. When testing my app in the lab the first report came up successfully in the reportviewer. But when i returned to the gui and selected another report the app failed. it turns out that if i completely exit out of the app that i can request any report i need. but to get another report i have to exit the application. That is, the first time I can build report A,B,C, or D, but when i return to the GUI i can't get CR to return another report without exiting the application.
When it failed, we (another developer who has admin rights on his machine and I) were able to capture these first chance exceptions:
A first chance exception of type
'System.Runtime.InteropServices.COMException' occurred in
CrystalDecisions.CrystalReports.Engine.dll
A first chance exception of type
'CrystalDecisions.CrystalReports.Engine.LogOnException' occurred in
CrystalDecisions.ReportAppServer.DataSetConversion.dll
A first chance exception of type
'CrystalDecisions.CrystalReports.Engine.LogOnException' occurred in
CrystalDecisions.ReportSource.dll
A first chance exception of type
'CrystalDecisions.Windows.Forms.MainReportDocument.WrapperException'
occurred in CrystalDecisions.Windows.Forms.dll
btw: I have merge into my setup project the CrystalReportsRedist2005_x86.msm module.
i'm running on Windows 2000 32 bits.
thanks to anyone that's got an idea about solving this.
Danny
If it works only the first time, I'd say you are using the Crystal objects incorrectly. Hard to tell without seeing the relevant code.
Not sure what you mean by "when I return to the gui". Isn't the report viewer part of the gui?
这篇关于使用CR10部署.NET 2005 - 令人沮丧的行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!