Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: NullReferenceException exception when you use the "BizTalk WCF Service Publishing Wizard" to publish schemas as WCF services


View products that this article applies to.

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()

↑ Back to the top


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


↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about the BizTalk WCF Service Publishing Wizard, go to the following MSDN website: For 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

↑ Back to the top


Keywords: kbqfe, kbfix, kbsurveynew, kbexpertiseadvanced, kb

↑ Back to the top

Article Info
Article ID : 2818904
Revision : 1
Created on : 1/7/2017
Published on : 7/12/2013
Exists online : False
Views : 293