If you are protecting an Office application, you may get one of the following errors:
- Error 0x80131700: "Failed to load the runtime"
- Error 0x8013101b: "This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded"
- Error: 0x80131515: "Could not load file or assembly..."
Here are some troubleshooting tips for each error case:
||Description / Tips
- The .NET Framework may not be installed. Install .NET 2.0 or .NET 4.0, either for x86 or x64 depending on whether you are running Office 32 bit or 64 bit.
- The .NET Framework may be corrupted. Reinstall the .NET Framework
- The Excel version you are using has already loaded another version of .NET than the one QLM is referencing. To resolve this issue you must reference the QLM DLL that uses the expected .NET version. For example, if you were referencing the .NET 4.0 version of QlmLicenseLib.tlb, you must reference instead the .NET 2.0 version of QlmLicenseLib.tlb. Additionally, you must include the corresponding QlmLicenseLib.dll in your folder.
- This error can occur if the QlmLicenseLib.dll file was blocked by Windows. Windows sometimes blocks files from being opened when they are copied from an untrusted computer. To resolve this issue, simply right-mouse click QlmLicenseLib.dll and view its properties. If the file was blocked, you will see an "Unblock" button on the General tab. Click the Unblock button. Repeat this for all QLM related files.
Article is closed for comments.