Recently when i am creating SharePoint webapplication using with Central Admin i am facing 'The page can not be displayed' error. If i check with SharePoint webapplicatin it has created but the content database not created properly.
Then i have decided to use simple script for creating new Webapplication in SharePoint.
Below script is for creating New SharePonint Webapplication. ContentDatabase will create automatically for with below script.
Below script is for creating New SharePonint Webapplication. ContentDatabase will create automatically for with below script.
New-SPWebApplication -Name "SiteName" -ApplicationPool "ApplicationPoolName" -ApplicationPoolAccount Domain\admin -Port 1133 -URL "http://servername/"
No comments:
Post a Comment