sql server reporting services:
Hi,
Env: Win2003 SP1 + SQL 2005 + SQL 2005 reporting service (named
instance). I have local admin privilege.
I tried to follow the example described in
http://msdn2.microsoft.com/en-us/library/ms345334.aspx to set up web
service as data source in SQL reporting service 2005.
My data source URL is
http://localhost/reportserver$minuet/reportservice2005.asmx
My query is
<Query>
<SoapAction>
http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportservices/ListChildren</SoapAction>
</Query>
But I keep getting the following errors:
===================================
An error occurred while executing the query.
Failed to execute web request for the specified URL. (Microsoft Report
Designer)
===================================
Failed to execute web request for the specified URL.
(Microsoft.ReportingServices.DataExtensions)
------------------------------
Program Location:
at
Microsoft.ReportingServices.DataExtensions.XmlDP.InMemoryCommand.ExecuteWebRequest(ICredentials
credentials)
at
Microsoft.ReportingServices.DataExtensions.XmlDP.InMemoryCommand.Execute()
at
Microsoft.ReportingServices.DataExtensions.XmlDP.InMemoryCommand.<>c__DisplayClass1.<ExecuteReader>b__0()
at
Microsoft.ReportingServices.DataExtensions.XmlDP.WebRequestHelper.ExecuteServerCallAsNtUser(ServerCall
serverCall, WindowsIdentity ntUser)
at
Microsoft.ReportingServices.DataExtensions.XmlDP.InMemoryCommand.ExecuteReader(CommandBehavior
behavior)
at
Microsoft.ReportingServices.QueryDesigners.QueryResultsGrid.ExecuteQuery()
===================================
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="
http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>System.Web.Services.Protocols.SoapException:
Server did not recognize the value of HTTP Header SOAPAction:
http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportservices/ListChildren. at
System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at
System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage
message)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type
type, HttpContext context, HttpRequest request, HttpResponse response,
Boolean& abortProcessing)</faultstring><detail
/></soap:Fault></soap:Body></soap:Envelope>
-------
The IIS log file has the following entries:
2006-02-09 01:48:45 127.0.0.1 POST
/reportserver$minuet/reportservice2005.asmx - 80 - 127.0.0.1 - 401 2
2148074254
2006-02-09 01:48:45 127.0.0.1 POST
/reportserver$minuet/reportservice2005.asmx - 80 - 127.0.0.1 - 401 1 0
--------
All of the above seemed to suggest there is a permission/credential
issue. But I was able to use IE to connect to
http://localhost/reportserver$minuet/reportservice2005.asmx without
problem.
Any ideas what went wrong? Any suggestions/pointers are appreciated.
Thanks.
Kong