I have created a C++ dll. It works fine and does the job.
I have created methods in asp.net that call the methods in C++ dll. DLL path is absolute. It works fine too.
I then published the website onto a folder and hosted the website on IIS. I get an error message
Exception Details: System.DllNotFoundException: Unable to load DLL 'FilesCreator.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Please suggest what I need to do to get it to work.