Search code examples
microsoft-information-protection

LoadLibrary failure when loading x64\mip_file_sdk.dll


I am trying to run a release version of my MIP SDK integration after recently upgrading to the latest version of the SDK. I can run my service without any issue when running in the Visual Studio debugger. However, when I install the release version as a Windows service, I receive an error:

LoadLibrary failed for: [C:\Program Files\LinkDocuments\x64\mip_file_sdk.dll] at Microsoft.InformationProtection.Utils.SafeNativeMethods.LoadLibrary(String dllToLoad) at Microsoft.InformationProtection.Utils.Loader.LoadDlls(String dllFolder, String dllName, String[] dllDependencies) at Microsoft.InformationProtection.MIP.Initialize(MipComponent mipComponent, String path)

I am not sure how to debug this issue? Any advice is helpful.

The service is built for an x64 target.


Solution

  • Is the Visual C++ runtime installed?