Data Access Worldwide Knowledge Base

Article ID 2087
Article Title INFO: After selecting "Import ActiveX control" I get error 4398
Article URL http://www.dataaccess.com/kbasepublic/kbprint.asp?ArticleID=2087
KBase Category VDF10
Date Created 02/16/2005
Last Edit Date 03/01/2005


Article Text
PROBLEM:
On one of our machines, if you go into Tools | Import Activex Control you get an error 4398 with errorcode 0x80040154 and there aren't any controls listed. Do you have any idea of what we can do?

ANSWER:
The error you get tells that the virtual machine could not instantiate a COM object. The reason is shown as the errorcode 0x80040154. This error code can be looked up in WINERROR.H (part of Visual Studio) and shows as:

//
// MessageId: REGDB_E_CLASSNOTREG
//
// MessageText:
//
//  Class not registered
//
#define REGDB_E_CLASSNOTREG              _HRESULT_TYPEDEF_(0x80040154L)

This means that you did not have registrered A COM control. If you get the error in Studio the reason could be an unregistered COMCLSGEN.DLL. Try to register the DLL. Do this by opening a CMD window: navigate to the BIN directory and register this component with REGSVR32 and try the import activex control again.



Contributed By:
Vincent Oorsprong
Company: Data Access Worldwide
email: vincent.oorsprong@dataaccess.eu
Web Site: http://www.dataaccess.eu


Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.

The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.