如何从配置数据库中删除陈旧的SharePoint设置? [英] How to remove stale SharePoint settings from configuration database?

查看:134
本文介绍了如何从配置数据库中删除陈旧的SharePoint设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们刚刚从TFS 2015.3升级到2015.4,除了一个与SharePoint相关的问题外,一切顺利。虽然我已经重新配置了TFS的SharePoint集成并使其指向正确的Web应用程序,但我在升级
日志中发现了几个条目,其中TFS抱怨无法连接到某些SharePoint站点,这是有道理的,因为那些网站不再存在:


"(...)+ - + - + - + - + - |验证SharePoint日志记录| + - + - + - + - + -


(...)位于管理员URL :(指向一些过时的URL)


(...)位于Wss Root Url之后:(指向其他一些陈旧的URL)


(...)+ - + - + - + - + - |验证现有的sharepoint设置| + - + - + - + - + -


(...)[警告@ ...] TF255329:无法访问以下站点:(指向到上面陈旧的URL)(...)"


有没有办法从SharePoint的配置数据库中删除这些陈旧的设置?


非常感谢,


Andreas

解决方案

嗨Andreas,


感谢您在此发帖。


我找不到直接从SP数据库中删除不正确条目的方法。


无论如何,请检查tfs的相关SharePoint配置是否正确。应用程序层 - > SharePoint Web应用程序和 
应用程序层 - >团队项目集合 - > SharePoint网站


Web部件仍引用旧网站。这可能是缓存问题,尝试
清理TFS缓存


如果问题仍然存在,请尝试卸载SharePoint的TFS扩展并重新安装,这可能会解决问题。更多细节请参考以下主题:

为您现在使用的TFS使用相同的SharePoint站点


我认为如果您已经更新了TFS并且有没有任何其他问题在进一步使用,它只是在升级日志文件中显示错误消息。这可能是由SharePoint配置缓存引起的。这意味着如果你在升级之前首先清理
缓存,那么可能不会遇到这个问题。


请参考这篇文章:
清除SharePoint配置缓存


最好的问候。


We've just upgraded from TFS 2015.3 to 2015.4, and everything went well except for one SharePoint related issue. Although I've reconfigured TFS's SharePoint integration and made it point to the correct web application, I found several entries in the upgrade log with TFS complaining about not being able to connect to certain SharePoint sites, which makes sense because those sites do no longer exist:

"(...) +-+-+-+-+-| Verifying SharePoint Logging |+-+-+-+-+-

(...) Located Following Admin Url: (pointing to some stale URL)

(...) Located Following Wss Root Url: (pointing to some other stale URL)

(...) +-+-+-+-+-| Verify existing sharepoint settings |+-+-+-+-+-

(...) [Warning@...] TF255329: The following site could not be accessed: (pointing to the above stale URLs) (...)"

Is there a way to remove these stale settings from SharePoint's configuration database?

Many thanks,

Andreas

解决方案

Hi Andreas,

Thank you for posting here.

I cannot find a way to delete the incorrect entries directly from SP database.

Anyway, please check if the related SharePoint configuration of the tfs is correct. Application tier --> SharePoint Web Applications and  Application tier --> Team project collection --> SharePoint site

The web part still refers to the old site. It may be a cache issue, try to clean the TFS cache both in your client machine and SharePoint server.

If the issue still exists, give a try with uninstalling the TFS extensions for SharePoint and reinstall it, which may do the trick. More details please refer this thread: Use the same SharePoint site for TFS that you have right now

I think it’s not matter if you have been updated the TFS already and there are no any other issues in further using, it’s just show the error message in the upgrade log file. This may be caused by the SharePoint configure caches. That means if you clean the caches first before upgrading, then maybe cannot encounter this issue.

Please reference this article: Clearing the SharePoint Configuration Cache

Best Regards.


这篇关于如何从配置数据库中删除陈旧的SharePoint设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆