{"id":500,"date":"2012-11-23T10:17:53","date_gmt":"2012-11-23T10:17:53","guid":{"rendered":"http:\/\/www.bardecode.com\/newsite\/?p=500"},"modified":"2013-03-01T15:08:34","modified_gmt":"2013-03-01T15:08:34","slug":"softekbarcodelib2dll-systemiofileloadexception","status":"publish","type":"post","link":"https:\/\/www.bardecode.com\/newsite\/softekbarcodelib2dll-systemiofileloadexception\/","title":{"rendered":"SoftekBarcodeLib2.dll System.IO.FileLoadException"},"content":{"rendered":"<p>When distributing the SoftekBarcodeLib2.dll component you may find that you get an error message similar to the following:<\/p>\n<p>System.IO.FileLoadException: Could not load file or assembly &#8216;SoftekBarcodeLib2, Version=X.X.X.X Culture=neutral, PublicKeyToken=3c09a6b205d2b618&#8217; or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)<br \/>\nFile name: &#8216;SoftekBarcodeLib2, Version=X.X.X.X, Culture=neutral, PublicKeyToken=3c09a6b205d2b618&#8217; &#8212;&gt; System.Runtime.InteropServices.COMException (0x800736B1): This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)<\/p>\n<p>&nbsp;<\/p>\n<p><strong>For Version 7.4.1 and later&#8230;<\/strong><\/p>\n<p>For x86 based systems, the solution is to install the\u00a0<strong>Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)<\/strong>\u00a0from the following link:<\/p>\n<p>http:\/\/www.microsoft.com\/downloads\/en\/details.aspx?FamilyID=a5c84275-3b97-4ab7-a40d-3802b2af5fc2&#038;displaylang=en<\/p>\n<p>For x64 based systems, the solution is to install the\u00a0<strong>Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)<\/strong>\u00a0from the following link:<\/p>\n<p>http:\/\/www.microsoft.com\/downloads\/en\/details.aspx?familyid=ba9257ca-337f-4b40-8c14-157cfdffee4e&#038;displaylang=en<\/p>\n<p>&nbsp;<\/p>\n<p><strong><br \/>\n<\/strong><\/p>\n<p><strong>For Version 7.3.1 and earlier&#8230;<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>The solution is to install the\u00a0<strong>Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)\u00a0<\/strong>either from the following link:<\/p>\n<p><a href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&amp;displaylang=en\">http:\/\/www.microsoft.com\/downloads\/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&amp;displaylang=en<\/a><\/p>\n<p>or include the Visual C++ run-time library files as a prerequisite when you publish your application.<\/p>\n<p>You can also download and install one of the following ready made install sets, created from the Visual Studio publish wizard. This installs a simple demo application that uses the trial version of the SoftekBarcodeLib2.dll file.<\/p>\n<p>Visual Studio 2008:<\/p>\n<p><a href=\"http:\/\/www.bardecode.com\/downloads\/SoftekBarcodeLib2Publish.zip\">http:\/\/www.bardecode.com\/downloads\/SoftekBarcodeLib2Publish.zip<\/a><\/p>\n<p>Visual Studio 2005<\/p>\n<p><a href=\"http:\/\/www.bardecode.com\/downloads\/SoftekBarcodeLib2Publish_vs2005.zip\">http:\/\/www.bardecode.com\/downloads\/SoftekBarcodeLib2Publish_vs2005.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When distributing the SoftekBarcodeLib2.dll component you may find that you get an error message similar to the following: System.IO.FileLoadException: Could not load file or assembly &#8216;SoftekBarcodeLib2, Version=X.X.X.X Culture=neutral, PublicKeyToken=3c09a6b205d2b618&#8217; or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from &hellip; <\/p>\n","protected":false},"author":1,"featured_media":326,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,31],"tags":[32,19,33,34,21],"class_list":["post-500","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge-base","category-software-development-kits","tag-dll","tag-barcode","tag-component","tag-microsoft-visual-c","tag-programming"],"_links":{"self":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts\/500"}],"collection":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/comments?post=500"}],"version-history":[{"count":4,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts\/500\/revisions"}],"predecessor-version":[{"id":1641,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts\/500\/revisions\/1641"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/media\/326"}],"wp:attachment":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/media?parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/categories?post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/tags?post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}