Symptoms
Assume that you use the BizTalk WCF Service Publishing Wizard to publish schemas as WCF services in BizTalk Server 2010. In this situation, a System.NullReferenceException exception may occur when the wizard tries to retrieve the schemas from the selected assembly file. Additionally, you receive the following error message:
BtsWcfServicePublishingWizard, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
C:\Program Files (x86)\Microsoft BizTalk Server 2010\BtsWcfServicePublishingWizard.exe System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.BizTalk.Adapter.Wcf.Publishing.Reflection.Schema..ctor(SchemaBase schemaBase, String rootName) at Microsoft.BizTalk.Adapter.Wcf.Publishing.Reflection.SchemaCollection..ctor(Assembly assembly, SchemaTypes schemaTypes) at Microsoft.BizTalk.Adapter.Wcf.Publishing.Reflection.AssemblyLoader.ObtainSchemas() at Microsoft.BizTalk.Adapter.Wcf.Publishing.Reflection.AssemblyLoader.ObtainSchemas() at Microsoft.BizTalk.Adapter.Wcf.Publishing.Reflection.AssemblyManager.ObtainSchemas() at Microsoft.BizTalk.Adapter.Wcf.Publishing.Wizard.SelectSchemaDialog.ListSchemas()
Resolution
Cumulative update information
For BizTalk Server 2010
The hotfix that resolves this issue is included in cumulative update package 6 for BizTalk Server 2010.
For more information about how to obtain this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:2855367 Cumulative update package 6 for BizTalk Server 2010
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More Information
For more information about the BizTalk WCF Service Publishing Wizard, go to the following MSDN website:
General information about the BizTalk WCF Service Publishing WizardFor information about the service packs and cumulative update list for BizTalk Server, click the following article number to view the article in the Microsoft Knowledge Base:
2555976 Service pack and cumulative update list for BizTalk Server For more information about BizTalk hotfixes and Service Pack support, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information about BizTalk hotfixes and Service Pack support