Wednesday, February 15, 2012

Error Accessing Server Report from VS2005

I've tried 2,505,767 things to get this to work and still can't. I
imagine there are others having a similar issue.
Get the following unhandled IOE from Visual Studio using a ReportViewer
control on a Server Report:
Client found response content type of '', but expected 'text/xml', The
request failed with an empty response.
Doesn't matter if there are parameters to the report or not. If I nav
to the URL of the report it works fine.Apparently, there's a security issue with a server report deploying
anywhere other than the Home \\server\ReportServer folder... Microsoft
is looking into this.|||Do you have any MSDN or other Microsoft URL's about this issue? We're
experiencing the same thing, but moving the report to our home folder
didn't fix it for us. Thanks|||After discussion with Microsoft, apparently, the ReportView control
declaration needs to be specific. The reporting service project I had
contained multiple reports. Upon deploying one of them, a folder is
made for the project, and the report is placed in there. The following
corrected the problem.
Choose Report: <ServerReport>
Report Server URL: http://<servername>/ReportServer
Report Path: /<project>/<reportname>
The slashes and positioning of the paths is vital for this to work
correctly. Hope this helps!

No comments:

Post a Comment