Monday, February 13, 2012

401 2 and repeat request errors

I have sort of asked this elsewhere, but with new information the questions
has changed slightly, so apologies for the broken thread.
I have a web service sending messages through to a SQL server.
I have integrated security on (no anonymous). For one application, when I
run the application i get an unauthorized error and the logs hold these
lines:
2006-02-21 10:32:58 173.1.1.1 GET
/ApplicationWebservice/DocumentContent.asmx - 80 - 172.25.1.1 - 401 2
2148074254
2006-02-21 10:32:58 173.1.1.1 GET
/ApplicationWebservice/DocumentContent.asmx - 80 LONDON\ShamS00 172.25.1.1 -
200 0 0
2006-02-21 10:32:59 173.1.1.1 GET /ApplicationWebservice/Blank.html - 80 -
172.25.1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.N ET+CLR+1.1.4322)
401 2 2148074254
2006-02-21 10:32:59 173.1.1.1 GET /ApplicationWebservice/Blank.html - 80
LONDON\ShamS00 172.25.1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.N ET+CLR+1.1.4322)
200 0 0
2006-02-21 10:32:59 173.1.1.1 POST
/applicationwebservice/documentcontent.asmx - 80 - 172.25.1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+ Protocol+1.1.4322.2032)
401 2 2148074254
2006-02-21 10:32:59 173.1.1.1 POST
/applicationwebservice/documentcontent.asmx - 80 - 172.25.1.1
Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+ Protocol+1.1.4322.2032)
401 2 2148074254
What I am confused about is why are there two entries for each request (one
with authentication and one without), and then the next question would be
why does the last 'request' have two entries, both without authentiacation.
perhaps this is an impossible question to answer, but i thought i'd see if
anyone out there had an idea.
I still seem to have my delegation problem, another application seems to be
sending through commands properly, bt not getting an answer from the web
service, but i've decided to take a break from that one.
Any help/thoughts would be apprecitaed.
Thanks
Saira
Where is your web service running? Are you using the http endpoint in SQL
Server 2005? If not, I'm not sure where SQL Server fits into this picture.
The double messages through authentication are normal. The client will try
without authentication and then try with authentication once it find out
what the server needs.
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Saira" <Saira@.Bayonet.com> wrote in message
news:uWb%23ZftNGHA.2300@.TK2MSFTNGP15.phx.gbl...
>I have sort of asked this elsewhere, but with new information the questions
>has changed slightly, so apologies for the broken thread.
> I have a web service sending messages through to a SQL server.
> I have integrated security on (no anonymous). For one application, when I
> run the application i get an unauthorized error and the logs hold these
> lines:
> 2006-02-21 10:32:58 173.1.1.1 GET
> /ApplicationWebservice/DocumentContent.asmx - 80 - 172.25.1.1 - 401 2
> 2148074254
> 2006-02-21 10:32:58 173.1.1.1 GET
> /ApplicationWebservice/DocumentContent.asmx - 80 LONDON\ShamS00
> 172.25.1.1 - 200 0 0
> 2006-02-21 10:32:59 173.1.1.1 GET /ApplicationWebservice/Blank.html - 80 -
> 172.25.1.1
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.N ET+CLR+1.1.4322)
> 401 2 2148074254
> 2006-02-21 10:32:59 173.1.1.1 GET /ApplicationWebservice/Blank.html - 80
> LONDON\ShamS00 172.25.1.1
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.N ET+CLR+1.1.4322)
> 200 0 0
> 2006-02-21 10:32:59 173.1.1.1 POST
> /applicationwebservice/documentcontent.asmx - 80 - 172.25.1.1
> Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+ Protocol+1.1.4322.2032)
> 401 2 2148074254
> 2006-02-21 10:32:59 173.1.1.1 POST
> /applicationwebservice/documentcontent.asmx - 80 - 172.25.1.1
> Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+ Protocol+1.1.4322.2032)
> 401 2 2148074254
> What I am confused about is why are there two entries for each request
> (one with authentication and one without), and then the next question
> would be why does the last 'request' have two entries, both without
> authentiacation. perhaps this is an impossible question to answer, but i
> thought i'd see if anyone out there had an idea.
> I still seem to have my delegation problem, another application seems to
> be sending through commands properly, bt not getting an answer from the
> web service, but i've decided to take a break from that one.
> Any help/thoughts would be apprecitaed.
> Thanks
> Saira
>
|||Thanks, on the authentication, i sort of figured that, but was not positive.
I am not taking advantage of any of the new SQL 2005 features yet.
My setup is a recently installed SQL Server 2005 box, hosting an upgraded
SQL 2000 database.
The client (XP SP2) talks to the web server (IIS 6, in a seperate IP
segment), and the web server requests the data from the database. I had
assumed that I would not need to make massive changes for the upgrade to
2005, is this not the case?
Saira
"Roger Wolter[MSFT]" <rwolter@.online.microsoft.com> wrote in message
news:u3wS5gvNGHA.2884@.TK2MSFTNGP12.phx.gbl...
> Where is your web service running? Are you using the http endpoint in SQL
> Server 2005? If not, I'm not sure where SQL Server fits into this
> picture. The double messages through authentication are normal. The
> client will try without authentication and then try with authentication
> once it find out what the server needs.
> --
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
> "Saira" <Saira@.Bayonet.com> wrote in message
> news:uWb%23ZftNGHA.2300@.TK2MSFTNGP15.phx.gbl...
>
|||None that I can think of.
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Saira" <Saira@.Bayonet.com> wrote in message
news:erGMpHwNGHA.428@.tk2msftngp13.phx.gbl...
> Thanks, on the authentication, i sort of figured that, but was not
> positive.
> I am not taking advantage of any of the new SQL 2005 features yet.
> My setup is a recently installed SQL Server 2005 box, hosting an upgraded
> SQL 2000 database.
> The client (XP SP2) talks to the web server (IIS 6, in a seperate IP
> segment), and the web server requests the data from the database. I had
> assumed that I would not need to make massive changes for the upgrade to
> 2005, is this not the case?
> Saira
>
> "Roger Wolter[MSFT]" <rwolter@.online.microsoft.com> wrote in message
> news:u3wS5gvNGHA.2884@.TK2MSFTNGP12.phx.gbl...
>

No comments:

Post a Comment