Unable to load file or assembly ‘SecureDongle_Control’ when compile dotnet program

Symptom: My project : target Platform is x86
.NET Framework is 2.0. It refers to the DDL : Windows\API32\dotNet\Control\Framework 2.0\SecureDongle_Control.dll
It works in the development environment in windows 7.But when it deployed in XP it gives error.

Problem:Unable to load file or assembly ‘SecureDongle_Control, Version=1.0.4631.20328, Culture=neutral, PublicKeyToken=58360573bd0c0eaa’ or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)

Note: SecureDongle_Control.dll also in the same folder as out application is deployed.
What could be the issue? Does it need to register the SecureDongle_Control.dll or place is System32?

Solution: This maybe is the dependency problem. Try to use Dependency Walker to check if missing any dependencies library or not. Might need to install C++ redistributable package before use the library.


Forgotten Password?