好的,在我的 SharePoint 服务器上,当我想授予用户权限(比如说所有者组)时,我会在 AD 中搜索该用户并找到他,当我添加他时出现此错误:Server error in '/'Application.
。
当我在 SharePoint 中选择一个用户来查看他的权限时,也会发生同样的情况,我得到了相同的服务,在 IIS 中,我还查看了应用程序池正在使用的帐户,它们是具有正确权限连接到 AD 的域帐户
在事件日志中这就是该事件。
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 10/11/2012 10:02:47 AM
Event time (UTC): 10/11/2012 8:02:47 AM
Event ID: d902e2fa97c9449aa7b5cc4ed017723b
Event sequence: 2913
Event occurrence: 5
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1901200390/ROOT-1-129944117181445077
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: C:\inetpub\wwwroot\wss\VirtualDirectories\80\
Machine name:
Process information:
Process ID: 1000
Process name: w3wp.exe
Account name: Domain\user
Exception information:
Exception type: InvalidOperationException
Exception message: There is an error in XML document (1, 43).
Request information:
Request URL: http://www.website.ac.za/_layouts/aclinv.aspx?IsDlg=1
Request path: /_layouts/aclinv.aspx
User host address:
User: 0#.w|Domain\User
Is authenticated: True
Authentication Type: Federation
Thread account name: Domain\User
Thread information:
Thread ID: 26
Thread account name: Domain\User
Is impersonating: False
Stack trace: at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
at Microsoft.SharePoint.WebControls.EntityEditor.ParseSpanData(String spans)
at Microsoft.SharePoint.WebControls.EntityEditor.LoadPostData(String postDataKey, NameValueCollection values)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
有人能为我解决这个问题吗?
答案1
由于某些奇怪的原因,这与 IE9 有关(根据http://www.alectang.com/blog/archive/2012/04/24/system-invalidoperationexception--there-is-an-error-in-xml-document.aspx)。
我使用开发者工具 (F12) 并将浏览器模式更改为 IE8,解决了这个问题。虽然没有解释为什么会发生这种情况,但至少可以让你解决这个问题。
答案2
无论如何,Internet Explorer 11 都会失败,但是铬合金34 工作正常(尽管它添加了两次用户)。