AutoTag2003.dll is not a valid Office Add-In

I have an add-in that works fine on other machines and has run fine on my machine for some time. It is a Word Add-In and on my machine I run it from the VS 2003 debugger.

It now will not run. The only difference in my machine is I recently upgraded VS 2005 from beta 2 to release. I don't think I have made any changes to Office (can't be sure what the VS 2005 install and/or Windows Update have done). And I don't think I installed VSTO (again, can't be positive what VS 2005 install did).

This is a IDTExtensibility2 Add-In, not a VSTO Add-In.

When I start Word, it does not start. When I use COM Add-Ins to add it, I get "AutoTag2003.dll is not a valid Office Add-In"

Help, About, Disabled Items has no entries.

I have tried it with and without the file C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE.config:
<?xml version ="1.0"?>
<configuration>
<startup>
<requiredRuntime version="v1.1.4322"/>
<supportedRuntime version="v1.1.4322"/>
</startup>
</configuration>

My registry settings are:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins\AutoTag2003.Connect]
"LoadBehavior"=dword:00000002
"Description"="Template editor for Windward Reports"
"FriendlyName"="Windward AutoTag 2003"


[HKEY_CLASSES_ROOT\AutoTag2003.Connect]
@="AutoTag2003.Connect"

[HKEY_CLASSES_ROOT\AutoTag2003.Connect\CLSID]
@="{C40E71F6-B50C-45F8-ACC9-97C9A8CB3BB6}"


[HKEY_CLASSES_ROOT\CLSID\{C40E71F6-B50C-45F8-ACC9-97C9A8CB3BB6}]
@="AutoTag2003.Connect"

[HKEY_CLASSES_ROOT\CLSID\{C40E71F6-B50C-45F8-ACC9-97C9A8CB3BB6}\Implemented Categories]

[HKEY_CLASSES_ROOT\CLSID\{C40E71F6-B50C-45F8-ACC9-97C9A8CB3BB6}\Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}]

[HKEY_CLASSES_ROOT\CLSID\{C40E71F6-B50C-45F8-ACC9-97C9A8CB3BB6}\InprocServer32]
@="mscoree.dll"
"ThreadingModel"="Both"
"Class"="AutoTag2003.Connect"
"Assembly"="AutoTag2003, Version=4.0.10.0, Culture=neutral, PublicKeyToken=267ad24bfdc007e1"
"RuntimeVersion"="v1.1.4322"
"CodeBase"="file:///C:/src/AutoTag/AutoTag2003/bin/Debug/AutoTag2003.dll"

[HKEY_CLASSES_ROOT\CLSID\{C40E71F6-B50C-45F8-ACC9-97C9A8CB3BB6}\InprocServer32\4.0.10.0]
"Class"="AutoTag2003.Connect"
"Assembly"="AutoTag2003, Version=4.0.10.0, Culture=neutral, PublicKeyToken=267ad24bfdc007e1"
"RuntimeVersion"="v1.1.4322"
"CodeBase"="file:///C:/src/AutoTag/AutoTag2003/bin/Debug/AutoTag2003.dll"

[HKEY_CLASSES_ROOT\CLSID\{C40E71F6-B50C-45F8-ACC9-97C9A8CB3BB6}\ProgId]
@="AutoTag2003.Connect"

[3059 byte] By [DavidThi808] at [2007-12-17]
# 1

This is a non-VSTO related question. You can, however, post this on the MSDN officedev newsgroup. Here is the link:

http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.officedev&lang=en&cr=US

Thanks!

Mike Hernandez
Community Program Manager
VSTO Team

MikeHernandez-MSFT at 2007-10-6 > top of Msdn Tech,Visual Studio Tools for Office,Visual Studio Tools for Office...