Category: BizTalk (page 2 of 17)

BizTalk Health Monitor v3.1



BHM is an MMC snap-in that allows the user to monitor the health of BizTalk Server environments and execute maintenance tasks.

Resolving Schema type Name error

When you come accross this error while building a XSD in BizTalk:

This schema file has a TypeName that collides with the RootNode TypeName of one of its root nodes. Make sure that they are different.

Just set the ‘Root Reference’ in the schema properties to a type. This identifies the root node type that corresponds to the type for the schema. The default behaviour is to pick the first root node, and if the root node that shares a type name is not the first then you’ll see this error. Simply change the property to the relevant node and compile away.

GUID simple Type

I received an external schema with the following type in it:

<xs:element minOccurs="1" maxOccurs="1" name="Id" type="wsdl:guid" />

There also was a reference to:

 <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
<xs:import namespace="" />

However the build failed with:
Error 6 Type ‘’ is not declared, or is not a simple type. D:ExternalSchemasschemaname.xsd ExternalSchemas

I came ac cross a few posts for handling guids in schema’s:

The simplest way to solve this is to add a schema with the guid type in it and then add the location in the import. So add a schema:

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="" elementFormDefault="qualified" targetNamespace="" xmlns:xs="">
<xs:simpleType name="guid">
<xs:documentation xml:lang="en">
The representation of a GUID, generally the id of an element.
<xs:restriction base="xs:string">
<xs:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" />

Then add the location to the import in the first schema:

<xs:import namespace="" schemaLocation="SimpleImport.xsd"/>


The ‘ODPackage’ package did not load correctly.

Suddenly, I was getting these messages when opening an orchestration in BizTalk:

Microsoft Visual Studio
The ‘ODPackage’ package did not load correctly.

The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file ‘C:UsersAdministratorAppDataRoamingMicrosoftVisualStudio11.0ActivityLog.xml’.

Continue to show this error message?
Yes No

There are a lot of solutions and suggestions in the web:

Of course all these didn’t work… A complete uninstall and install of BizTalk worked shortly. (If you do this, you can easily export and import the BizTalk settings in the configuration tool. Remember to delete the databases..) But then the problem reoccurred again.

In the solution there was an empty solution folder but I already removed it. The trick was: delete the complete solution, then do a get-latest on TFS. No problems again!! Solution worked!

It has to to with empty solution folders of files with no extension, in combination with TFS.


« Older posts Newer posts »

© 2019

Theme by Anders NorénUp ↑