Re: Unauthorised error
Bob Franken <[email protected]> Wed, 19 Dec 2007 22:18:13 -0500
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <[email protected]> |
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® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com