IIS Server Security - 401.1 - Integrated Security Error when using VB application

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > July 2005 > 401.1 - Integrated Security Error when using VB application





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author 401.1 - Integrated Security Error when using VB application
Tim

2005-07-20, 7:53 am

Hi,

I have a windows 2003 server (no service packs) running on Microsoft Virtual
Server.

I have set up a simple asp page running under iis 6.0 with integrated
security.

I can access the asp page through IE running on a client laptop (XP SP1),
however a VB application on the same machine is returning error 401.1 when it
tries to send an XHTTP request to this page.

I am totally at a loss as to why this is happening, can anyone help?

Tim.

Tom Kaminski [MVP]

2005-07-20, 5:57 pm

"Tim" <Tim@discussions.microsoft.com> wrote in message
news:8B4C8857-14E7-487E-85A7-89EB5DC8AE40@microsoft.com...
> Hi,
>
> I have a windows 2003 server (no service packs) running on Microsoft
> Virtual
> Server.
>
> I have set up a simple asp page running under iis 6.0 with integrated
> security.
>
> I can access the asp page through IE running on a client laptop (XP SP1),
> however a VB application on the same machine is returning error 401.1 when
> it
> tries to send an XHTTP request to this page.
>
> I am totally at a loss as to why this is happening, can anyone help?


I don't think that object supports Integrated authentication - you'll most
likely have to switch to Basic.

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsser...ty/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS


Tim

2005-07-21, 7:48 am

Thanks for your response..

Sorry...I should have said before that this is working fine in my
development environment.

All machine configurations are the same except IIS is running on an actual
server and not a virtual one.

I think it may have to do with local / domain security policies in the live
environment.



"Tom Kaminski [MVP]" wrote:

> "Tim" <Tim@discussions.microsoft.com> wrote in message
> news:8B4C8857-14E7-487E-85A7-89EB5DC8AE40@microsoft.com...
>
> I don't think that object supports Integrated authentication - you'll most
> likely have to switch to Basic.
>
> --
> Tom Kaminski IIS MVP
> http://www.microsoft.com/windowsser...ty/centers/iis/
> http://mvp.support.microsoft.com/
> http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
>
>
>

David Wang [Msft]

2005-07-21, 7:48 am

This sounds like the common configuration mistake where a user:
1. Puts IIS6 in a domain
2. Configures Integrated Authentication
3. Customizes Application Pool Identity to be something else.

This combination engages Kerberos, and the custom app pool identity can't
handle it without more configuration for security reasons.

There used to be a nice URL that explains all of this as well as resolution:
http://www.microsoft.com/technet/pr...rkridentity.asp

Unfortunately, all links on microsoft.com will eventually be broken and
never fixed sometime this year, so I do not know where the information will
reappear.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Tim" <Tim@discussions.microsoft.com> wrote in message
news:109FFCCA-4639-45AA-AE8A-C50ED601023C@microsoft.com...
Thanks for your response..

Sorry...I should have said before that this is working fine in my
development environment.

All machine configurations are the same except IIS is running on an actual
server and not a virtual one.

I think it may have to do with local / domain security policies in the live
environment.



"Tom Kaminski [MVP]" wrote:

> "Tim" <Tim@discussions.microsoft.com> wrote in message
> news:8B4C8857-14E7-487E-85A7-89EB5DC8AE40@microsoft.com...
SP1),[vbcol=seagreen]
when[vbcol=seagreen]
>
> I don't think that object supports Integrated authentication - you'll most
> likely have to switch to Basic.
>
> --
> Tom Kaminski IIS MVP
> http://www.microsoft.com/windowsser...ty/centers/iis/
> http://mvp.support.microsoft.com/
> http://www.iistoolshed.com/ - tools, scripts, and utilities for running

IIS
>
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com