<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://yellow-rainbird.de/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Rainbird´s Blog : Add-In</title><link>http://yellow-rainbird.de/blogs/rainbird/archive/tags/Add-In/default.aspx</link><description>Ordnungsbegriffe: Add-In</description><dc:language /><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Diagnosewerkzeug für VSTO Deployment-Probleme</title><link>http://yellow-rainbird.de/blogs/rainbird/archive/2008/03/18/diagnosewerkzeug-f-252-r-vsto-deployment-probleme.aspx</link><pubDate>Tue, 18 Mar 2008 20:23:00 GMT</pubDate><guid isPermaLink="false">ca972313-08a2-482d-9df4-47656efefef6:22</guid><dc:creator>Rainbird</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://yellow-rainbird.de/blogs/rainbird/rsscomments.aspx?PostID=22</wfw:commentRss><comments>http://yellow-rainbird.de/blogs/rainbird/archive/2008/03/18/diagnosewerkzeug-f-252-r-vsto-deployment-probleme.aspx#comments</comments><description>&lt;p&gt;Ich bin heute ziemlich lange an einem Problem mit einem &lt;a class="" title="VSTO" href="http://yellow-rainbird.de/forums/p/22/24.aspx#24" target="_blank"&gt;VSTO&lt;/a&gt; Word Add-In gesessen. Trotz korrket installierter&amp;nbsp;&lt;a class="" title="VSTO" href="http://yellow-rainbird.de/forums/p/22/24.aspx#24" target="_blank"&gt;VSTO&lt;/a&gt; 2005 SE Runtime und Primary Interop Assemblies für Office 2003 wollte das Word Add-In einfach nicht laufen. Ein anderes&amp;nbsp;&lt;a class="" title="VSTO" href="http://yellow-rainbird.de/forums/p/22/24.aspx#24" target="_blank"&gt;VSTO&lt;/a&gt; Add-In in Outlook hingegen lief ohne Probleme.&lt;/p&gt;
&lt;p&gt;Nach langer Suche in TechNet und MSDN habe ich irgendwann ein kleines Werkzeug mit dem schönen Namen &lt;a class="" title="Microsoft PSS VSTO 2005 Client TroubleShooter" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c9fb6a54-8069-4918-a6f9-e744928dfac3&amp;amp;DisplayLang=en" target="_blank"&gt;Microsoft PSS VSTO 2005 Client TroubleShooter&lt;/a&gt; gefunden. Der TroubleShooter prüft, ob alle DLLs, die&amp;nbsp;&lt;a class="" title="VSTO" href="http://yellow-rainbird.de/forums/p/22/24.aspx#24" target="_blank"&gt;VSTO&lt;/a&gt; Add-Ins benötigen in der richtigen Version installiert sind und zeigt das Ganze in einer übersichtlichen Liste an. Zusätzlich werden noch bestimmte Einstellungen aufgeführt.&lt;/p&gt;
&lt;p&gt;&lt;img height="1" alt="" src="http://yellow-rainbird.de/photos/allgemein/images/23/original.aspx" width="1" border="0" /&gt;&lt;img height="480" alt="Screenshot" src="http://yellow-rainbird.de/photos/allgemein/images/23/original.aspx" width="570" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;In meinem Fall hatte Word eine Datei mit dem Namen &lt;font face="courier new,courier"&gt;_msaccess.exe.config&lt;/font&gt; als Konifurationsdatei für das VSTO Add-In herangezogen. Das war eine ziemlich alte Konfigurationsdatei, die ich einmal für ein .NET 1.1 Assembly angelegt hatte, die via COM-Interop von Microsoft Access aufgerufen worden war.&amp;nbsp;Die Konfiguration hatte damals die Verwendung von .NET Framework Version 1.1 erzwungen.&amp;nbsp;Bei Access hatte der vorangestellte Unterstrich erfolgreich verhindert, dass die CLR diese Datei als Konfigurationsdatei verwendet. Dass Word diese Datei automatisch angezogen hat, verwundert mich sehr.&amp;nbsp;Ich hätte es verstanden, wenn die Datei winword.exe.config geheißen hätte.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Der&amp;nbsp;TroubleShooter hatte die alte&amp;nbsp;Anwendungs-Konfigurationsdatei&amp;nbsp;in seiner Liste aufgeführt und mich so auf die Fehlerursache aufmerksam gemacht. Nach dem löschen der&amp;nbsp;&lt;font face="Courier New"&gt;_msaccess.exe.config&lt;/font&gt;&amp;nbsp; hatte das &lt;a class="" title="VSTO" href="http://yellow-rainbird.de/forums/p/22/24.aspx#24" target="_blank"&gt;VSTO&lt;/a&gt;&amp;nbsp;Word Add-In sofort funktioniert. &lt;/p&gt;
&lt;p&gt;Da&amp;nbsp;&lt;a class="" title="VSTO" href="http://yellow-rainbird.de/forums/p/22/24.aspx#24" target="_blank"&gt;VSTO&lt;/a&gt; Add-Ins nicht sagen, wenn ihnen irgendwas wehtut, sondern einfach garnichts machen, sollte man vor dem Ausrollen&amp;nbsp;eines&amp;nbsp;Add-Ins auf Produktiv-Maschinen den TroubleShooter zur&amp;nbsp;Hand nehmen und überprüfen, ob&amp;nbsp;die Konfiguration und die installierten&amp;nbsp;Pakete in Ordnung sind.&amp;nbsp;&lt;/p&gt;&lt;img src="http://yellow-rainbird.de/aggbug.aspx?PostID=22" width="1" height="1"&gt;</description><category domain="http://yellow-rainbird.de/blogs/rainbird/archive/tags/Add-In/default.aspx">Add-In</category><category domain="http://yellow-rainbird.de/blogs/rainbird/archive/tags/VSTO/default.aspx">VSTO</category><category domain="http://yellow-rainbird.de/blogs/rainbird/archive/tags/Office/default.aspx">Office</category><category domain="http://yellow-rainbird.de/blogs/rainbird/archive/tags/Word/default.aspx">Word</category><category domain="http://yellow-rainbird.de/blogs/rainbird/archive/tags/Deployment/default.aspx">Deployment</category><category domain="http://yellow-rainbird.de/blogs/rainbird/archive/tags/Konfiguration/default.aspx">Konfiguration</category></item></channel></rss>