Quantcast
Channel: autospinstaller Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1245

Commented Unassigned: Script halt when creating new content database [20868]

$
0
0
I mistakenly posted this in the Issues section earlier, but I'm not looking for support here. My script ran through all the way to creating a new content database, and I got this output:

Creating new content database "PROD_MySiteHost"...
Get-SPWebApplication : Cannot find an SPWebApplication object with Name, Id, or Url: http://VM-SPWEB.
At C:\SP\Autoinstaller\AutoSPInstallerFunctions.ps1:2635 char:80
New-SPContentDatabase -Name $siteDatabase -WebApplication (G ...
~
CategoryInfo : InvalidData: (Microsoft.Share...tWebApplication:SpCmdletGetWebApplication) [Get-SPWebApp
lication], SPCmdletPipeBindException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SpCmdletGetWebApplication
Script halted!

I propose that config files have a contingency checker for required settings.
Comments: ** Comment from web user: brianlala **

Looks like you have some invalid or conflicting entries in your input XML. If you post a scrubbed version of the XML here, I or someone else can probably quickly validate it.

Brian


Viewing all articles
Browse latest Browse all 1245

Trending Articles



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