Showing posts from December, 2009

Could not load file or assembly 'System.Data.SqlServerCe'

Solution :
When I migrate my 32 Bit VB.NET application to 64 Bit VB.NET 2008 compact application it throws me the error saying "Could not load file or assembly 'System.Data.SqlServerCe' " or similar to this error mesage.

When you run the application it may throw the following error saying that could not load or assembly 'System.Data.SqlServerCe' even after installing the service pack for Vista 64 bit OS and also for .NET framework 3.5 the same error prsist.

Then I identified that something is wrong with the core reference thatis is missing with framework. Then I installed the "Microsoft SQL Server Compact 3.5 Service Pack 1 and Synchronization Services for ADO.NET version 1.0 Service Pack 1 for Windows Desktop"

This installation will solve you the problem.
And then the problem you face is the different one. :)
restart the your system and then follow as per the

Happy coding