all groups > sql server reporting services > march 2006 >
You're in the

sql server reporting services

group:

Reportservice2005.asmx throws an error in logonUser


Reportservice2005.asmx throws an error in logonUser Henrik Juel
3/3/2006 10:50:27 AM
sql server reporting services:
I have 2 instances of reportingservices 2005. Trying to use the one
ReportingServer with Forms Authentication like this

server.Url = @"http://web2/reportserver2/reportservice2005.asmx";
server.LogonUser(TxtUser.Text,TxtPwd.Text, null);

the logon method throws this :

System.Web.Services.Protocols.SoapException: Server did not recognize the
value of HTTP Header SOAPAction:
http://schemas.microsoft.com/sqlserver/2003/12/reporting/reportingservices/LogonUser.
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)

Is it not possible to have 2 reporting webservices running ? or do I need
some extra setup. The documentation says that it is not possible to call
logonUser without SSL. I dont use SSL. But I have seen examples that not uses
SSL. Is that a problem ?

--
Regards
RE: Reportservice2005.asmx throws an error in logonUser petery NO[at]SPAM online.microsoft.com
3/6/2006 3:15:01 AM
Hello Henrik,

As you know, LogonUser must be called over Secure Sockets Layer (SSL). The
method fails if it is not called securely. Upon successful authentication,
the report server Web service generates an authentication cookie and
returns the cookie in the HTTPS header. The response is returned over SSL.
Please refer to the following link for details:

http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswe
bservice.rsexecutionservice2005.reportexecutionservice.logonuser.aspx


In addition, this issue could occur your SOAP proxy version doesn't match
the server version. Please make sure the version you see when you navigate
to http://servername/reportserver/endpoint.asmx?wsdl is the same as the one
you use in your client proxy.

Or, you could try to remove/readd the reference to test.

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================


This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
[quoted text, click to view]
AddThis Social Bookmark Button