Scripts that I have tested.
Write-Host ">>>>>>>>>>Process Started>>>>>>>>>>>>>>"
Write-Host ""
New-SPWebApplication -Name "Test" -Port 80 -HostHeader "Test-d" -Path "C:\inetpub\wwwroot\wss\VirtualDirectories\Test-d80" -AuthenticationMethod "NTLM" -SecureSocketsLayer:$false -ApplicationPool "Test" -URL "http://Test-d/" -ApplicationPoolAccount (Get-SPManagedAccount "Server\Administrator") -DatabaseServer "ServerName" -DatabaseName "test-d"
Write-Host ""
Write-Host ">>>>>>>>>>Process Ended>>>>>>>>>>>>>>"
Note:
This is DB permission issue for the user account Server\Administrator. Kindly check it, the user which you had used here have DB access rights both read and write permission on ServerName DB Server.
No comments:
Post a Comment