Hi,
I have a simple Dual interfaced COM class, written using C#. It does some
things ASP cannot do, that is, formatting datetimes to GMT times and back.
But after a few hours, the site returns a COM exception 0x8007002 (not
found) at CreateObject("my.progid") it means, file not found.
When I reset the application pool, the error is gone.
Now this is weird, a C# COM component containing say 100 lines of code,
causing this mess?
Has anyone some clues?
(ps: I used filemon and regmon but they produce too much info to get the
culprit where some info is missing)
Egbert Nierop (MVP for IIS) - 10 May 2006 14:27 GMT
> Hi,
>
[quoted text clipped - 8 lines]
>
> Has anyone some clues?
I decided to rewrite the C# component to a ATL Com component. Now it is
reliable again.
I got the same feeling about this, as in the time when .IDC and .ASP pages
could be mixed theorectically. The ODBC driver conflicted with the ADO
database connection for some reason in that time, and I reduced the crash,
by elimating the IDC pages.
(However, MS has never published there was a bug when you would combine
these technologies)
When you use interop in ASP pages, 'something' causes the process to become
instable.