One Solution:
regsvr32 %windir%\system32\ole32.dll
Background:
I am not sure of the exact cause, but I wanted to share the solution to
the problem I was having. We have a native code DLL set up as a COM+
server. Most of the methods on the interface for the DLL were working,
but one was throwing an "Interface Not Registered" exception.
Strange, huh? Only part of a COM interface working.
We were able to trace the code and found the exception was happening
after the method being called was returning. We guessed it was an
error during the marshalling of the results being returned, but were
unsure.
I am not sure how the system in question got into this state. I
suspect an installation of digitalpersona u.are.u 1.0 on the system
(Windows XP SP2), but have not verified this.
Re-registering ole32.dll solved the problem.
Hope this helps,
Greg
|