Today I was working on creating a new sharepoint site, and after creating the site from the central admin, I got the following error:
Date: Tue, 16 Sep 2008 05:09:29 GMT
I searched on the error and found the following solution, so just wanted to
share the solution with you guys.
Make sure you reset the IIS after creating the site in central admin. Run the following command
to reset IIS “IISRESET /NOFORCE”
After resetting the IIS run the following command
“C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\WEB SERVER EXTENSIONS\12\BIN\STSADM.exe” -O CREATESITE -URL http://servername -OWNEREMAIL <e-mail> -OWNERLOGIN <domain\username>
You can get more details on this command using the following command,
C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\WEB SERVER EXTENSIONS\12\BIN\STSADM.exe -help CreateSite
After executing this command you can access your site. You will be asked for the site template to be applied to the site and also the members that will be able to access the site.