Wednesday, August 27, 2008

BizTalk 2004 to 2006 Upgrade XSLT issue

I have been working on a BizTalk 2004 to 2006 upgrade and encountered an interesting issue when testing. It was an XLANG error with the relevant part of the error message log being:

Unable to cast object of type 'MS.Internal.Xml.Cache.XPathDocumentNavigator' to type 'System.Xml.IHasXmlNode'

The reason for this is that in one of the XSLT maps there was some custom c# code that made a cast. The cast involved the XPathDocumentNavigator class from the System.Xml.XPath namespace. The XSLT engine loaded the version in MS.Internal.Xml.Cache first.

To fix this issue I just made sure the references to XPathDocumentNavigator were fully qualified.

The lesson learned was that it always pays to fully qualify your references to classes in embedded .net code in XSLT.

Friday, August 15, 2008

HAT Query Problem: 'ActiveView.ColumnAxis'

If you receive an error message when running a HAT query that looks something like this: "The following error occurred while executing your query: 'ActiveView.ColumnAxis' null or not an object" then chances are that you don't have the Office Web components (OWC) available here or here.

Sunday, August 03, 2008

MOSS Compatibility Issue with Windows Server 2008

If trying to install MOSS 2007 on Windows Server 2008 you will come across this error:

To resolve this issue, install the version of MOSS that has service pack 1 ( SP1 ) included. Without the slipstream install you will not be able to install MOSS 2007 on Windows Server 2008.