Groups | Blog | Home
all groups > dotnet interop > february 2008 >

dotnet interop : Catastrophic Failure when loading a COM component written in C#?



teetee@gmail.com
2/21/2008 1:10:53 PM
Hello,

Does anyone know what conditions might make a COM component written
in C# to not load with a "Catastrophic Failure" error message?

The odd thing is that everything works fine as a command-line
application, but when run under ISAPI in IIS the error occurs, even
when the user IIS is running as is the same as the one running the
command-line.

The client loading the COM component is a Perl script using the
Win32::OLE module.

Suhredayan Panikkal
2/26/2008 12:18:08 PM
Does the code set the AppartementState property to STA or MTA? if so then
please try removing it.

-Suhredayan

[quoted text, click to view]

AddThis Social Bookmark Button