Solved

Problem maintaining fonts with SSRS and ASP.Net Report Viewer

Posted on 2009-04-07
2
1,002 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:
Jason Scolaro 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

785 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