dslreports logo
 
    All Forums Hot Topics Gallery
spc
uniqs
18

cdru
Go Colts
MVM
join:2003-05-14
Fort Wayne, IN

cdru to huntermcdole

MVM

to huntermcdole

Re: Lost on issue with IIS7 not Passing Credentials

Does the site work at all, as in load, but the authentication doesn't work? Or does the site not load at all? Any specific error messages? What type of authentication are you using (forms, basic, integrated)? Are the hostnames of the site(s) different or identical with the different pools? Are you impersonating the user?

huntermcdole
Premium Member
join:2005-08-01
Oxnard, CA

huntermcdole

Premium Member

When under the ASP.NET 4.0 Application Pool the site works, under the AppPool Application Pool it doesn't. The site is using Windows Authentication (Negotiate/NTLM). Everything is the same with the site, all I am doing is swapping application pools under Advanced Settings /Application Pool.

Error I get when trying to go the page while under AppPool is
"401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied."

The site won't load because it requires the user to be authenticated.

QuaffAPint
A Big Thanks To The Troops
join:2001-01-10
Downingtown, PA

QuaffAPint

Member

Are both app pools running under the same account?

huntermcdole
Premium Member
join:2005-08-01
Oxnard, CA

huntermcdole

Premium Member

@QuaffAPint Yes the ApplicationPoolIdentity.

@DJStarfox None of the permissions/ authentication / trust level changes as far as I know, the only thing I am changing is the Application Pool it's running under, and both use the same account for access "ApplicationPoolIdentity"