Thursday, March 22, 2012

Barcode doen't display when run from the Report Server

Hi All,
I have a barcode that I use on one of my reports. When I test it on locally, the barcode displays and exports to PDF fine. I have made use of the barcode code samples on this forum (thanks), that makes use of a barcode font (FREE3OF9.TTF) that results in the DLL assemlbly (ReportUtils.DLL) returning a byte.
I have done the following on my local machine:
- Installed the FREE3OF9.TTF font.
- copied the DLL on my local machine to :
C:\Program Files\Microsoft SQL Server\80\Tools\Report Designer\ReportUtils.dll
- Added the following codegroup to rspreviewpolicy.config :
<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust"
Name="ReportUtils"
Description="Code group for my data processing extension">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="C:\Program Files\Microsoft SQL Server\80\Tools\Report Designer\ReportUtils.dll"/>
</CodeGroup>
and, done the following on the server machine:
- Installed the FREE3OF9.TTF font.
- copied the DLL on the report server to :
C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\bin\ReportUtils.dll
- Added the following codegroup to rssrvpolicy.config :
<CodeGroup
class="UnionCodeGroup"
version="1"
PermissionSetName="FullTrust"
Name="ReportUtils"
Description="Code group for my data processing extension">
<IMembershipCondition
class="UrlMembershipCondition"
version="1"
Url="C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\bin\ReportUtils.dll"/>
</CodeGroup>
I deploy and execute the report on the server and an X appears where the barcode used to be when I tested it locally.
Has anyone got any suggestions ? pleeeeez.
Thanks
GrahamHi Graham,
Am also stuck in the barcodeless in pdf predicament. Have you a solution or work-around yet ? Pdf's on the server with barcodes in them look great but not exporting them from reporting services. Any suggestions appreciated. Steve.
"Reevesie" wrote:
> Hi All,
> I have a barcode that I use on one of my reports. When I test it on locally, the barcode displays and exports to PDF fine. I have made use of the barcode code samples on this forum (thanks), that makes use of a barcode font (FREE3OF9.TTF) that results in the DLL assemlbly (ReportUtils.DLL) returning a byte.
> I have done the following on my local machine:
> - Installed the FREE3OF9.TTF font.
> - copied the DLL on my local machine to :
> C:\Program Files\Microsoft SQL Server\80\Tools\Report Designer\ReportUtils.dll
> - Added the following codegroup to rspreviewpolicy.config :
> <CodeGroup
> class="UnionCodeGroup"
> version="1"
> PermissionSetName="FullTrust"
> Name="ReportUtils"
> Description="Code group for my data processing extension">
> <IMembershipCondition
> class="UrlMembershipCondition"
> version="1"
> Url="C:\Program Files\Microsoft SQL Server\80\Tools\Report Designer\ReportUtils.dll"/>
> </CodeGroup>
> and, done the following on the server machine:
> - Installed the FREE3OF9.TTF font.
> - copied the DLL on the report server to :
> C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\bin\ReportUtils.dll
> - Added the following codegroup to rssrvpolicy.config :
> <CodeGroup
> class="UnionCodeGroup"
> version="1"
> PermissionSetName="FullTrust"
> Name="ReportUtils"
> Description="Code group for my data processing extension">
> <IMembershipCondition
> class="UrlMembershipCondition"
> version="1"
> Url="C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\bin\ReportUtils.dll"/>
> </CodeGroup>
> I deploy and execute the report on the server and an X appears where the barcode used to be when I tested it locally.
> Has anyone got any suggestions ? pleeeeez.
> Thanks
> Graham
>|||You need to embed font in the PDF file. Very easy to do that.
Take a look at http://www.morovia.com/support/|||I have been having exactly the same trouble. Has there been any progress on figuring out what is going wrong here?
Seth Ben-Ezra

No comments:

Post a Comment