c# - Unable to find DLL when website runs in IIS -
when run website locally using vs, works.
i calling function inside dll using p/invoke. dll in c++ , works.
when deploy website on iis, error message
unable load dll 'solvingprobelm.dll': specified module not found. (exception hresult: 0x8007007e)
the dll resides inside bin folder. app pool classic , .net 2.0
any suggestions appreciated.
regards
i had faced similar problem once. copy solvingprobelm.dll
c:\windows\system32
. hopefully, work! had worked in situation. native dlls , .net dlls searched differently. iis searches native dlls in c:\windows\system32
folder also. copying dlls there solves problems!
Comments
Post a Comment