Re: Unauthorised error

Dean Cleaver <[email protected]> Thu, 20 Dec 2007 16:21:05 +1300
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <4543A775711185429E59B18055D41674231FB7@sxslakl004.xceptionsoftware.com>
Bob,

I don't even know what database they're using, but I don't believe this
is the issue - the login credentials I am being given are to their web
service and not to any SQL machine, however the credentials only seem to
work from some machines - they will not work from my web server in
either IE or FireFox.

I have a feeling they have the credentials on one of their machines
(load balanced) and not on the others.

Dino

-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of Bob Franken
Sent: Thursday, 20 December 2007 16:18
To: [email protected]
Subject: Re: [DOTNET-WEB] Unauthorised error

I've run into issues with impersonation on the web, and you have to
setup
trust for delegation on the sql server machine.  I've included a link
that
talks about this.

http://www.extendedtools.com/forum/topic.asp?TOPIC_ID=121


On 12/19/07, Dean Cleaver <[email protected]> wrote:
>
> Interesting development - I can't even browse the remote web service
from
> IE on the web server - the credentials are not accepted, but they are
> accepted when entered on my local machine.
>
> Dino
>
> ________________________________
>
> From: Discussion of building .NET applications targeted for the Web on
> behalf of Dean Cleaver
> Sent: Thu 12/20/2007 1:01 PM
> To: [email protected]
> Subject: Re: [DOTNET-WEB] Unauthorised error
>
>
>
> The remote web service must be working, because I can connect fine
from my
> desktop in design mode, but from the web server (our web server
calling the
> remote web service - the web service is hosted in another country) I
get
> this exception:
>
>
> System.Net.WebException: The request failed with HTTP status 401:
> Unauthorized.
>
>
>
> Dino
>
>
> ________________________________
>
> From: Discussion of building .NET applications targeted for the Web on
> behalf of Shawn Wildermuth
> Sent: Thu 12/20/2007 12:44 PM
> To: [email protected]
> Subject: Re: [DOTNET-WEB] Unauthorised error
>
>
>
> Any chance the issue isn't the Web Server security but that SQL Server
> 2005
> isn't opened up to accept connections from non-local clients?
>
> Thanks,
>
> Shawn Wildermuth
> http://adoguy.com <http://adoguy.com/>  <http://adoguy.com/>
> http://wildermuthconsulting.com <http://wildermuthconsulting.com/>  <
> http://wildermuthconsulting.com/>
> Microsoft MVP (C#), MCSD.NET, Author and Speaker
>
> The Silverlight Tour is coming to a city near you!
>
>
> -----Original Message-----
> From: Discussion of building .NET applications targeted for the Web
> [mailto:[email protected]] On Behalf Of Dean Cleaver
> Sent: Wednesday, December 19, 2007 5:33 PM
> To: [email protected]
> Subject: [DOTNET-WEB] Unauthorised error
>
> I'm connecting to a web service using network credentials, but have a
very
> strange error occurring. On my desktop and on the SQL Server machine,
this
> program will connect correctly - but on the web server, it will fail
with
> a
> 401 error. I've double checked and re checked everything, and all
> credentials are correct - but it still fails. Same exe file works fine
> from
> other machines - any ideas on what to look at?
>
> Dino
>
> ===================================
> This list is hosted by DevelopMentorR  http://www.develop.com <
> http://www.develop.com/>  <http://www.develop.com/>
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com <http://discuss.develop.com/>  <
> http://discuss.develop.com/>
>
> ===================================
> This list is hosted by DevelopMentor(R)  http://www.develop.com <
> http://www.develop.com/>  <http://www.develop.com/>
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com <http://discuss.develop.com/>  <
> http://discuss.develop.com/>
>
>
>
> ===================================
> This list is hosted by DevelopMentor(R)  http://www.develop.com <
> http://www.develop.com/>
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com <http://discuss.develop.com/>
>
>
>
> ===================================
> This list is hosted by DevelopMentor(R)  http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com