Home All Groups Group Topic Archive Search About

401.1 - Integrated Security Error when using VB application

Author
20 Jul 2005 11:34 AM
Tim
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.

Author
20 Jul 2005 2:27 PM
Tom Kaminski [MVP]
Show quote Hide quote
"Tim" <T**@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.

Author
21 Jul 2005 8:26 AM
Tim
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.



Show quoteHide quote
"Tom Kaminski [MVP]" wrote:

> "Tim" <T**@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/windowsserver2003/community/centers/iis/
> http://mvp.support.microsoft.com/
> http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
>
>
>
Author
21 Jul 2005 10:22 AM
David Wang [Msft]
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/prodtechnol/windowsserver2003/library/serverhelp/ca_cfgwrkridentity.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" <T**@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.



Show quoteHide quote
"Tom Kaminski [MVP]" wrote:

> "Tim" <T**@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/windowsserver2003/community/centers/iis/
> http://mvp.support.microsoft.com/
> http://www.iistoolshed.com/ - tools, scripts, and utilities for running
IIS
>
>
>