Deployment Framework: “No Matches for XPath expression ‘//ApplicationName’.”
I generally have a lot of fun doing BizTalk development, and thanks to tools like the Deployment Framework the development cycle is a lot easier. If you’re not using it, you should start TODAY. Really. It’s that good.
Anyway, I recently found this cryptic exception message in my output while trying to do a local deploy using the framework:
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets : warning : PortBindings.xml : No matches found for XPath expression '//ApplicationName'.
I wondered why we were having trouble with the Port bindings since I hadn’t created any yet and my PortBindingsMaster.xml file was just a shell with nothing in it. Well, it turns out that this exception may come up when BTDF looks for the Application in the BizTalk management DB. If you can’t connect to the DB, then you’re hosed. You get this exception and possibly a few more helpful ones such as “server was not found or was not accessible.”
The lesson I learned? Turn on the DARN SQL SERVICE!!!!