Release Notes

UIU 5 - SQL Server Compact 4.0 Errors Bookmark

March 3, 2016

Issue: UIU 5 Installation hangs during installation

Symptoms:

This is a known Microsoft issue.

The Microsoft Windows Global Assembly Cache (GAC) is a registry that provides the operating system with the locations of libraries (dlls) and is accessed when a program requires a registered library to be loaded into memory. For undetermined reasons, when Microsoft SQL Server Compact 4.0 is uninstalled, an orphaned record remains in the GAC, pointing to a location that contains no libraries.

The UIU 5 requires SQL CE to be present and during install, will copies files for use to a temp location. When the UIU 5 install attempts to extract the necessary SQL CE files and load them, Windows accesses the GAC and attempts to load SQL CE from the GAC-registered location. Therefore, if SQL CE had previously been present and was subsequently uninstalled, the SQL CE libraries will not be present in the GAC-registered location (as opposed to the UIU established location) and will fail to load, causing the UIU 5 Installation to hang during the construction of the repository.

Resolution:
At this time, the most efficient solution is to re-install Microsoft SQL Server Compact 4.0. The download may be obtained using this link.




Issue: UIU 5 Updater results in error

Symptoms:

This is a known Microsoft issue.

The Microsoft Windows Global Assembly Cache (GAC) is a registry that provides the operating system with the locations of libraries (dlls) and is accessed when a program requires a registered library to be loaded into memory. For undetermined reasons, when Microsoft SQL Server Compact 4.0 is uninstalled, an orphaned record remains in the GAC, pointing to a location that contains no libraries.

The UIU 5 requires SQL CE to be present and during Online Updates, and relies on files copied during the UIU 5 installation. When the UIU 5 Updater attempts to extract the necessary SQL CE files and load them, Windows accesses the GAC and attempts to load SQL CE from the GAC-registered location. Therefore, if SQL CE had previously been present and was subsequently uninstalled, the SQL CE libraries will not be present in the GAC-registered location (as opposed to the UIU established location) and will fail to load, causing the customer to receive the following (when attempting to update the UIU 5): “Error: "Failed to load driver udb". The UIU 5 Online Updates will fail.

Resolution:
At this time, the most efficient solution is to re-install Microsoft SQL Server Compact 4.0. The download may be obtained using this link.





Comments are closed.