How to solve this .NET error?

WindowsGeek 21 Reputation points
2021-01-20T13:44:05.103+00:00

Hello,
When I want to open an application, then it show me below .NET error. I'm using the last version of .NET Framework:
58672-net.png

Thank you.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,135 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 49,701 Reputation points
    2021-01-20T14:36:40.607+00:00

    The type constructor for LeadTools.Multimedia.Common.MultimediaSupport threw an exception. The actual exception is nested as an inner exception so it is unclear what is going on at this point. This has nothing to do with .NET.

    Run the code in the debugger and it'll capture the exception. Then look at the inner exception to see what is going on. If this is not your code then contact the third party developer LeadTools and they can help identify the issue. At this point it could be anything from missing binaries to an older version of a runtime such as C++ to a bad or missing device. There is no way to know without looking at what the type constructor does, or looking at the inner exception.


  2. Hadi Chami 1 Reputation point
    2021-01-20T18:55:47.603+00:00

    Hello @WindowsGeek ,

    This is Hadi and I am the Technical Support Manager at LEAD Technologies, Inc.

    The screenshot indicates there was an error calling our multimedia toolkit’s UnlockModule() method.
    This method is usually called before any other LEADTOOLS functions in order to initiate (enable) the license to allow the program to use our toolkit features.
    The best way to address this error depends on the program that triggered it:

    1. If you’re the developer of that program, send full details about the error to support@leadtools.com and we’ll assist you with it. These details should include:
      • Your LEADTOOLS SDK serial number. (Do NOT post it here).
      • The unlock string values you’re passing to the UnlockModule() method. (Do NOT post them here).
      • Your version of Visual Studio and Windows OS.
    2. If you’re using a program developed by somebody else, contact the vendors of that program and send them details about your program and how the problem is triggered. If they believe the problem is related to our toolkit, they can contact us directly for assistance.

    We also have a live chat option that you can utilize as well. You can connect to it here: https://www.leadtools.com/support/chat

    0 comments No comments