Solved

IIS on windows 8.1 - app pool keeps stopping

Posted on 2014-04-18
6
3,330 Views
Last Modified: 2014-04-29
Hi:

I have installed IIS 8 on my Windows 8.1 machine.  When I go to the Default Web Site and try to run it, I get a 503 error.  I notice that the Default Application Pool has stopped running.  I start the pool and then try to launch the site.  I get the same error and notice that the app pool has stopped working.  

Any suggestions greatly appreciated!

RBS
0
Comment
Question by:RBS
  • 3
  • 2
6 Comments
 
LVL 25

Expert Comment

by:Mohammed Khawaja
ID: 40009901
Is there any other software running on port 80.  have you tried to create a new app pool?  Investigate event logs to find out what is the source of the problem.
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 40010191
Check the credentials for the application pool first, as they may be incorrect. Checking the Application and System logs on the machine might also shed some light.
0
 

Author Comment

by:RBS
ID: 40010292
Thanks for your suggestions.  After further investigation, I found that my credentials were correct and I had no other apps running on the same port.  However, the post at http://stackoverflow.com/questions/5979980/application-pool-shutting-down did the trick -

"Application pool 'DefaultAppPool' is being automatically disabled due to a series of failures in the process(es) serving that application pool." in the System event log.
I changed the advanced setting of the app pool, "Load User Profile" from True to False and my app pool is running again using the configured identity (which, in my case is a domain account).


Why this was necessary, I have not idea...

RBS
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 25

Accepted Solution

by:
Mohammed Khawaja earned 500 total points
ID: 40010925
Below is explanation from Microsoft:

USER PROFILE

IIS doesn't load the Windows user profile, but certain applications might take advantage of it anyway to store temporary data. SQL Express is an example of an application that does this. However, a user profile has to be created to store temporary data in either the profile directory or in the registry hive. The user profile for the Network Service account was created by the system and was always available. However, with the switch to unique Application Pool identities, no user profile is created by the system. Only the standard application pools (DefaultAppPool and Classic .NET AppPool) have user profiles on disk. No user profile is created if the Administrator creates a new application pool.

However, if you want, you can configure IIS application pools to load the user profile by setting the LoadUserProfile attribute to "true".
0
 

Author Closing Comment

by:RBS
ID: 40029977
Thanks Mohammed for the clear explanation.

RBS
0
 
LVL 25

Expert Comment

by:Mohammed Khawaja
ID: 40030207
You are very welcome.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Syntax error 9 45
Vb. Net application freezes 9 30
C#.NET and microsoft certification. 3 32
VB.NET 2008 Populate DataModel with DataTable 36 7
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now