[Webinar] Learn how to a build a cloud-first strategyRegister Now

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

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.
0
dthansen
Asked:
dthansen
1 Solution
 
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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