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=126.96.36.199, 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()
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
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about the BizTalk WCF Service Publishing Wizard, go to the following MSDN website: