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 10.0 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 or [VSInstallDir]\Common7\IDE\CommonExtensions\Microsoft\SSDTRS
- 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 or [VSInstallDir]\Common7\IDE\CommonExtensions\Microsoft\SSDTRS
- 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. If your target Report Server is running on another machine, then refer to Barcode DLL Deployment topic.
Please follow up the following steps in the machine where you develop & design your RDL reports with a local instance of Reporting Services:
Copy the Barcode Professional DLL for RS Assembly Neodynamic.ReportingServices.Barcode.dll located by default in [BarcodeInstallDir]\Redistributable\BarcodeDLL\ to the following folder depending on the SSRS version you have there:
Note
The folder [BarcodeInstallDir]\Redistributable\BarcodeDLL\ contains the Neodynamic.ReportingServices.Barcode.dll for both x64 and x86, so please select the one that matches the SSRS editions running in your machine!
- For SSRS 2017 the folder is located at [Program Files]\Microsoft SQL Server Reporting Services\SSRS\ReportServer\bin\
- For SSRS 2016 the folder is located at [MSSQLServerInstallDir]\MSRS13.x\Reporting Services\ReportServer\bin\
- For SSRS 2014 the folder is located at [MSSQLServerInstallDir]\MSRS12.x\Reporting Services\ReportServer\bin\
- For SSRS 2012 the folder is located at [MSSQLServerInstallDir]\MSRS11.x\Reporting Services\ReportServer\bin\
- For SSRS 2008/R2 the folder is located at [MSSQLServerInstallDir]\MSRS10.x\Reporting Services\ReportServer\bin\
- For SSRS 2005 the folder is located at [MSSQLServerInstallDir]\MSSQL.x\Reporting Services\ReportServer\bin\
Add Barcode Professional in SSRS's rssrvpolicy.config file. Depending on the SSRS version you have there, the rssrvpolicy.config file could be located at:
- For SSRS 2017, go to [Program Files]\Microsoft SQL Server Reporting Services\SSRS\ReportServer\
- For SSRS 2016, go to [MSSQLServerInstallDir]\MSRS13.x\Reporting Services\ReportServer\
- For SSRS 2014, go to [MSSQLServerInstallDir]\MSRS12.x\Reporting Services\ReportServer\
- For SSRS 2012, go to [MSSQLServerInstallDir]\MSRS11.x\Reporting Services\ReportServer\
- For SSRS 2008/R2, go to [MSSQLServerInstallDir]\MSRS10.x\Reporting Services\ReportServer\
- For SSRS 2005, go to [MSSQLServerInstallDir]\MSSQL.x\Reporting Services\ReportServer\
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\rssrvpolicy.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>