Monday, February 13, 2012

401 : Unauthorized

Having a hard time finding this one. Have gone as far as having everyone-
full control.
w2k3
rssp2
Any ideas anyone?
System.Net.WebException: The request failed with HTTP status 401:
Unauthorized.
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at smarter.ReportService.ReportingService.GetReportDefinition(String
Report)
at smarter.ReportRetrieval.generate_report()I have these problems when the security used in IIS is different from the
caller.
For example, if IIS is configured to Basic authentication, then an NTLM
authenticated user can't access it, and the rverse is possible too.
Also I have this problem with remote access, like the RS utility.
The RS utility works remotly only if IIS is in Basic authentication mode!
in mixed mode (Basic + NTLM) the utility doesn't works.
So, what is your config, and how do you access RS?
custom code? /Reports himself? 2 differents web servers? etc...
"John Holt" <johnh@.regionv.k12.mn.us> wrote in message
news:eP7GLzygFHA.1444@.TK2MSFTNGP10.phx.gbl...
> Having a hard time finding this one. Have gone as far as having everyone-
> full control.
> w2k3
> rssp2
> Any ideas anyone?
> System.Net.WebException: The request failed with HTTP status 401:
> Unauthorized.
> at
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
> message, WebResponse response, Stream responseStream, Boolean asyncCall)
> at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> methodName, Object[] parameters)
> at smarter.ReportService.ReportingService.GetReportDefinition(String
> Report)
> at smarter.ReportRetrieval.generate_report()
>|||Thanks for the reply Jéjé.
Access RS from a third party app. The app on our web site calls the RS
server passing parameters for the reports. The old RS server works great,
it's just a bit small/slow. I've compared every piece of web and folder
security and they are identical as far as I can see.
Report Manager access is fine. I can do whatever needs to be done in there.
It's just when the app tries to create a report.
I have done this a dozen times and it's usually click, click, boom, boom
your done. I'm low on ideas with this one.:-(
John
"Jéjé" <willgart_A_@.hotmail_A_.com> wrote in message
news:uP6Ep$ygFHA.3256@.TK2MSFTNGP12.phx.gbl...
>I have these problems when the security used in IIS is different from the
>caller.
> For example, if IIS is configured to Basic authentication, then an NTLM
> authenticated user can't access it, and the rverse is possible too.
> Also I have this problem with remote access, like the RS utility.
> The RS utility works remotly only if IIS is in Basic authentication mode!
> in mixed mode (Basic + NTLM) the utility doesn't works.
> So, what is your config, and how do you access RS?
> custom code? /Reports himself? 2 differents web servers? etc...
> "John Holt" <johnh@.regionv.k12.mn.us> wrote in message
> news:eP7GLzygFHA.1444@.TK2MSFTNGP10.phx.gbl...
>> Having a hard time finding this one. Have gone as far as having
>> everyone- full control.
>> w2k3
>> rssp2
>> Any ideas anyone?
>> System.Net.WebException: The request failed with HTTP status 401:
>> Unauthorized.
>> at
>> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
>> message, WebResponse response, Stream responseStream, Boolean asyncCall)
>> at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
>> methodName, Object[] parameters)
>> at smarter.ReportService.ReportingService.GetReportDefinition(String
>> Report)
>> at smarter.ReportRetrieval.generate_report()
>

No comments:

Post a Comment