在使用IE9或IE10添加包含User类型的Field的,或者在Site Permission中添加用户的时候,可能会出现如下错误:
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()
解决方案:
1. F12打开IE developer Tools;
2. Browser Mode选择IE8,同时Document Mode也选择IE8。
3. 刷新页面,然后就能正常添加User了。