question

ben 2 avatar image
ben 2 asked

Creating the Web Service reporting 2008 error

I am trying to connect to the web service of reporting services at http:///reportserver/ReportService2005.asmx I'm getting an error Bad Request (Invalid Hostname)

Also with port 8080 from c# or web browser

The reports are working well and I have all the connction to the server

ben

sql-server-2008ssrs
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

RickD avatar image
RickD answered

The reports work well from where exactly?

Also, is this the definite name of your local reports website? Is this the name you gave it in the Reporting Configuration Tool?

Also, what OS are you using?

10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tom 1 1 avatar image
Tom 1 1 answered

As Rick said where are you pointing to? if you are pointing to another server you might have to pass on credentials

rptViewer.ServerReport.ReportServerCredentials = new ReportServerCredentials("username", "password", "domain");

I used the above to connect to SSRS on another server

10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.