解决 SharePoint 2013 An update conflict has occurred, and you must re-try this action
同事在SharePoint的服务器上安装Oracle客户端,之后SharePoint 启动不了。 很多地方报错。
使用ULS日志查看工具,显示错误如下。
Date Time w3wp.exe (0x1620) 0x1988 Windows SharePoint Services Topology 8xqz Medium Updating SPPersistedObject SPAlternateUrlCollection Name=WEBAPPLICATION Parent=SPFarm Name=SharePoint_Config. Version: 16449 Ensure: 0, HashCode: 30474330, Id: 609b3309-241a-4193-8289-1bba6a70be50, Stack: at Microsoft.SharePoint.Administration.SPPersistedObject.Update() at Microsoft.SharePoint.Administration.SPAlternateUrlCollection.Update() at Microsoft.SharePoint.ApplicationPages.IncomingUrlPage.BtnSave_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP._admin_editincomingurl_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.ResumeSteps(Exception error) at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr) at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) 06/06/2007 14:36:31.51 w3wp.exe (0x1620) 0x1988 Windows SharePoint Services Topology 75bd High UpdatedConcurrencyException: The object SPAlternateUrlCollection Name=WEBAPPLICATION Parent=SPFarm Name=SharePoint_Config was updated by another user. Determine if these changes will conflict, resolve any differences, and reapply the second change. This error may also indicate a programming error caused by obtaining two copies of the same object in a single thread. Previous update information: User: DomainName\UserName1 Process:w3wp Machine:ServerName Time:Date Time Current update information: User: DomainName\UserName2 Process:w3wp Machine:ServerNameDate Time w3wp.exe (0x1620) 0x1988 Windows SharePoint Services Topology 8xqy High ConcurrencyException: Old Version : 16449 New Version : 0
- 停止计时器服务。若要执行此操作,请按照下列步骤操作:
- 单击开始、 指向管理工具,然后单击服务。
- 用鼠标右键单击Windows SharePoint Services 计时器,然后单击停止。
- 关闭服务控制台。
- 计算机运行 Microsoft Office SharePoint 服务器 2007年且该管理中心网站托管在单击开始上单击运行、 键入资源管理器,然后按 enter 键。
- 在 Windows 资源管理器中找到并双击下面的文件夹:
驱动器: \Documents 和站点内容 Data\Microsoft\SharePoint\Config\ GUID备注:
- 该驱动器占位符指定在其安装了 Windows 的驱动器的盘符。默认情况下 Windows 安装驱动器 C 上。
- GUID占位符指定的 GUID 文件夹。
- 应用程序数据文件夹可能被隐藏。若要查看隐藏的文件夹请执行以下步骤:
- 上 工具 菜单上,单击 文件夹选项。
- 单击 视图 选项卡。
- 在中 高级的设置 列表中单击 显示隐藏的文件和文件夹 在下 隐藏的文件和文件夹然后单击确定.
- 在 Windows Server 2008 中,配置缓存为中的以下位置:
驱动器: \ProgramData\Microsoft\SharePoint\Config\ GUID
- 备份计算机上的 Cache.ini 文件。
- GUID 文件夹中的所有 XML 配置文件中都删除。执行此操作,以便您可以验证时重新生成缓存时通过新的 XML 配置文件来替换 GUID 文件夹。
注意 当空的配置缓存中的 GUID 文件夹时,请确保不要删除 GUID 文件夹和位于 GUID 文件夹中的 Cache.ini 文件。 - 双击 Cache.ini 文件。
- 上 编辑 菜单上,单击 选择全部.
- 上 编辑 菜单上,单击 删除.
- 键入 1然后单击 保存 上 文件 菜单。
- 上 文件 菜单上,单击 退出.
- 启动计时器服务。若要执行此操作,请执行以下步骤:
- 单击 开始指向 管理工具然后单击 服务.
- 用鼠标右键单击 Windows SharePoint Services 计时器然后单击 开始.
- 关闭服务控制台。
- 请确保 Cache.ini 文件已被更新。例如它应该不再是 1,如果缓存已更新。
- 单击 开始指向 程序指向 管理工具然后单击 SharePoint 3.0 管理中心.
- 单击 操作 选项卡,然后再单击 计时器作业状态 在下 全局配置.
- 在计时器作业列表中,验证的状态 配置刷新 项 成功.
- 上 文件 菜单上,单击 关闭.
参考地址:
https://support.microsoft.com/en-us/kb/939308/en-us