Article ID: 185193 - Last Review: November 18, 2003 - Revision: 2.0 PRB: Clireg32 Fails to Register the Type Library of DCOM Server
This article was previously published under Q185193 On This PageSYMPTOMS
When using Clireg32.exe to register the type library (.tlb file) of a DCOM
server, the type library entries are not entered in the registry. This
problem also occurs during the Internet download of usercontrols that
reference DCOM servers. When this problem occurs, you will receive one of
the following error messages while trying to run the DCOM client
application:
The instruction at '0x00000000' referenced memory at '0x00000000'. The memory could not be 'read'
-or-
An application error has occurred and an application error log is being generated. '<Client.exe>' Exception: access violation (0xc0000005), address: 0x00000000 CAUSE
The Clireg32.exe utility fails to register the type library when the DCOM
option is selected.
RESOLUTION
To resolve this issue, modify the DCOM Server .vbr file, and then use CliReg32.Exe to reregister the DCOM Server, first as a remote
automation component, then as a DCOM component, as detailed below.
Step-By-Step Procedure
MORE INFORMATIONSteps to Reproduce BehaviorNOTE: This article assumes that you are familiar with creating and deploying DCOM client and server applications.Create the DCOM Server
Create the Client
Create Installation Programs for the Client and the Server
Install the Server and Test the Client
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
161837
(http://support.microsoft.com/kb/161837/EN-US/
)
HOWTO: Create a DCOM Client/Server Application
168429
(http://support.microsoft.com/kb/168429/EN-US/
)
PRB: Component Download Fails for DCOM Projects
266717
(http://support.microsoft.com/kb/266717/EN-US/
)
HOWTO: Create a DCOM Client/Server Application by Using VB
267836
(http://support.microsoft.com/kb/267836/EN-US/
)
HOWTO: Create a DCOM Client/Server with Events by Using Visual Basic
268550
(http://support.microsoft.com/kb/268550/EN-US/
)
HOWTO: Use Dcomcnfg for a Visual Basic DCOM Client/Server Application
269330
(http://support.microsoft.com/kb/269330/EN-US/
)
HOWTO: Troubleshoot DCOM for Visual Basic Client/Server Applications
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email

Back to the top
