when I try to run a C # application on a different computer than what was developed, I get the following error message:
System.IO.FileLoadException: Failed to load file or assembly 'Widgets3D, Version = 1.0.3511.25568, Culture = neutral, PublicKeyToken = null' or one of its dependencies. This application could not be started because the application configuration is incorrect. Reinstalling the application may fix the problem. (Exception from HRESULT: 0x800736B1)
File name: 'Widgets3D, Version = 1.0.3511.25568, Culture = neutral, PublicKeyToken = null' ---> System.Runtime.InteropServices.COMException (0x800736B1): This application failed to start because the application configuration is incorrect, reinstalling the application may resolve a problem. (Exception from HRESULT: 0x800736B1)
I checked with the dependency chorus and the process monitor, but could not find the missing dlls. especially the one specified in the Widgets3D.dll error!
both computers are updated with the latest XP service pack and updates. The application works on many PCs here. there is only this problem that creates the problem.
EDIT: as I suggested, I tried regsvr32 of the missing dll, but this gives me this error:
LoadLibrary ( "./Widgets3D.dll" ) - , . .
!