Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 446
  • Last Modified:

IIS Error after Web Server migration

I migrated my server from one box to another (Server 2008 R2 to another new Server 2008 R2) using Web Deploy 3.5 and the export (from the old server) and import (to the new server) went well.  However, when I try to access any website I get the following error:

IISError
0
Brad Bouchard
Asked:
Brad Bouchard
  • 7
  • 4
1 Solution
 
Esteban BlancoPresidentCommented:
Re-create the app pool and assign it to the website.  Make sure that all the permissions are correct on the folder path of the website and that the app pool has access to those folders.

If you need step by step instructions, let me know.

Esteban
0
 
Brad BouchardInformation Systems Security OfficerAuthor Commented:
I have tried recreating the app pool...

What do you mean by this:
Make sure that all the permissions are correct on the folder path of the website
0
 
Esteban BlancoPresidentCommented:
So the application pool has an identity.  That identity (network service for example) needs to have rights to where the code of the website is.  So if website contoso.com is using the app pool contoso, the user that the application pool is using has to have rights to where the contoso.com code base is.

Makes sense?

Esteban
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Brad BouchardInformation Systems Security OfficerAuthor Commented:
That makes sense, and I have allowed the Network Service rights to where my website is located and still get the Service Unavailable when I try to access my site.
0
 
Esteban BlancoPresidentCommented:
OK.  You recycled the app pool after doing all that?  Can you see what the event log says and put screenshots of the service unavailable and event log please?

I have to go see a client.  I will try to get back with you ASAP.

Cheers!

Esteban
0
 
Brad BouchardInformation Systems Security OfficerAuthor Commented:
iis503appautoshutdownlistenerchannelrewritefailed
0
 
Brad BouchardInformation Systems Security OfficerAuthor Commented:
http://blogs.msdn.com/b/vpandey/archive/2009/08/04/http-error-503-the-service-is-unavailable.aspx

I also went through this as it was almost word for word the problem I was having, but when I removed the module (RewriteModule) and tried to reset IIS then browse to the site again it said RewriteModule not found?  WTH?
0
 
Brad BouchardInformation Systems Security OfficerAuthor Commented:
I'm going to start over on a new web server, thanks for your help though.
0
 
Esteban BlancoPresidentCommented:
Sorry man.  Got super busy with work.  That is not a bad option.  Good luck!
0
 
Brad BouchardInformation Systems Security OfficerAuthor Commented:
Sorry man.  Got super busy with work.  That is not a bad option.  Good luck!
No worries, I'm in the same boat.  Thanks for the help.
0
 
Brad BouchardInformation Systems Security OfficerAuthor Commented:
Just easier.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 7
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now