Use of COM object in IIS 7

Posted by Wouter d.A. on Stack Overflow See other posts from Stack Overflow or by Wouter d.A.
Published on 2010-05-27T14:11:11Z Indexed on 2010/05/27 14:21 UTC
Read the original article Hit count: 326

Filed under:
|
|
|

Hi all,

I am currently moving an ASP.NET web-project from an IIS 6 to a IIS 7 hosting environment. Everything seems to be running OK, except my calls to a COM object.

I can perfectly instantiate an object of the COM type, but when I call one of its methods, the IIS crashes. The event log reports an error code "0xc0000374", which indicates a heap corruption.

When I run the application inside the visual studio development server, everything goes well and the COM object code gets executed without any errors. This is also the case when the application is hosted on an IIS 6 machine.

I have looked through all settings of the IIS 7 and have not found anything configurable for COM objects, like security or ...

I have been struggling with this for a while and I'm out of ideas. Does anyone have any experience deploying COM objects on IIS 7?

Your help would be very appreciated!

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET