Microsoft Download Center Archive
GrantPermissions PowerShell Script |
GrantPermissions is a PowerShell script that you can use
If your BizTalk Management database has a name other than BizTalkMgmtDb, or your BizTalk MessageBox database has a name other than BizTalkMsgBoxDb, you will not able to configure core Web services with the ESB Configuration Tool. You will receive an error: “The database BizTalkMgmtDb does not exist." You can use this PowerShell script file--GrantPermissions--to help you configure core Web services.
Files
Status: DeletedThis download is no longer available on microsoft.com. The downloads below are archives provided by the Internet Archive Wayback Machine from the Microsoft Download Center prior to January 2015. |
No files found
File sizes and hashes are retrieved from the Wayback Machine’s indexes. They may not match the latest versions of files hosted on Microsoft servers.
System Requirements
Operating Systems: Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2
Notepad
Installation Instructions
- Save the script file GrantPermissions.ps1 to a local folder like C:\test>.
- Open GrantPermissions.ps1 in Notepad. Search and replace BizTalkMgmtDb with your own database name. Search and replace BizTalkMsgBoxDb with your database name, and then save this file.
- Run the ESB Configuration Tool to configure Core Web Services. It will fail as expected, and that is okay.
- Go to Windows\System32\WindowsPowershell\V1.0, and right-click pwershell.exe to run as Administrator.
- In the PowerShell window, run: Set-ExecutionPolicy Unrestricted
- In the PowerShell window, run: $serverInstance="mysqlserver" (replace mysqlserver with your sql server instance name)
- In PowerShell window, run: [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO')
- In the PowerShell window, run: [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.ConnectionInfo')
- In the PowerShell window, run “c:\test\GrantPermissions.ps1” and make sure there is no error here.
FamilyId: 299f79d8-7022-4b81-ac38-75413a5f74f2