I created a blank site collection, by using the following command:
>stsadm -o createsite -url "http://server/sitecollection
" -owneremail "email@example.com" -ownerlogin domain\account -sitetemplate STS#1 -title "Site Collection"
Operation completed successfully!
And then I try to create a sub site, by using the following command:
stsadm -o createweb -url "http://server/sitecollection/site
" -sitetemplate SPSNHOME -title "Site" -unique
And I receive the following error:
The site http://server/sitecollection/site could not be found in the Web application SPWebApplication Name=MOSS Parent=SPWebService.
What might be causing this?
I want the Site to be a publishing news site, so I enabled the Publishing features via command line...yet every time I try to create this site under the site collection, I get this error.
In my Server Manager "Application" even log, i see this:
Event log message was: 'Failed to initialize some site properties for Web at Url: 'http://server/sitecollection''. Exception was: 'Microsoft.SharePoint.SPException: List does not exist
The page you selected contains a list that does not exist. It may have been deleted by another user. ---> System.Runtime.InteropServices.COMException (0x81020026): List does not exist
What "list"? I created the Blank site collection, and it is indeed Blank...If i go to the page, i get a "page not found" error, which is what is supposed to happen, I assume?