Monthly Archives: April 2007

Error: “A correlation may be initialized only once”

I have seen this error in two situations. 1. You have two receive or two send shapes that both initialize the same correlation set. This one is easy to figure out. In my case, I have two points in a … Continue reading

Posted in biztalk | 4 Comments

EmptyPartException

I did not find very much useful information online about this. It happened because of the following code snippet in an expression shape: Message1 = new System.Xml.XmlDocument(); Message1 was defined with a specific type, but its .NET type is XmlDocument. … Continue reading

Posted in biztalk | Leave a comment

Filters using strings

If you have a filter on a receive shape in an orchestration, use quotes for a hard coded string. For example, I wanted to subscribe to messages with a BTS.Operation of “Operation1″ You must use quotes. However, if you configure … Continue reading

Posted in biztalk | Leave a comment

Using xpath() function — the namespace was not expected

I got this error when using the xpath() function in an expression shape. Turns out I was access a node instead of its contents, then trying to do a toString on the results. http://www.topxml.com/rbnews/BizTalk-Server/re-50155_BizTalk-Server-2006–An-xpath-Function-problem.aspx

Posted in biztalk | Leave a comment