开发者

RDLC will be broken when publishing a web site with Visual Studio

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜