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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -