Hi Kunal,
I did some more work on this.
Case 4:
In Visual Studios Deployment" panes --> Server, if I select any server where I don't have Login permission, then I get the Login error as you have mentioned:
"Login failed for user 'domainNameAprabhu'."
Resolution to Case 3:
In case 4, what I also noticed is when I update the existing Server name (server name where my BizTalkMgmtDb exist) in the Deployment pane, the drop down box unable to recognize the
new SQL server (or not able to refresh the Databasename when any change happen to the Server name) failed with the error:
<No BizTalk Configuration database(s) found on server 'SQL Serer Name'>
However, if I start a new project from scratch, the application can easily find BizTalkMgmtDb.
Then I logged into the database server where the BizTalkMgmtDb exist --> Security --> Logins --> Selected the group where my login (login to the machine where I have SQL Server, if database in the
same machine as Visual studio then you can do this in the same server) --> Properties --> Server Roles --> Check "sysadmin" access.
Then I came back to my Visual Studio, closed and restarted the Visual Studio, went to the Deployment pane in the Server property, I can now get the BizTalkMgmtDb without any issue. Its a guaranteed privilege
issue.
Regards,
M.R.ASHWINPRABHU