0

I have a new installation of SharePoint server 2016, I have setup a new web application and now trying to create a new site collection and I am getting the error :

There is no file with URL '_catalogs/wp/DocumentSetProperties.dwp' in this Web.

I redid the web application a few times without any success. thanks for any help

Edit: With poweershell I get the error

New-SPSite -Url $Site -OwnerAlias $Owner -Template STS#2

New-SPSite : There is no file with URL '_catalogs/masterpage/v4.master' in this Web

Here is the full powershell script:

Add-PSSnapin "Microsoft.SharePoint.PowerShell"
$siteURL = "http://somewebapp.com/sites/test2"
$sitePrimaryOwner = "domain\secretusername"
$siteSecondaryOwner = "domain\secretusername"
$siteName = "Test Site"
$siteTemplate = "STS#0"
$siteDescription = "This is a test site"

New-SPSite -Url $siteURL -OwnerAlias $sitePrimaryOwner -SecondaryOwnerAlias 
$siteSecondaryOwner -Name $siteName -Template $siteTemplate -Description 
$siteDescription
New contributor
Breau is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Where did you define $site? Please post this code also here. – MHeld Feb 11 at 10:48
  • I up[dated the post with the script they are just variable defined in the powershell script – Breau Feb 11 at 21:11

Your Answer

Breau is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.