Configuring Reporting Services 2005

Copying ConnectCodeBarcodeLibrary.dll

The ConnectCodeBarcodeLibrary.dll file will need to be copied to the ReportServer\bin directory of SQL Server 2005. The default directiory is

C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting
Services\ReportServer\bin.

Editing rssrvpolicy.config to grant FullTrust permission

The rssrvpolicy.config is the Report Server policy configuration file.The default path for this file is

[MSSQLDIR]\MSSQL.2\Reporting Services\ReportServer\rssrvpolicy.config.

The following tag will need to be added to the rssrvpolicy.config file. It grants FullTrust permission to ConnectCodeBarcodeLibrary.dll in the Report Server.


<CodeGroup class="UnionCodeGroup" Name="BarcodeControl" version="1"
PermissionSetName="FullTrust"
Description="This code group grants ConnectCodeBarcodeLibrary.dll
FullTrust permission.">

<IMembershipCondition class="UrlMembershipCondition" version="1" Url="C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin\ConnectCodeBarcodeLibrary.dll"/>
</CodeGroup>

Configuring Reporting Services 2008

Copying ConnectCodeBarcodeLibrary.dll

You will need to copy ConnectCodeBarcodeLibrary.dll to the ReportServer\bin directory of SQL Server 2008. The default directiory is

C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\bin.

Editing rssrvpolicy.config to grant FullTrust permission

The rssrvpolicy.config is the Report Server policy configuration file.The default path for this file is

[MSSQLDIR]\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\rssrvpolicy.config.

The following tag will need to be added to the rssrvpolicy.config file. It grants FullTrust permission to ConnectCodeBarcodeLibrary.dll in the Report Server.


<CodeGroup class="UnionCodeGroup" Name="BarcodeControl" version="1"
PermissionSetName="FullTrust"
Description="This code group grants ConnectCodeBarcodeLibrary.dll
FullTrust permission.">

<IMembershipCondition class="UrlMembershipCondition" version="1"
Url="C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting
Services\ReportServer\bin\ConnectCodeBarcodeLibrary.dll"/> </CodeGroup>

Configuring Reporting Services 2012

Copying ConnectCodeBarcodeLibrary.dll

You will need to copy ConnectCodeBarcodeLibrary.dll to the ReportServer\bin directory of SQL Server 2012. The default directiory is

C:\Program Files\Microsoft SQL Server\MSRS11.INSTANCENAME\Reporting Services\ReportServer\bin.

Editing rssrvpolicy.config to grant FullTrust permission

The rssrvpolicy.config is the Report Server policy configuration file.The default path for this file is

[MSSQLDIR]\MSRS11.INSTANCENAME\Reporting Services\ReportServer\rssrvpolicy.config.

The following tag will need to be added to the rssrvpolicy.config file. It grants FullTrust permission to ConnectCodeBarcodeLibrary.dll in the Report Server.


<CodeGroup class="UnionCodeGroup" Name="BarcodeControl" version="1"
PermissionSetName="FullTrust"
Description="This code group grants ConnectCodeBarcodeLibrary.dll
FullTrust permission.">

<IMembershipCondition class="UrlMembershipCondition" version="1"
Url="C:\Program Files\Microsoft SQL Server\MSRS11.INSTANCENAME
\Reporting Services\ReportServer\bin\ConnectCodeBarcodeLibrary.dll"/> </CodeGroup>

Note : If you are using the .Net 4.0 ConnectCodeBarcodeLibrary.dll, please change the version to "3".