<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>GAC on Marko Apfel</title><link>http://blog.marko-apfel.de/tags/gac/</link><description>Recent content in GAC on Marko Apfel</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 03 Jan 2013 21:56:00 +0100</lastBuildDate><atom:link href="http://blog.marko-apfel.de/tags/gac/index.xml" rel="self" type="application/rss+xml"/><item><title>Accessing GAC-files in Explorer without registry hacks</title><link>http://blog.marko-apfel.de/posts/accessing-gac-files-in-explorer-without-registry-hacks/</link><pubDate>Thu, 03 Jan 2013 21:56:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/accessing-gac-files-in-explorer-without-registry-hacks/</guid><description>&lt;h2 id="problem"&gt;Problem&lt;/h2&gt;
&lt;p&gt;If you go in Explorer to the GAC folder (&lt;code&gt;%windir%\Assembly&lt;/code&gt;) a shell extension gives you a special view of the content there:&lt;/p&gt;
&lt;p&gt;&lt;a href="image_2.png"&gt;&lt;figure&gt;
 &lt;img src="http://blog.marko-apfel.de/posts/accessing-gac-files-in-explorer-without-registry-hacks/image_thumb.png" alt="image" loading="lazy" decoding="async" title="image"&gt;&lt;figcaption&gt;image&lt;/figcaption&gt;&lt;/figure&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In this view you couldn’t copy the DLLs to somewhere else.&lt;/p&gt;</description></item><item><title>Break the mechanism, that GAC-assemblies could only bind to other GAC-assemblies</title><link>http://blog.marko-apfel.de/posts/break-the-mechanism-that-gac-assemblies-could-only-bind-to-other-gac-assemblies/</link><pubDate>Tue, 31 May 2011 08:30:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/break-the-mechanism-that-gac-assemblies-could-only-bind-to-other-gac-assemblies/</guid><description>&lt;p&gt;Till yet I thought, that if you have an assembly in the GAC all referenced assemblies must also be in the GAC. So a break of this GAC-assembly resolving chain is impossible.&lt;/p&gt;</description></item><item><title>Compiler-Error: error MSB3217</title><link>http://blog.marko-apfel.de/posts/compiler-error-error-msb3217/</link><pubDate>Thu, 08 Jan 2009 11:54:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/compiler-error-error-msb3217/</guid><description>&lt;p&gt;Since several days during compilation i had the error:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Cannot register assembly &amp;#34;Foo.dll&amp;#34;.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Exception has been thrown by the target of an invocation.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In the output-window with diagnostic compile information the following statement was listed:&lt;/p&gt;</description></item><item><title>Referenzieren von Assemblys im GAC</title><link>http://blog.marko-apfel.de/posts/referenzieren-von-assemblys-im-gac/</link><pubDate>Mon, 16 Apr 2007 16:00:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/referenzieren-von-assemblys-im-gac/</guid><description>&lt;p&gt;Das Referenzieren von Assemblys im GAC, die nicht auf dem .NET-Reiter des Add-Reference-Dialogs erscheinen macht man wie folgt:&lt;/p&gt;
&lt;p&gt;Auf den Browse-Reiter wechseln und im File-Name-Feld dann vollen Namen zur DLL im GAC angeben.&lt;/p&gt;</description></item><item><title>GACing und Kopieren nach dem Kompilieren</title><link>http://blog.marko-apfel.de/posts/gacing-und-kopieren-nach-dem-kompilieren/</link><pubDate>Thu, 08 Mar 2007 13:00:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/gacing-und-kopieren-nach-dem-kompilieren/</guid><description>&lt;p&gt;Beim Entwickeln eigener Functoide (Custom Functoids) und deren Verwendung im BizTalk Mapper muss das Kompilat sowohl in den GAC als auch ins Verzeichnis &lt;code&gt;c:\Program Files\Microsoft BizTalk Server 2006\Developer Tools\Mapper Extensions&lt;/code&gt; kopiert werden.&lt;/p&gt;</description></item><item><title>Developing own Custom Functoid for BizTalk</title><link>http://blog.marko-apfel.de/posts/developing-own-custom-functoid-for-biztalk/</link><pubDate>Fri, 28 Apr 2006 18:15:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/developing-own-custom-functoid-for-biztalk/</guid><description>&lt;p&gt;Eigene Functoide für den BizTalk zu entwickeln ist ziemlich easy. Die Dokumentation mit den Beispielen ist OK und ausreichend.&lt;/p&gt;
&lt;p&gt;Trotzdem gibt es ein paar Dinge die man im Eifer des Gefechtes schnell mal übersieht.&lt;/p&gt;</description></item><item><title>BizTalk und NameSpaces</title><link>http://blog.marko-apfel.de/posts/biztalk-und-namespaces/</link><pubDate>Thu, 23 Mar 2006 23:45:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/biztalk-und-namespaces/</guid><description>&lt;p&gt;Unterschiedliche Namespaces zwischen Schemas und Instanzen führen immer wieder zu kryptischen Fehlermeldungen.&lt;/p&gt;
&lt;p&gt;Die Erfahrung zeigt, dass es einige besonders tückische Stellen gibt, die man sofort verifizieren sollte.&lt;/p&gt;
&lt;h2 id="typische-fehlermeldungen"&gt;Typische Fehlermeldungen&lt;/h2&gt;
&lt;h3 id="namespace-referenzierung-in-der-instanz-passt-nicht-zur-deklarierten-im-schema"&gt;Namespace-Referenzierung in der Instanz passt nicht zur deklarierten im Schema&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;There was a failure executing the receive pipeline: &amp;#34;Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Source: &amp;#34;XML disassembler&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Receive Port: &amp;#34;RpIn&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;URI: &amp;#34;C:File_InMiniTest*.xml&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Reason: Finding document specification by message type &amp;#34;de.MeineFirma.EAI.Schema.FalscherTyp#MyEntity&amp;#34; failed.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Verify that the schema is deployed properly.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="komplette-namespace-referenzierung-in-der-instanz-vergessen"&gt;Komplette Namespace-Referenzierung in der Instanz vergessen&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;There was a failure executing the receive pipeline: &amp;#34;Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Source: &amp;#34;XML disassembler&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Receive Port: &amp;#34;RpIn&amp;#34; URI: &amp;#34;C:File_InMiniTest*.xml&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Reason: Finding document specification by message type &amp;#34;MyEntity&amp;#34; failed. Verify that the schema is deployed properly.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="receive-pipeline-falsch-konfiguriert-zb-auf-passthrureceive-anstatt-auf-xmlreceive"&gt;Receive-Pipeline falsch konfiguriert, z.B. auf PassThruReceive anstatt auf XMLReceive&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;The Messaging engine failed to process a message submitted by adapter:FILE Source
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;URL:C:File_InMiniTest*.xml.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Details:The published message could not be routed because no subscribers were found.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;This error occurs if the subscribed orchestration schedule or send port has not been started, 
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;or if some of the message properties necessary for subscription evaluation have not been promoted.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="folgende-einstellungen-sollten-immer-passen"&gt;Folgende Einstellungen sollten immer passen&lt;/h2&gt;
&lt;h3 id="schema-an-sich-auswahl-der-xsd-datei"&gt;Schema an sich (Auswahl der XSD-Datei)&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Namespace: de.MeineFirma.EAI.Schema
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Type Name: MeinTyp
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;macht zusammen für den Full Qualified Name ein de.MeineFirma.EAI.Schema.MeinTyp&lt;/p&gt;</description></item><item><title>BizTalk Server 2006 Error: Loading document specification XYZ from assembly XYZ failed.</title><link>http://blog.marko-apfel.de/posts/biztalk-server-2006-error-loading-document-specification-xyz-from-assembly-xyz-failed/</link><pubDate>Mon, 20 Mar 2006 02:00:00 +0100</pubDate><guid>http://blog.marko-apfel.de/posts/biztalk-server-2006-error-loading-document-specification-xyz-from-assembly-xyz-failed/</guid><description>&lt;p&gt;Obwohl die Assemblies mit den Schemas im GAC und deployed sind, kommt es beim Aufpicken einer Schemainstanz zu 2 Fehlereinträgen im Eventlog und die Message wird supended.&lt;/p&gt;
&lt;h2 id="fehler"&gt;Fehler&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Event Id: 5753
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;A message received by adapter &amp;#34;FILE&amp;#34; on receive location &amp;#34;XML&amp;#34; with URI &amp;#34;C:File_InORDERS01*.xml&amp;#34; is suspended. 
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Error details:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;There was a failure executing the receive pipeline:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&amp;#34;Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Source: &amp;#34;XML disassembler&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Receive Port: &amp;#34;RpORDERS01&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;URI: &amp;#34;C:File_InORDERS01*.xml&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Reason: Loading document specification from assembly failed. Verify that the schema for this document specification is deployed and placed in the Global Assembly Cache.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;und&lt;/p&gt;</description></item></channel></rss>