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 'SoftekBarcodeLib2, Version=7.1.4.16, Culture=neutral, PublicKeyToken=3c09a6b205d2b618' 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)
File name: 'SoftekBarcodeLib2, Version=7.1.4.16, Culture=neutral, PublicKeyToken=3c09a6b205d2b618' ---> 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)
The solution is to install the Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) either from the following link:
or include the Visual C++ run-time library files as a prerequisite when you publish your application.
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.
Visual Studio 2008:
http://www.bardecode.com/downloads/SoftekBarcodeLib2Publish.zip
Visual Studio 2005
http://www.bardecode.com/downloads/SoftekBarcodeLib2Publish_vs2005.zip



