开发者

Application deployed via Setup project crashes due to SQL Server CE error

开发者 https://www.devze.com 2023-02-14 22:06 出处:网络
I have just create a Setup project for a C# application in VS 2008.The setup appears to run properly on my XP SP2 Virtual Box guest machine, but when I try and run my application, i开发者_StackOverflo

I have just create a Setup project for a C# application in VS 2008. The setup appears to run properly on my XP SP2 Virtual Box guest machine, but when I try and run my application, i开发者_StackOverflow社区t simply crashes, with only the "encountered a problem and needs to close." dialogue. The event log lists the following error for .NET 2.0:

Event Type: Error
Event Source:   .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID:   5000
Date:       2011/03/06
Time:       12:21:13 PM
User:       N/A
Computer:   ERISIA-XP
Description:
EventType clr20r3, P1 policymis.win.exe, P2 1.0.4082.20617, P3 4d735373, P4 system.data.sqlserverce, P5 3.5.1.0, P6 4b743b2d, P7 49f, P8 13a, P9 system.data.sqlserverce.sqlce, P10 NIL.

The application is built for framework 3.5 SP1, and uses the DevExpress eXpressApp framework. The .sdf file for the application is correctly deployed and not read-only. SQL Server CE is set up as a prerequisiste in the setup project and appears to be installed.

Any ideas on what might be wrong here?


SQL Server Compact 3.5 SP2 requires Windows XP SP3 - http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e497988a-c93a-404c-b161-3a0b323dce24


Must be related to dependency loading failures. Try to check if any of the dependency is failing to load with the help of fusion logs - Assembly Binding Log Viewer (Fuslogvw.exe)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号