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!!!!


About Ed Jones

Ed is a .NET and Integration architect for Avanade in the Twin Cities. Contact Ed

What do you think?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: