{"id":321,"date":"2018-12-20T21:02:00","date_gmt":"2018-12-20T20:02:00","guid":{"rendered":"http:\/\/wp.bizoir.dk\/?p=321"},"modified":"2018-12-22T16:24:44","modified_gmt":"2018-12-22T15:24:44","slug":"cannot-add-resource-to-biztalk-no-clb-data-in-the-memory-or-stream","status":"publish","type":"post","link":"https:\/\/wp.bizoir.dk\/?p=321","title":{"rendered":"Cannot add resource to Biztalk &#8211; No .CLB data in the memory or stream"},"content":{"rendered":"<p>We are running a Biztalk 2016 env., and here I have experienced issues when adding a BiztalkAssembly to Biztalk using the rightclick + &#8220;<a href=\"https:\/\/docs.microsoft.com\/en-us\/biztalk\/core\/how-to-add-a-biztalk-assembly-to-an-application\">Add Resource<\/a>&#8221; on an Application in the Biztalk Admin Console. It gives this error:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-324 size-full\" src=\"http:\/\/wp.bizoir.dk\/wp-content\/uploads\/2018\/12\/Biztalk_Depl_NoCLB.png\" alt=\"\" width=\"608\" height=\"234\" srcset=\"https:\/\/wp.bizoir.dk\/wp-content\/uploads\/2018\/12\/Biztalk_Depl_NoCLB.png 608w, https:\/\/wp.bizoir.dk\/wp-content\/uploads\/2018\/12\/Biztalk_Depl_NoCLB-300x115.png 300w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<p>It currently only occurs with a single DLL, containing a schema, where there are LOTS of maps that Biztalk want to remove (and redeploy afterwards) before adding this schema.<\/p>\n<p>It gives exactly the same error, if I try to add the resource using BTSTASK<\/p>\n<pre>BTSTASK AddResource -ApplicationName:\"Object.Invoice\" -Type:\"System.BizTalk:BizTalkAssembly\" -OverWrite -Options:GacOnAdd,GacOnImport,GacOnInstall -Server:biztalkdev01\\dbinst01 -Database:BizTalkMgmtDb -Source:c:\\dll\\BizTalk.Object.Invoice.Schemas.CDM_Invoice.dll<\/pre>\n<p>It also makes no difference, if I run the BTSTASK in a standard CMD or as &#8220;Administrator&#8221;<\/p>\n<p>The only thing that works, is if I add the resource from another directory, than the one I added it from the previous time. In the example above, it works, if I change the source to &#8220;c:\\dll2\\&#8230;&#8230;&#8221; (and copy the DLL there)<\/p>\n<p>[srs_total_visitors]<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are running a Biztalk 2016 env., and here I have experienced issues when adding a BiztalkAssembly to Biztalk using the rightclick + &#8220;Add Resource&#8221; on an Application in the Biztalk Admin Console. It gives this error: It currently only occurs with a single DLL, containing a schema, where there are LOTS of maps that &hellip; <a href=\"https:\/\/wp.bizoir.dk\/?p=321\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Cannot add resource to Biztalk &#8211; No .CLB data in the memory or stream&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[5],"class_list":["post-321","post","type-post","status-publish","format-standard","hentry","category-biztalk","tag-msbiztalk"],"_links":{"self":[{"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/posts\/321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=321"}],"version-history":[{"count":7,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/posts\/321\/revisions"}],"predecessor-version":[{"id":333,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=\/wp\/v2\/posts\/321\/revisions\/333"}],"wp:attachment":[{"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.bizoir.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}