Namespace prefix ‘xsd’ is not defined

While working with infopath form we have encountered the below issue while viewing the infopath form in IE 11.

Unexpected System.InvalidOperationException: Namespace prefix ‘xsd’ is not defined. at System.Xml.Serialization.XmlSerializationReader.ToXmlQualifiedName(String value, Boolean decodeName) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDictionaryEntryArray.Read1_
Object(Boolean isNullable, Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDictionaryEntryArray.
Read2_DictionaryEntry(Boolean checkType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDictionaryEntryArray.
Read3_ArrayOfDictionaryEntry()

Solution 1:

Here are the steps that we applied on IE to resolve the issue.

  1. Open Internet Explorer
  2. Click on Tools at the top and select Internet Options
  3. Click the Security Tab
  4. Click Local Intranet
  5. Click Sites
  6. Click Advanced and all of the intranet sites will reappear in the websites box, select our site and click on Add button. Make sure there is a check box in the Require server verification box
  7. Click Close
  8. Click Ok
  9. Click Ok and you’re done
  10. Then, try accessing the infopath form again.

Solution 2:

  1. Take Backup of pickerdialog.master present in 14 hive inside layout folder(“C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\pickerdialog.master”)
  2. Edit pickerdialog.master in notepad and add below tag inside Head tag

<meta http-equiv=”x-ua-compatible” content=”IE=8″ > just after the
<meta name=”GENERATOR” content=”MicrosoftSharePoint” />

  1. Save the file and perform IISRESET

Solution 3:

  1. Locate the file formserver.aspx present under 14 hive > Template > Layout
  2. Take backup of this file formserver.aspx
  3. Edit this file and add below line of code under <body> tag

      <SharePoint:FormDigest runat=”server” />

       For example,

       <body runat=”server” id=”PageBody”>

       <SharePoint:FormDigest runat=”server” />

  1. Save the file and perform IISRESET
Advertisements

2 thoughts on “Namespace prefix ‘xsd’ is not defined

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s