PowerShell Error : Able to run SharePoint command lets directly on powershell window, but not able to execute PS1 file, which iterate thru the site and list all available collections. This happened in SharePoint VM, where SharePoint installation happened with different admin account and later user account is added as Farm administrator.
Solution:
After an few hours of analysis, it has been sorted out by doing changes in SQL Server by enabling "DBOwner"access for users account for the SharePoint database's named "WSS_content" and "WSS_Search" and "SharePoint_Shell_Access" for "SharePoint_config" database.
Solution:
After an few hours of analysis, it has been sorted out by doing changes in SQL Server by enabling "DBOwner"access for users account for the SharePoint database's named "WSS_content" and "WSS_Search" and "SharePoint_Shell_Access" for "SharePoint_config" database.
No comments:
Post a Comment