HighTechTalks DotNet Forums  

Interop Error

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss Interop Error in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
=?Utf-8?B?Q2hyaXMgRGF2b2xp?=
 
Posts: n/a

Default Interop Error - 09-07-2007 , 04:22 PM






I'm getting the error message "Class not registered (Exception from HRESULT:
0x80040154 (REGDB_E_CLASSNOTREG))" I have an interop component that a vendor
sent. I get the following error when I register that component in the debug
directory:
AxInterop.ISITELib.dll was loaded, but the dllRegisterServer entry point was
not found. The file can not be registered.

What am I doing wrong?

--
Chris Davoli


Reply With Quote
  #2  
Old   
mh
 
Posts: n/a

Default Re: Interop Error - 09-08-2007 , 09:07 AM






On Sep 7, 12:22 pm, Chris Davoli
<ChrisDav... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
I'm getting the error message "Class not registered (Exception from HRESULT:
0x80040154 (REGDB_E_CLASSNOTREG))" I have an interop component that a vendor
sent. I get the following error when I register that component in the debug
directory:
AxInterop.ISITELib.dll was loaded, but the dllRegisterServer entry point was
not found. The file can not be registered.

What am I doing wrong?

--
Chris Davoli
My guess is that you need to register the COM component itself, not
the assembly file AxInterop.ISITELib.dll.
Copy the COM component to the system directory (guees this is the
name, ISITELib.dll)
Use regsvr32 to register the component (using run,...)
"regsvr32 C:\windows\system32\ISITELib.dll"

If registeration succeeds, Open project and attempt to find and set a
refernce to the COM component using COM tab (should be there now).

MH




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.