Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Host Named site collection "Server Error in '/' Application"

$
0
0

On my test farm I deleted a host named site collection in order to refresh with production site. After restoring the site using restore-spsite cmdlet, I am no longer able to access the host named site collection.

Error: Server Error in '/' Application.

Things I have done:

  • I have even tried to delete the site collection and create a basic site collection with no content.
  • I have checked ULS logs, but no logging is getting to there, suspect it is stopping in IIS?!?!
  • Checked for orphaned site collections, yet does not report any orphans
  • Tried repair content database, reports nothing to fix
  • The root site collection still works
  • I can create a path based site collection and that will work
  • I have verified permissions on database and webapp
  • Deleted the web app then recreated Web app and site collections with the same script I have used in production and other DEV environments.

Script used to create environment:

$WebAppName = "SPTST SPHost"
$HostHeader = "sphosttst.domain.com"
$hostPort = "80"
$WebAppHeader = "http://sphosttst.domain.com/"
$rootSite = "http://sphosttst.domain.com"
$AppPool = "SPTST_SPHost"
$AppPoolAcc = "DOMAIN\spbodevctwapp"
$contentDB = "SPTST_SPHost_Content_01"
$Site = "http://hometst.domain.com"
$Owner = "DOMAIN\scausername"

New-SPWebApplication -Name $WebAppName -HostHeader $HostHeader -Port $hostPort -DatabaseName $ContentDB -ApplicationPool $AppPool -ApplicationPoolAccount (Get-SPManagedAccount $AppPoolAcc) -AuthenticationProvider (New-SPAuthenticationProvider -UseWindowsIntegratedAuthentication)
New-SPSite $rootSite -Name 'Root' -Description 'Root Site' -OwnerAlias $Owner -language 1033 -Template 'STS#0'
New-SPSite $Site -HostHeaderWebApplication $WebAppHeader -Name 'Home' -Description 'Home Pub' -OwnerAlias $Owner -language 1033 -Template 'BLANKINTERNET#0'


Adam


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>