Barcode DLL Configuration
Important
- If you ONLY want to use Barcode Professional with Visual Studio ReportViewer Controls i.e. using reports in LOCAL MODE (Client-side processing RDLC), the configuration steps described below ARE NOT NECESSARY
In order the Barcode DLL component can be used in Visual Studio (or BIDS or SSDT) and Reporting Services, it must be configured in some *.config files as well as copied to some specific folders.
The configuration process can be accomplished in two different ways: Wizard-assisted or Manually
Wizard-assisted Configuration
The Neodynamic Barcode Configuration Tool can be launched from Start > All Programs > Neodynamic > Barcode Professional for Reporting Services > Configuration Tool and the physical file of this tool should be located in [BarcodeInstallDir]\Tools\NeodynamicBarcodeConfigTool.exe
Note
Neodynamic Barcode Configuration Tool requires .NET Framework 2.0+ with its latest service pack
Important
- We highly recommend you backup the Reporting Services configuration files affected before continuing the configuration process.
- The Configuration Tool must not be executed in Production Report Servers! Please refer to the Barcode DLL Deployment topic instead.
After launching the Neodynamic Barcode Configuration Tool, the first step is to specify what action you want to accomplish i.e. start the configuration process or remove a current configuration. Just click on the appropriate button on the screen and follow up the instructions.
Manual Configuration
Visual Studio (or SSDT or BIDS) Configuration
Please follow up the following steps in the machine where you develop & design your RDL reports:
Copy the Barcode Professional DLL for RS Assembly located by default in [BarcodeInstallDir]\Bin\BarcodeDLL\Neodynamic.ReportingServices.Barcode.dll to the following folder depending on the Visual Studio (or SSDT or BIDS) version you have there:
- For VS2017+ the folder is located at [VSInstallDir]\Common7\IDE\CommonExtensions\Microsoft\SSRS
- For VS2015/VS2013/VS2012/VS2010/VS2008/VS2005 the folder is located at [VSInstallDir]\Common7\IDE\PrivateAssemblies
Add Barcode Professional in VS's RSPreviewPolicy.config file. Depending on the Visual Studio (or SSDT or BIDS) version you have there, the RSPreviewPolicy.config file could be located at:
- For VS2017+, go to [VSInstallDir]\Common7\IDE\CommonExtensions\Microsoft\SSRS
- For VS2015/VS2013/VS2012/VS2010/VS2008/VS2005, go to [VSInstallDir]\Common7\IDE\PrivateAssemblies
Open this file using NotePad and change it as it's stated in the config files we've included in our installation folder [BarcodeInstallDir]\Config Files Sample\RSPreviewPolicy.config and look for the following entry:
<CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Name="NeodynamicBarcodeControl" Description="This code group grants FullTrust to Neodynamic Barcode Professional for Reporting Services assembly."> <IMembershipCondition class="StrongNameMembershipCondition" version="1" PublicKeyBlob="0024000004800000940000000602000000240000525341310004000001000100AB4EE885870B9FFB1AA61F0D42494FBD581B32D8B332B314698D557F603FBCC3733E8F727FDF9F1ADEBD9AF1DA0A50E7FCF6C60725AA8BFCA478A0E7FBF1D791712594E2375CB07A0BE0F24D31829F9830D7FDC72EEA3CD5A0E39C22E347E3B1CABDE32ABA9CAF81CCF938FD730C451B86BD8DC6250078DFD88838DF4D9C73A7" /> </CodeGroup>
Reporting Services Configuration
Note
If you DO NOT HAVE Reporting Services (Report Server) installed locally in the machine where you develop & design your RDL reports, then the configuration steps described below ARE NOT NECESSARY.
Please follow up all the steps stated in the Barcode DLL Deployment topic.