Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / May 2006

Tip: Looking for answers? Try searching our database.

ASP & Interop .NET 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Egbert Nierop (MVP for IIS) - 07 May 2006 08:07 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.