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: "non-readonly field/property access is limited" error when you build a BizTalk Server 2010 project


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have an orchestration in a Microsoft BizTalk Server 2010 or Microsoft BizTalk Server 2013 project in Microsoft Visual Studio.
  • You create the following two types of variables in the orchestration:

    var1: System.Xml.XmlDocument
    var2: System.String
  • You add an expression shape that contains the following code to the orchestration:

    var1 = new System.Xml.XmlDocument();
    var2 = var1. DocumentElement.NamespaceURI;
In this scenario, you receive the following error message when you build this project:
non-readonly field/property access is limited to distinguished fields on class-based messages.

↑ Back to the top


Resolution

Cumulative update information

This issue was first fixed in the following cumulative update of BizTalk Server:

↑ 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


References

For information about the service packs and cumulative update list for BizTalk Server, see KB 2555976: Service pack and cumulative update list for BizTalk Server .

For more information about BizTalk Server hotfixes, see KB 2003907: Information about BizTalk hotfixes and Service Pack support .

↑ Back to the top


Keywords: kb, kbqfe, kbfix, kbsurveynew, kbexpertiseadvanced

↑ Back to the top

Article Info
Article ID : 2961378
Revision : 1
Created on : 1/7/2017
Published on : 10/10/2015
Exists online : False
Views : 217