{"id":7320,"date":"2014-06-07T02:25:00","date_gmt":"2014-06-07T02:25:00","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/06\/07\/reportviewer-9-0-on-iis-7-not-rendering-collection-of-common-programming-errors\/"},"modified":"2014-06-07T02:25:00","modified_gmt":"2014-06-07T02:25:00","slug":"reportviewer-9-0-on-iis-7-not-rendering-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/06\/07\/reportviewer-9-0-on-iis-7-not-rendering-collection-of-common-programming-errors\/","title":{"rendered":"ReportViewer 9.0 on IIS 7 not rendering-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/82f3a14192cf2dc06619b3b5c6e031e8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nChristopher Rathermel<\/p>\n<p>I have a reportviewer control that works fine locally and on a iis 6.0 box, but when deployed to the IIS 7 webserver, the control has broken images. The report does return data but the top bar has broken images and buttons.<\/p>\n<p>Using Fiddler I see that the images requests are returning a 404 or 500 error. I got the 500 after changing some HTTP handler stuff.<\/p>\n<p>There is a lot of stuff on the web about this error and I have tried them all but w\/ no luck.<\/p>\n<p><strong>Things I have checked<\/strong><\/p>\n<ol>\n<li>Installed reportViewer 9.0 on the new iis 7 server.<\/li>\n<li>Verified the installed dlls in the GAC.<\/li>\n<li>Added the new http handlers to the web.config (see web.config below). Tried manualy editing the web.config and adding the handler in via IIS 7<\/li>\n<li>I have tried running the application in classic mode vs integrated and it still doesn&#8217;t work (some people reported have success running in classic mode).<\/li>\n<\/ol>\n<p>Another note is that my broken images look a little different compaired to reports of other users on the web. Not sure if it is just a browser difference or what..<\/p>\n<p><strong>My Error:<\/strong> <img decoding=\"async\" src=\"http:\/\/lh5.ggpht.com\/_x4JbK5ob_J0\/TCS-1n9K9QI\/AAAAAAAABNc\/3IFohatC7PI\/s912\/reportViewerError.jpg\" \/><\/p>\n<p><strong>This is what other people are reporting<\/strong> <img decoding=\"async\" src=\"http:\/\/blogs.msdn.com\/blogfiles\/webtopics\/WindowsLiveWriter\/ReportViewerToolbardoesnotrenderproper.0_9FA1\/SSRStoolbar_thumb.jpg\" \/><\/p>\n<p><strong>Web.Config<\/strong><\/p>\n<pre><code>\n<\/code><\/pre>\n<pre><code>\n\n\n\n\n    \n        \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n        \n        \n            \n        \n    \n    \n        \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n            \n        \n        \n            \n            \n            \n            \n        \n    \n    \n    \n    \n    \n    \n    \n    \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n    \n    \n        \n    \n\n\n    \n        \n            \n            \n        \n        \n            \n            \n            \n        \n    \n\n\n\n    \n    \n        \n        \n    \n    \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n        \n    \n\n\n    \n        \n            \n            \n        \n        \n            \n            \n        \n    \n\n<\/code><\/pre>\n<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/82f3a14192cf2dc06619b3b5c6e031e8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nChristopher Rathermel<\/p>\n<p>I actually fixed this issue by coping some of the asp_client files from the root to my specific web application.<\/p>\n<p>Example:<\/p>\n<p>Take this content: C:\\inetpub\\wwwroot\\aspnet_client\\system_web\\2_0_50727\\CrystalReportWebFormViewer4<\/p>\n<p>And copy to here: C:\\inetpub\\wwwroot\\WebAppFolderName\\aspnet_client\\system_web\\2_0_50727\\CrystalReportWebFormViewer4<\/p>\n<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4d5b060ad97e0d3b71a984fc8ad4bd35?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRaj Kaimal<\/p>\n<p>From your trace, it looks like you are using Crystal Reports. You may need to install the Crystal Reports runtime on your server.<\/p>\n<p>http:\/\/resources.businessobjects.com\/support\/additional_downloads\/runtime.asp<\/p>\n<p>&#8211;update&#8211;<\/p>\n<p>try this handler instead<\/p>\n<pre><code>    \n<\/code><\/pre>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Christopher Rathermel I have a reportviewer control that works fine locally and on a iis 6.0 box, but when deployed to the IIS 7 webserver, the control has broken images. The report does return data but the top bar has broken images and buttons. Using Fiddler I see that the images requests are returning a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7320","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7320"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7320\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}