Solved

Problem maintaining fonts with SSRS and ASP.Net Report Viewer

Posted on 2009-04-07
2
998 Views
Last Modified: 2012-05-06
Environment SQL Server 2005, VS 2008, Server 2003

When using SSRS I 1) Create a report using BIDS, 2) Deploy to the report server, 3) Develope ASP.Net app w/ReportViewer control, 4) Preview looks great but when I run in Debug mode the body of the report has an incorrect font, 5) Export to PDF file is fine.

No code involved; just a SSRS BIDS Report and an ASP.Net Report Viewed Control.
0
Comment
Question by:edbowles
2 Comments
 
LVL 22

Accepted Solution

by:
scolja earned 250 total points
ID: 24130154
The joys of SSRS -- I've had issues like this, too.  I'm pretty sure if you try different browsers some show the correct font, some don't (IE?).  I think I got around this issue by using CSS and setting the font and styles that way.  For some reason the ReportViewer just doesn't want to play nicely with what you've constructed in BIDS.  See if some basic CSS helps.  

FYI - Using Firefox with the Firebug extension can help a lot in identifying what CSS classes to use for specific manipulation of styles.

Good luck.

<style type="text/css">

 body { font-family: Verdana; }

</style>

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now