I created a console application to import "C" Dll using DllImport The "C" Dll has reference to other Dll's and Config files in same folder.
When i put all the files in bin directory of Console applicaiton it works perfect.
But when i create a Web application to consume the same it does not work. (The dll reference are fine when i set the path, but it seems the config files are not getting loaded)
I have tried below but did not help.
- Copy the DLL's and config files to System32.
- Give access permission to IIS.
- Disable shadow copy.
None seem to work, Any other suggestions?