I have a Web Application in C# Framework 4 that loads an unmanaged third party DLL. When I run the application using Visual Studios's development server it works fine, but when I publish the application to IIS 7, it shows "StackOverflowException" when trying to used one of the functions contained in the DLL.
Could anyone advise what could be wrong? is it a "wrong" configuration on IIS?
Thanks in advance for the help,
Regards