Quantcast
Channel: AutoSPInstaller
Viewing all articles
Browse latest Browse all 2279

Commented Unassigned: New-SPWebApplication : The data is invalid. [21108]

$
0
0
I am getting an error during MySite provisioning

- Creating Web App "PyrotekWeb-MySite"
New-SPWebApplication : The data is invalid.
At C:\Users\srvspsetup\Desktop\AutoInstaller\SP\AutoSPInstaller\AutoSPInstaller
Functions.ps1:2592 char:9
+ New-SPWebApplication -Name $webAppName -ApplicationPool $appPool
-Databa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...PWebApplication:
SPCmdletNewSPWebApplication) [New-SPWebApplication], CryptographicExceptio
n
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPWeb
Application

--------------------------------------------------------------
- Script halted!
- Failed to create web application
Comments: ** Comment from web user: TanKCR **

I believe this is the XML that it refers to...

```
- <WebApplication type="MySiteHost" name="PyrotekWeb-MySite" applicationPool="PyrotekWeb-MySite" url="http://Mysite.PyrotekWeb.com" port="80" UseHostHeader="true" AddURLToLocalIntranetZone="true" GrantCurrentUserFullControl="true" useClaims="true" useBasicAuthentication="false" useOnlineWebPartCatalog="false">
- <Database>
<Name>Content_MySites</Name>
<DBServer />
<DBAlias Create="false" DBInstance="SERVER\INSTANCE" DBPort="" />
</Database>
- <ManagedPaths>
<ManagedPath relativeUrl="personal" explicit="false" />
</ManagedPaths>
- <SiteCollections>
<SiteCollection siteUrl="http://Mysite.PyrotekWeb.com/personal" HostNamedSiteCollection="false" Owner="Pyrotek-CorDC\SRVSPSiteColAdmin" Name="MySite" Description="MySite" SearchUrl="http://Search.PyrotekWeb.Com" CustomTemplate="false" Template="STS#0" LCID="1033" Locale="en-us" Time24="false" />
</SiteCollections>
</WebApplication>
</WebApplications>

```


Viewing all articles
Browse latest Browse all 2279

Trending Articles



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