1

I have an ASP.Net Framework 4 web application making an interop call to a 3rd party unmanaged dll written in C++.

The dll is stored in the bin directory of the web application and creates a file in another directory of the same web application.

The call works fine using Visual Studio 2010 (typically), but the individual process falls over when the call is made on IIS6.

The only logs of any problems is an entry in Event Viewer:

Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to stack overflow.

The Application Pool is running under the Network Service account, and this account has also been granted Modify access to the directory in question.

2
  • Just a quick check is it a 32 Bit interop and a 32 Bit web app? Commented Jun 17, 2011 at 9:35
  • Both dll and web site are 32 Bit, yes. Commented Jun 17, 2011 at 9:37

1 Answer 1

1

The 3rd Party confirmed that the problem was due to a problem in their memory allocation. The amount allocated on the stack not being sufficient.

The dll was suffering a stack overflow as a result and brought down w3wp.exe temporarily while IIS brought another process back up automatically.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.