Solved

URGENT:  Troubleshooting Exchange Event Sink registration problems

Posted on 2004-04-21
5
535 Views
Last Modified: 2012-05-04
I have created a web page which explains what I have done so far to troubleshoot this.

http://www.knowltonfamily.com/es_troubleshoot.htm


The problem is the RegEvent.vbs script is getting an error:


Error Updating Props : -2147221163 Interface not registered
0
Comment
Question by:Tom Knowlton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 24

Assisted Solution

by:David Wilhoit
David Wilhoit earned 250 total points
ID: 10885138
Have you thought about re-registering the WMI files? I found this, it's worth a shot...

To register all of the DLL files that are located in the WindowsDirectory\System32\Wbem folder on your computer, you can use the following automated procedure.


Create a file named Register.bat, and then place the file in the WindowsDirectory\System32\Wbem folder on your computer.
Add the following line to the BAT file:
for %%v in ( *.dll ) do regsvr32 /s %%v

Run the BAT file.
D
0
 
LVL 3

Accepted Solution

by:
Cerebellum earned 250 total points
ID: 10887995
It seems to me that your answer is in MS KB 241637 - http://support.microsoft.com/default.aspx?scid=kb;[LN];241637

The cause is explained there as follows:
---------------
This is caused by the fact that when you add a new method to an existing class (interface) and compile the project with binary compatibility, Microsoft Visual Basic (VB) creates a new interface and uses a forwarding mechanism to forward calls made to methods of the old interface to corresponding methods of the new interface.

This works out well between Visual Basic clients and servers when the DLL is registered by calling DllRegisterServer (using REGSVR32.EXE). Unfortunately, the type library knows nothing about the forwarding scheme and that is where MTS Explorer gets information about the component when creating a package.
---------------

Recommended solution is to temporary remove the fowarding key for the virtual interface from the registry - you can see details in the KB.

Good luck with your project, and regards from Norway!
Leif H.
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 10890086
Leif:

Regarding:   http://support.microsoft.com/default.aspx?scid=kb;[LN];241637

I am programming the Event Sink in C#, not VB.

Does that matter?
0
 
LVL 3

Expert Comment

by:Cerebellum
ID: 10890596
Yes, I understood that.

However, I would believe the problem to be independent of this - though I am not sure. It should be quite easy to test the suggested solution anyhow, and then you will know :)

Leif Henriksen
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 10904651
Turns out RegEvent.vbs is not needed.

Exchange Explorer  (found with Exchange 2003 SDK Tools) does the exact same thing.

Go here for details:

http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_20962654.html
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
In-place Upgrading Dirsync to Azure AD Connect
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question