SQL Server 2005 Reporting Services, Export report as Read Only

Posted on 2006-03-30
Medium Priority
Last Modified: 2008-02-01
I built a report using SQL Server 2005 reporting services and Visual Studio 2005. Is there a way to make the exports read only. I don't want them to export it to excel, for example, and be able to edit.
Question by:lyptus
  • 2
  • 2
LVL 14

Expert Comment

ID: 16340548

Not sure you can, as RS is limited on what it can get the exports to do.  If you export to PDF, unless the user has the full version of acrobat, this export would be read only.  TIFF export's would also be readonly.

Maybe you could write a custom rendering extension that does this, but it's a lot of work for the result!

Author Comment

ID: 16342607
simon kirk -
Where would I write the customer rendering extension? Is it in the rsreportserver.config file? I saw there were rendering exts for the different exports there. I thought if I commented the excel line out then excel would not be available. However, this did not work. I'm not too concerned about the work load. I really need to make this happen.
Do you know anything about the rsreportserver.config file? If I can't make it read only I would like to have the exports that can be modified removed.
LVL 14

Accepted Solution

simon_kirk earned 2000 total points
ID: 16343077
Easiest way is to remove the export options that allow editing.  In the ReportServer config file add Visible="false" at the end of the extension you wish to hide.  e.g.

<Extension Name="EXCEL"Type="Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering" Visible="false"/>

Author Comment

ID: 16343268
I found out why it didn't work when I commented out the excel line in the config file. You have to restart IIS for it to take effect. So, if I can't set it to read only, I'll use this option.

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month16 days, 5 hours left to enroll

850 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