I have made an application in WPF. If I run the application directly from Visual Studio, it works fine. When I create an installer for it, I get a crash whenever the app tries to connect to the SQL Server CE. I have checked that the installer has copied all the required DLL's to the folders it needs.
The error is:
Problem Event Name:CLR20r3
Problem Signature 02:1.0.0.0
Problem Signature 03:513a0735
Problem Signature 04:System.Data.SqlServerCe
Problem Signature 05:4.0.0.1
Problem Signature 06:4d24a1b6
Problem Signature 07:17b
Problem Signature 08:12
Problem Signature 09:System.Data.SqlServerCe.SqlCe
OS Version:6.1.7600.2.0.0.256.48
Locale ID:16393
Additional Information 1:3ea6
Additional Information 2:3ea6eedac02caad30d2f6ed8eec41ecd
Additional Information 3:b2f4
Additional Information 4:b2f41498039b4f85a2340b9037820a94