Troubleshooting
The specified module could not be found.
In some usage scenarios using versions 1.0.0.0-1.6.0.0, you may receive this error:
Unable to load DLL 'System.Data.SqlLocalDb.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at System.Data.SqlLocalDb.NativeMethods.GetVersions(IntPtr pVersion, Int32& lpdwNumberOfVersions)
at System.Data.SqlLocalDb.SqlLocalDbApi.IsLocalDBInstalled()
This error can occur if the Microsoft Visual Studio 2013 C++ Runtime is not installed on the machine.
To fix this, either install the runtime which can be downloaded from
http://www.microsoft.com/en-gb/download/details.aspx?id=40784, or alternatively place the following two files in the application directory:
- msvcp120.dll
- msvcr120.dll
These files can be found in
%WINDIR%\System32 or
%WINDIR%\SysWOW64, depending on the OS architecture of your computer.