SharePoint 2007 Restore Site Collection遇到的网站集Url缓存问题【已解决】

news/2024/5/13 1:42:55/文章来源:https://blog.csdn.net/weixin_30326745/article/details/98197433

        这个问题比较奇怪,可以说是SharePoint的一个BUG吧。请看下图:

       

        在Site Collection List里面看不到正常的网站集信息。但是这个Url缺存在于此。

        这是正常网站集选择时显示的信息:

        

        在做Site Collection的Restore时候碰到如下错误:

        

        错误信息:

        Another site already exists at http://********.com/sites/******. Delete this site before attempting to create a new site with the same URL, choose a new URL, or create a new inclusion at the path you originally specified.

        这个Url上已经存在一个网站了。请删除此网站,然后再创建。大体上说的是这个意思。

        

        然后我尝试去删除这个Site Collection。遇到这个错误。

        

        通过stsadm命令行工具删除失败:The system cannot find the path specified. (Exception from HRESULT: 0x80070003)

 

        在Google上查到这个博客,描述的情况和我遇到的一样。

        Error Cannot complete action when restoring a sharepoint site - possible cause : Orphaned site

        按照其中描述运行相应的命令:

        stsadm -o databaserepair -url http://MySharepointServer/sites/mySharepointSite -databasename YourdatabaseName

        然后加上 -deletecorruption 参数再运行一次,为了清理掉那些不可用的坏链接。

        最后得到的结果均为0。

        

        然后我又查到这篇博客,里面描述了解决这个问题最重要的一步。

        Error :Another site already exists at "" Delete this site before attempting to create a new site with the same URL

        Detach Content Database后再Attach Content Database。

        幸亏有备份用的环境,到备份环境中在Site Collection List中查到这个Site Collection所在的内容数据库,将其detached,然后re-attach这个Content Database。

 

        重新打开Site Collection List查看,最开始显示的不正常的网站集消失了。重新运行stsadm -o restore命令恢复网站集,成功!

        

        将两篇博客内容附在下面:

        Error :Another site already exists at "" Delete this site before attempting to create a new site with the same URL

In my previous post after succesfully finshed installing the WSS v3 SP2 and now tried to restore my site to my surprise i came across another error :)

  Another site already exists at http://mysite/. Delete this site before attempting to create a new site with the same URL, l
choose a new URL, or create a new inclusion at the path you originally specified 

I had a look at the Sharepoint Central Admin and i could see the site but the delete button was greyed out 
So i taught it must be an orphan site so i tried using the
staadm - o databaserepair  "YOURSITE" - databasename "YouDB"
also used the -deletecorruption option but still returned 0

But it returned 0 which meand there are no orphaned sites arg.!!!!!!!
 
So my last taught was the database isn't refreshing so i simple detached and re-attach the WSS_Content DB
and BINGO tried to restore and it worked.
Hope that helps


        Error Cannot complete action when restoring a sharepoint site - possible cause : Orphaned site

Its interesting when you wonder why you can't restore your backed up sites when trying to restore a site using the stsadm and you keep getting error:

Cannot complete action . Please Try again

I will start by sending toKeith site which actually explains what orphan sites are and how you can avoid them.
Unfortunately in my own case there was nothing to avoid i guess the database just got corrupted
What i did was delete a site collection from the sharepoint Central Admin and that was it any time i try to restore to the site i deleted i get the error and when i try to create a site with the same name its tell me the site collection already exist and advices me to use another name.

And funny enough i can see still the site collection listed in the sitel collection list in my admin config

But the point is i never gave up and i WANT TO USE THE SAME SITE NAME

So  started digging into the stsadm cmd and i found a handy cmd called databaserepair which goes like like this below:

stsadm -o databaserepair -url http://MySharepointServer/sites/mySharepointSite -databasename YourdatabaseName

running the command above will list your sites and lists etc that are orphaned cool isn't it

and then when you use the  -deletecorruption
 
like bellow it will delete the corrupted data

stsadm -o databaserepair -url http://MySharepointServer/sites/mySharepointSite -databasename YourdatabaseName -deletecorruption

and you should see a similar  result in xml format with a deleted attribute that equals to YES

<OrphanedObjects Count="22">
  <Orphan Type="SPSite" Id="{E732BEEC-F4BD-40D7-A51F-7B33BA7D5698}" Deleted="Yes
" />

And i said to myself hmm... problem solved.

So i went back to the sharepoint Central Admin to create the site and bingo the error again

So as far as i know the only thing that worked for me if you check out Keith's blog  above is :

You need to basically remove and re-add the Content Database that the Configuration Database an entry for.When the content database is removed from the virtual servers list of content databases, clean up logic is performed to remove the entries from the Configuration database.  You then simply re-add the content database back in, and the sites from the content database are re-added to the configuration database.

And that did the trick

You can also see more troubleshoting here
 

 

 

转载于:https://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/21/2220657.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.luyixian.cn/news_show_735091.aspx

如若内容造成侵权/违法违规/事实不符,请联系dt猫网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

html5代码_HTML5响应式网站拥有哪些优势与特点

在现如今&#xff0c;随着互联网科技飞速的发展和进步&#xff0c;目前说起H5响应式网站&#xff0c;很多人第一时间的反应是&#xff1a;“HTML5网站拥有丰富的展示形式”、“H5网站的功能很多”、“响应式网站能够适应不同屏幕大小分辨率的设备”、“H5响应式网站更易于优化”…

ASP在线音乐系统网站-原创毕业设计作品

前言 随着社会的发展时代的前进&#xff0c;网络的发展也是日新月异&#xff0c;对人类的生产和生活方式产生了很大的影响。人们通过网络彼此沟通和交流&#xff0c;各种各样的网站也随之产生了&#xff0c;比如音乐网站、新闻网站、娱乐网站、政府网站等等&#xff0c;它们的出…

cms php vue 开源_开源PHP组件漏洞曝光,多个运行CMS系统的网站受影响

据外媒报道&#xff0c;研究人员发现&#xff0c;CMS制造商Typo3开发的开源PHP组件PharStreamWrapper存在安全漏洞&#xff0c;运行Drupal、Joomla或Typo3内容管理系统的网站均受影响。图片来源于创客贴据悉&#xff0c;该漏洞由研究人员Daniel Le Gall发现&#xff0c;被命名为…

index.html dreamweaver 设置为主业,在 Dreamweaver 中如何链接页面和内容以及设置网站导航...

了解 Dreamweaver 中的链接和导航功能&#xff0c;以及绝对路径、文档相对路径和站点根目录相对路径。在设置 Dreamweaver 站点以存储网站文档和创建 HTML 页面之后&#xff0c;您将需要创建文档之间的连接。Dreamweaver 提供多种创建链接的方法&#xff0c;可创建指向文档、图…

php代码网站分享

2019独角兽企业重金招聘Python工程师标准>>> http://www.codepearl.com/ 转载于:https://my.oschina.net/pureboys/blog/180329

经典网页设计:10个响应式设计的国外购物网站

今天我想与大家分享电子商务主题的网站设计&#xff0c;更精确地说是为设计在线商店提供新思想。每个人都知道移动技术的市场发展迅速&#xff0c;已经很难找到一个人没有手机的人了。响应设计给我们提供了一个巨大的机遇&#xff1a;站点的访问量的增长和销售收入的增加。在今…

解决网站的并发处理

原文链接http://hi.baidu.com/yjy198125/blog/item/9f1952b4bf22dd768ad4b25e.htmlhttp://www.javaeye.com/topic/235725一个小型的网站&#xff0c;比如个人网站&#xff0c;可以使用最简单的html静态页面就实现了&#xff0c;配合一些图片达到美化效果&#xff0c;所有的页面…

php云人才系统源码_运用ptcms搭建自用无广告网站(附采集规则和源码)

相信很多喜欢看小说的朋友都碰见过这种情况&#xff1a;看小说的时候突然点错了&#xff0c;然后就进入广告&#xff0c;甚至满篇文章都被广告遮完了。今天xiaotaiqi就来分享给大家一个运用ptcms搭建一个自己的小说网站的方法&#xff0c;还可以自动采集。&#xff08;附源码和…

ASP.NET的SEO:Linq to XML---网站地图和RSS Feed

本系列目录网站地图的作用是让搜索引擎尽快的&#xff0c;更多的收录网站的各个网页。这里我们首先要明白一个基本的原理&#xff0c;搜索引擎的爬行方式。整个互联网就像一张纵横交错的“网”&#xff1a;网的各个节点就是各个网页&#xff0c;而各个网页之间通过url相互连接。…

IE无法打开internet网站已终止操作的解决的方法

用IE内核浏览器的朋友&#xff0c;或许不经意间会碰到这样滴问题&#xff1a;打开某个网页时&#xff0c;浏览器“嘣”跳出一个提示框“Internet Explorer无法打开Internet 站点...已终止操作”。而大多数情况下该页面甚至非常可能看起来已经载入完成&#xff0c;内容能够全然显…

南通seo:竞争对手的SEO分析策略

我们不管做什么事情&#xff0c;都要讲究一个策略。当然了SEO也如此。一、SEO为什么要对竞争对手进行分析实施SEO项目时&#xff0c;正确地分析竞争对手是非常重要的 一个环节。首先&#xff0c;分析和研究竞争对手站点的链接策略和内容策略&#xff0c;有利于提升自己的SEO技术…

仿360搜索界面html,仿360网站卫士拦截页面黑页源码

黑页源码下载&#xff0c;最新黑页复制以下内容保存为index.html您好&#xff0c;由于360过于垃圾保护不了你的网站你的网站被人黑了。很抱歉&#xff0c;由于360太垃圾了&#xff0c;没有抵挡住渗透攻击拦截URL&#xff1a;如果您是站长&#xff0c;请关闭网站&#xff0c;交出…

网站页面左右_在专业网站制作中网站首页制作时应遵循哪些原则?

我们在做一个网站时&#xff0c;都会把主要的精力放在首页的设计上&#xff0c;首页是用户打开网站最先看到的页面&#xff0c;决定着用户的去留。所以&#xff0c;打造一个好的首页是非常有必要的。之前我们济南网站建设​的小编就有分享过网站内页有哪些可遵循的原则的文章&a…

广告***盗杀毒厂商数字签名 视频网站流量惨遭劫持

金山毒霸安全实验室本周截获一广告***&#xff0c;该病毒运行后会在用户电脑释放被修改的flash插件。当用户访问优酷youku、toudu土豆、qiyi奇艺、56我 乐、QQ农场等视频网站时&#xff0c;病毒会强行插入视频广告。并且&#xff0c;据金山毒霸安全实验室分析&#xff0c;病毒释…

推荐30个非常聪明的网站介绍案例

当访问一个网站的时候&#xff0c;首页是最有可能让人印象深刻并由此记住这个网站的。因此首页的设计非常重要&#xff0c;既要美观又要清晰的告诉别人你这个网站是做什么的。下面与大家分享30个设计得非常好的案例&#xff0c;这些网站通过图形和文字信息两方面来准确表达出网…

VC2005从开发MFC ActiveX ocx控件到发布到.net网站的全部过程

开篇语&#xff1a;最近在弄ocx控件发布到asp.net网站上使用&#xff0c;就是用户在使用过程中&#xff0c;自动下载安装ocx控件。&#xff08;此文章也是总结了网上好多人写的文章&#xff0c;我只是汇总一下&#xff0c;加上部分自己的东西&#xff0c;在这里感谢所有在网上发…

推荐几个新的有趣网站

点名时间 – 预购一个梦想&#xff1a;点名时间是一个让你发起和支持创意项目的平台。你可以在这里发起项目&#xff0c;向公众推广&#xff0c;并得到资金的支持去完成你的梦想。你也可以在这里浏览各种有趣的项目&#xff0c;一起支持创意&#xff0c;预购别人的梦想。 链接&…

OPENCART高级搜索引擎优化(SEO PACK PRO)

OPENCART高级搜索引擎优化(SEO PACK PRO)是时候将您的网站进行高级搜索引擎优化了&#xff01;Opencart高级搜索引擎优化( SEO PACK PRO)扩充功能包含所所有有关 Opencart SEO 搜索引擎的相关扩充功能&#xff1a;1. Keywords Generator for all products2. Meta Description G…

网站优化:测试网站速度的8款免费工具推荐

网站的加载速度是决定网站成败的重要因素&#xff0c;值得站长特别关注。原因很简单&#xff0c;没有人愿意为了打开一个网页而等老半天&#xff0c;换句话说&#xff0c;如果你的网站打开速度很慢&#xff0c;将流失大量的访客&#xff0c;甚至出现多米诺效应的不良影响&#…

分享45套2011年和2012年的高质量免费网站模板

为什么80%的码农都做不了架构师&#xff1f;>>> 日期&#xff1a;2012-11-11 来源&#xff1a;GBin1.com 前端时间我们分享了12套超酷的后台管理员界面网站模板&#xff0c;相信看过的朋友肯定已收入囊中了&#xff0c;今天呢&#xff0c;我们继续推荐45套高质量…