I have an odd issue with BTSTask AddApp on some servers at a client site. When AddApp is called it always fails with:
Error: Invalid database name "NAMEDINSTANCE_BizTalkMgmtDb".
Parameter name: Database
BizTalk and SQL are installed on separate machines, and the SQL box hosts several BizTalk server databases (for testing). The BizTalk databases are prefixed with the environment name.
I have even tried passing in the -server & -database parameters and it still doesn't work, adding applications in the admin tool does work fine.
Has anyone seen this issue before?