Tuesday, October 31, 2006

A bug in the Microsoft ReportViewer control

I found a bug in the Microsoft Report Viewer 2005 control. When used in LocalMode in an application that does not have a strongName signature, the reportViewer control saves temporary files to IsolatedStorage folder and does not ever delete the temporary files that it creates. So the result of this is that it takes up a lot of harddrive space, about 240k per page of the report. And when a report has 900 pages, this is a problemo. The problem is solved simply by making sure that your application has a strong name key (see the “signing” tab of project properties).

 

Nevertheless, this untidy habit of not cleaning up after itself caused me a lot of problems, several customer servers where this application is installed almost ran out of hard drive space because of this bug. Not good!

 

 

-Joseph

 

4 comments:

Michael Verville said...

We are suffering from the exact same problem. The Isolated Storage folder is filling up with gigabytes of data. Other than the obvious fix of signing our assemblies and deleting the isolated storage folder everytime a new report is generated, is there a way to circumvent the problem? I've searched quite a bit on the web and this is the only reference I've seen of this problem. Any feedback would be greatly appreciated.

Ariel Eckblad said...

Your articles make whole sense of every topic.kill bed bugs

Manar Koutb said...
This comment has been removed by the author.
الاء على said...

شركة الحارثي - شركة نقل اثاث من الرياض الى جدة
شركة نقل اثاث من الرياض الى جدة

شركة الحارثي -شركة جلى بلاط بالرياض


شركة جلى بلاط بالرياض

شركة الحارثي - شركة مكافحة الصراصير بالرياض

شركة مكافحة الصراصير بالرياض

شركة الحارثي - شركة مكافحة الفئران بالرياض

شركة مكافحة الفئران بالرياض

شركة الحارثي - شركة مكافحة بق الفراش بالرياض

شركة مكافحة بق الفراش بالرياض