IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 15th, 2011, 11:19 AM
mzachen mzachen is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Posts: 1 mzachen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 14 sec
Reputation Power: 0
Unhappy Getting 403: Forbidden Access Is Denied Error, trying to secure a site using powershe

I'm writing a script in powershell to lockdown a cloud environment website application. I have installed SSL, created groups/users in AD, disabled users, disabled app pools and and created app pools to summarize the script. Win 2008 r2 / iis7. When testing the site, I am getting a "403 Forbidden: Access is denied" When I check the system logs, I see the following three messages:

Level: Error

Source: WAS

Event ID: 5059

Application pool RiskChecker has been disabled. Windows Process Activation Service (WAS) encountered a failure when it started a worker process to serve the application pool.

Level: Warning

Source: WAS

Event ID: 5057

Application pool RiskChecker has been disabled. Windows Process Activation Service (WAS) did not create a worker process to serve the application pool because the application pool identity is invalid.

Level: Warning

Source: WAS

Event ID: 5021

The identity of application pool XYZAppPool is invalid. The user name or password that is specified for the identity may be incorrect, or the user may not have batch logon rights. If the identity is not corrected, the application pool will be disabled when the application pool receives its first request. If batch logon rights are causing the problem, the identity in the IIS configuration store must be changed after rights have been granted before Windows Process Activation Service (WAS) can retry the logon. If the identity remains invalid after the first request for the application pool is processed, the application pool will be disabled. The data field contains the error number.

What do these messages mean, and can anyone point me in the direction of how to resolve this? Thank you.

Reply With Quote
  #2  
Old January 29th, 2012, 10:37 AM
StormInternet StormInternet is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Posts: 17 StormInternet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 59 m 3 sec
Reputation Power: 0
Hi,

Looking at the error message, its definitely a permission issue.
Make sure :

1] your application have a proper application pool
Or assign it a dedicated application pool for better isolation
2] the application pool have necessary permissions over web application
3] identity shown in application pool property is same for web site as well
4] password of application pool is synced properly in application pool properly as well as for the actual user on server

Reply With Quote
  #3  
Old January 29th, 2012, 10:39 AM
StormInternet StormInternet is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Posts: 17 StormInternet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 59 m 3 sec
Reputation Power: 0
additionally make sure that the status of application pool of your web application is "Running"

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Getting 403: Forbidden Access Is Denied Error, trying to secure a site using powershe

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap