Add-In will not load - 0x80131107

D

David Thielen

Hello;

My add-in runs fine on my development system. When I try to run it on a test
system (Windows XP, Word 2003) I get the error 0x80131107 on the shim call in
CLRLoader.cpp:

hr = m_pLocalDomain->CreateInstance(CComBSTR(szAssemblyName),
CComBSTR(szClassName), &pObjHandle);

When I try to run the .net Add-In directly, I get "AutoTag2003.dll" is not a
valid Office Add-In.

How do I find out what is wrong? (I uninstalled and re-installed .net 2.0 to
make sure it is the final version.)
 
D

David Thielen

Hi again;

I compared the registries of my dev system (works) and the test system. The
dev system does have the DLLs used for the Add-In in
HKCR\Installer\Assemblies\* - does this make a difference?

And my working system has items in HKCR\Installer\Products\* (GUIDs) while
the test system has what lloks like the same thing in
HKCU\Software\Microsoft\Installer\Products\* (GUIDs).

The test system (not working) does not have
HKLM\Software\Classes\CLSID\{guid} for the C# Add-In. It does have it for the
shim.

??? - thanks - dave
 
P

Peter Huang [MSFT]

Hi Dave,

Thanks for your knowledge sharing, the whole community will benefit.


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top