小蜗牛的足迹

        I'm a slow walker, but I never walk backwards.

Namespace prefix 'xsd' is not defined解决方法

在使用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了。

 

posted on 2013-08-21 12:15  o_小蜗牛_o  阅读(1585)  评论(0编辑  收藏  举报

导航