Skip to main content

Issue: Error Message "Could not Load File or Assembly System.data.SqlServerCe"

Fix for the "Could not load file or assembly System.data.SqlServerCe" error after updating to the 7.3 builds of Microvellum V7 (SQL Compact 4.0 required).

J
Written by Jordan Munoz

Applies to Microvellum V7 (7.3 builds). This error and fix were documented for the 7.3 builds of V7. If you see a similar error on a current build, open a support case and include the full error text rather than installing SQL Compact 4.0.

Issue:

An error occurs after installing a Microvellum update:

"Could not load file or assembly 'System.data.SqlServerCe, Version 4.0.0.0....or one of its dependencies.

The system cannot find the file specified."

Solution:

This error occurs when updating to the newer 7.3 builds of V7 - it's looking for the SQL Compact 4.0 install.

Even though the user may be running in 32-bit mode with .mdb selected, the install is still looking for the Compact 4.0 and needs it installed before it will load Microvellum.

Link to SQL Compact 4.0 install - make sure you run the appropriate build for your OS.

Did this answer your question?