I've a large web application solution in Visual Studio. This solution contains some RDLC (client report files) in its folders. Whenever I publi开发者_如何学Csh it using Visual Studio, all *.rdlc files breaks. Indeed they convert to files with 1 KB size.
Why this happens and how can I fix it?
i had a problem after publishing web application to IIS 7.0, the problem was that the reports were not rendered, however, i did the following and it worked for me :
1- download ReportViewer2008-2005 Redistributable from here and install it on hosting machine
2- go to IIS Manager --> choose the Web Application which contains the reports, and then choose Handler Mappings
3- when in Handler Mappings, Add a new Handler, Set its info as the following:
Request Path : Reserved.ReportViewerWebControl.axd
Type: Microsoft.Reporting.WebForms (different verisons might be found, so use the latest)
Name: Reserved.ReportViewerWebControl.axd
i hope this helps.
精彩评论