Problems with application pools
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Problems with application pools




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Problems with application pools  
Jeremy Chapman


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-26-04 07:04 PM

I have created a web service and deployed it on IIS 6.  When it uses the
DefaultAppPool I can connect to it fine when I have set the web service to
use windows authentication.

I need to set the web service to use a different app pool though, and when I
do, I  get a 401.1 error 'you anre not authorized to view this page.

The error will occure if I have the web service running on a different
machine than my ie browser, but not if ie and the web service are on a
different machine.

I have ensured that the identity that I'm using for the app pool is in the
IIS_WPG group on the machine.

I originally thought that delegation had something to do with it, but I
don't think it does, because delegation usually only comes in to play when
there are 3 machines involved does it not?

If I look at the IIS log, I can see that when the the app pool for the web
service is not set to DefaultAppPool, the credentials do not get passed to
IIS, but the do get passed with the DefaultAppPool.







[ Post a follow-up to this message ]



    Re: Problems with application pools  
David Wang [Msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-26-04 09:37 PM

When you use Integrated Authentication with Customized AppPool Identity and
your server is in a domain, you need to read this part of the documentation
on Custom AppPool Identity:
http://www.microsoft.com/technet/pr...rkridentity.asp

What is happening is that you start using Kerberos, which imposes conditions
on the worker process identity.  Network Service is an identity that works
by default; you will need to do some additional configuration to have it
work with a custom process identity.

Basically, your choices are:
1. Configure Kerberos correctly
2. Fallback to use NTLM


--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Jeremy Chapman" <NoSpam@Please.com> wrote in message
news:%23Y1wxP2EEHA.2524@TK2MSFTNGP09.phx.gbl...
I have created a web service and deployed it on IIS 6.  When it uses the
DefaultAppPool I can connect to it fine when I have set the web service to
use windows authentication.

I need to set the web service to use a different app pool though, and when I
do, I  get a 401.1 error 'you anre not authorized to view this page.

The error will occure if I have the web service running on a different
machine than my ie browser, but not if ie and the web service are on a
different machine.

I have ensured that the identity that I'm using for the app pool is in the
IIS_WPG group on the machine.

I originally thought that delegation had something to do with it, but I
don't think it does, because delegation usually only comes in to play when
there are 3 machines involved does it not?

If I look at the IIS log, I can see that when the the app pool for the web
service is not set to DefaultAppPool, the credentials do not get passed to
IIS, but the do get passed with the DefaultAppPool.








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:14 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register