我的应用程序使用Sql Server CE作为数据源和实体框架时遇到问题(因为我太懒了,不能发表SQL语句,而且太棒了)。
我也使用ReportViewer,但我认为通过为引用设置LocalCopy我已经解决了问题
Microsoft.ReportViewer.ProcessingObjectModel
Microsoft.ReportViewer.Common
Microsoft.ReportViewer.WinForms
为真。
我还System.Data.SqlServerCe
本地复制。
当我运行应用程序时,无论如何,在安装了VS Express的计算机上,它都能完美运行。
虽然当我在任何其他PC上运行它时,它会立即崩溃并说:
Beschreibung:
Stopped working
Problemsignatur:
Problemereignisname: CLR20r3
Problemsignatur 01: berichtsheftproper.exe
Problemsignatur 02: 1.0.0.0
Problemsignatur 03: 4d77f147
Problemsignatur 04: System.Data
Problemsignatur 05: 4.0.0.0
Problemsignatur 06: 4ba1e064
Problemsignatur 07: 14f5
Problemsignatur 08: 2b
Problemsignatur 09: System.InvalidOperationException
Betriebsystemversion: 6.0.6002.2.2.0.274.10
Gebietsschema-ID: 1031
Lesen Sie unsere Datenschutzrichtlinie:
http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0407
VS Express没有远程调试器,所以我无法正确调试错误......
我找不到遗漏的东西。我可以为任何想要它们的人提供发布文件,甚至是源代码!该程序在vb.net中完成。
使用:
VS 2010 Express中的.NET Framework 4.0“客户端配置文件” SqlServerCE 3.5 来自GotReportviewer.com的最新ReportViewer
......我希望我能得到这一切。