DefaultAppPool IIS7 issue

Hi everyone,

We have gained access to a new ec2 Cloud server and are in the process of installing our software and web portal on it.  We have configured the web portal, but when be try and access it through localhost, we encounter a HTTP 503 error.  I checked the Event Viewer to find this message many times during my attempts:

Description:
The worker process for application pool 'DefaultAppPool' encountered an error 'Cannot read configuration file
' trying to read global module configuration data from file '\\?\<EMPTY>', line number '0'.  Worker process startup aborted.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
    <EventID Qualifiers="49152">2297</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-08-19T13:11:07.000Z" />
    <EventRecordID>1954</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>ip-0AF54FD4</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="ApplicationPool">DefaultAppPool</Data>
    <Data Name="ConfigException">Cannot read configuration file
</Data>
    <Data Name="FileName">\\?\&lt;EMPTY&gt;</Data>
    <Data Name="LineNumber">0</Data>
    <Binary>02000000</Binary>
  </EventData>
</Event>


Windows Server DataCenter SP2
IIS7, no other applications configured
ec2 Cloud server

Any help would be appreciated, and please let me know if you require any more information regarding this issue.

Thanks.
dthansenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dthansenAuthor Commented:
Your response appears to show how to set up application pools (Which we have already done) but it doesn't seem to be specific to our error in any way.

Please advise.
0
wolfman007Commented:
You error has an eventid of 2297 which indicates the Windows Process Activation Service (WAS) is having problems starting the AppPool.

Web sites and Web applications depend on the availability of Internet Information Services (IIS) application pools. IIS application pools in turn depend on the Windows Process Activation Service (WAS). If WAS is not running or errors occur during the startup or shutdown of an application pool, Web sites and Web applications may not be available.

from

http://technet.microsoft.com/en-us/library/cc735133(WS.10).aspx

It might be that one of the components or modules that is part of your application is stopping your AppPool from starting.

You are going to have to do some investigation/troubleshooting to see what is causing the problem.

Have a look at the following website for some instructions on how to troubleshoot the 503 error

Where did my IIS7 server go? Troubleshooting 503 "service unavailable" errors
http://mvolo.com/blogs/serverside/archive/2006/10/19/Where-did-my-IIS7-server-go_3F00_-Troubleshooting-_2200_service-unavailable_2200_-errors.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.