在 RDS 上运行的 Crystal Reports WPF 查看器导致 GDI+一般错误
我开发了一个 WPF 应用程序,可以在新的 WPF 查看器中显示 CR。如果报告包含图表,则用户会收到 GDI+ 通用错误。在我的测试中,我还没有收到错误。有什么想法可能导致错误吗?
该应用程序在带有 RDS 的 Windows 2008 R2 中运行。
任何帮助将不胜感激。
谢谢,
瑞克
I developed a WPF application that shows CR in their new WPF viewer. If report has a chart one user is getting a GDI+ Generic error. In my testing I have yet to get the error. Any ideas what might be causing the error?
The app is running in Windows 2008 R2 with RDS.
Any help would be greatly appreciated.
Thanks,
Rick
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
WPF 不会初始化 GDI+,这可能会在访问其某些功能时导致此错误。您可以尝试通过打开 Windows 窗体窗口来初始化 GDI+。还有其他方法可以做到这一点,但这是最快的方法(我知道)。
WPF does not initilize GDI+, which may cause this error when accessing some of its functions. You can try initializing GDI+ by opening a Windows Forms window. There are also other ways to do that, but it's the fastest way (I know).