Barcode CRI Deployment
To deploy Barcode CRI with your report projects that run in SERVER/REMOTE MODE, please follow up these steps:
Please, register your copy of Barcode Professional for SSRS as is stated in the License Registration topic.
Copy the Barcode Professional DLL for RS Assembly Neodynamic.ReportingServices.Barcode.dll located by default in [BarcodeInstallDir]\Redistributable\BarcodeCRI\ to the following folder depending on the SSRS version you have there:
Note
The folder [BarcodeInstallDir]\Redistributable\BarcodeCRI\ contains the Neodynamic.ReportingServices.Barcode.dll for both x64 and x86, so please select the one that matches the SSRS editions running in your server!
- For SSRS 2017 the folder is located at [ProgramFiles]\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 2014 with SharePoint 2013 the folder is located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\bin\
- For SSRS 2012 the folder is located at [MSSQLServerInstallDir]\MSRS11.x\Reporting Services\ReportServer\bin\
- For SSRS 2012 with SharePoint 2013 the folder is located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\bin\
- For SSRS 2008/R2 the folder is located at [MSSQLServerInstallDir]\MSRS10.x\Reporting Services\ReportServer\bin\
- For SSRS 2008/R2 with SharePoint 2010 the folder is located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\Reporting\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 [ProgramFiles]\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 2014 with SharePoint 2013, go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\
- For SSRS 2012, go to [MSSQLServerInstallDir]\MSRS11.x\Reporting Services\ReportServer\
- For SSRS 2012 with SharePoint 2013, go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\WebServices\Reporting\
- For SSRS 2008/R2, go to [MSSQLServerInstallDir]\MSRS10.x\Reporting Services\ReportServer\
- For SSRS 2008/R2 with SharePoint 2010, go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\Reporting\
- 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>
Configuring Barcode Custom Report Item in SSRS
If you have Reporting Services in Native Mode, then add the Barcode Professional Report Item into the Report Server configuration file rsreportserver.config on the target server. Depending on the SSRS version you have there, the rsreportserver.config file could be located at:
- 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\rsreportserver.config and look for the following entry:
<ReportItems> <ReportItem Name="NeodynamicBarcodeControl" Type="Neodynamic.ReportingServices.BarcodeReportItem, Neodynamic.ReportingServices.Barcode" /> </ReportItems>
If you have Reporting Services in SharePoint Integrated Mode, then open SharePoint Management Shell and run these commands:
$ssrs = Get-SPRSServiceApplication New-SPRSExtension -Identity $ssrs -ExtensionType "ReportItems" -Name "NeodynamicBarcodeControl" -TypeName "Neodynamic.ReportingServices.BarcodeReportItem, Neodynamic.ReportingServices.Barcode"