Friday, December 27, 2013

Error 5161: Site 2 has no root application defined, so the site will be ignored.


You see the following error appear irregularly in the SharePoint 2010 server Application log:
Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          [date/time]
Event ID:      5161
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      [SharePoint 2010 server host machine name]
Site 2 has no root application defined, so the site will be ignored.
Event Xml:
<Event xmlns="">
    <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
    <EventID Qualifiers="49152">5161</EventID>
    <TimeCreated SystemTime="..." />
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Computer>[SharePoint 2010 server host machine name]</Computer>
    <Security />
    <Data Name="SiteID">2</Data>

The SharePoint Server 2010 installation creates an additional site, SITE_2.  This site can be seen in IIS Manager.  It will create further such sites on removing SharePoint 2010 and subsequently installing it again without removing the SITE_2 website. Thus, you may see a SITE_2, SITE_3, etc.


These sites can be safely removed using IIS Manager.  Restart IIS after removing these sites.

  • This site seems to be a placeholder for prospective web services deployment.  You can see this by reviewing the ApplicationHosts.Config file at C:\Windows\System32\inetsrv\config.  Scroll down to the <Sites> node to see the Site 2 entry.

No comments: