Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

COM Objects with .NET

I have a Microsoft Internet Transfer Control (MSINET.OCX v6.0.88.62) added as a file reference in my VB.NET project. It is registered on my system from the winnt\system32 folder. In my installation, the default creates a copy of the control and it's Interop assembly in the Application Folder under :\Program Files\MyApplicationFolder.

When I run my app, sometimes it runs, sometimes it doesn't and instead gives me this error:


Time: 1/9/2005 9:26:31 AM
Event Description:
ERROR INFORMATION
Description: COM object with CLSID {48E59293-9880-11CF-9754-00AA00C00908} is either not valid or not registered.
Line Number: 0
Source: Comcate_Outlook_Module
Expception Message: COM object with CLSID {48E59293-9880-11CF-9754-00AA00C00908} is either not valid or not registered.
Exception Source: Comcate_Outlook_Module
Exception Stack Trace:    at Comcate_Outlook_Module.Globals.PostMessage(String Data, String UserName, String Password, String Server)
Exception Target Site: PostMessage

I checked the Net for help and all of these pages describe the same problem with different COM objects but without any help:

http://www.aota.net/forums/showthread.php?p=122308#post122308
http://forums.aspfree.com/t43038/s.html
http://sqljunkies.com/Forums/ShowPost.aspx?PostID=412

My machine in a Win2K box with SP4, VS.NET 2003. Please provide some insight.

Sathyaish Chakravarthy
Saturday, January 08, 2005

*RESOLVED*

I made a private copy of the OCX in my project bin folder and added the file reference from there.

Sathyaish Chakravarthy
Sunday, January 09, 2005

*  Recent Topics

*  Fog Creek Home