<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Bear-Study-Hard</title><subtitle type="text">In 2011, I am absorbed in SharePoint 2007/2010. O(∩_∩)O</subtitle><id>http://feed.cnblogs.com/blog/u/15707/rss</id><updated>2012-02-02T02:40:54Z</updated><author><name>努力学习的小熊</name><uri>http://www.cnblogs.com/Bear-Study-Hard/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Bear-Study-Hard/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/15707/rss"/><entry><id>http://www.cnblogs.com/Bear-Study-Hard/archive/2012/02/02/2335435.html</id><title type="text">SharePoint 2007 上 Nintex Workflow 2007 配置错误导致的问题</title><summary type="text">前两天遇到这么一个错误，原因是Nintex Workflow配置引起的。首先看一下错误信息： ExecuteReader requires an open and available Connectoin. The connection&amp;#39;s current state is closed. 工作流的状态也显示为发生了错误。 点击这个Error Occurred可以在Comments里面看到相同的错误信息。 然后给Nintex Workflow的Support发了封邮件询问了一下，按照他们发过来的建议去检查。发现运行Central Administration...</summary><published>2012-02-02T02:41:00Z</published><updated>2012-02-02T02:41:00Z</updated><author><name>努力学习的小熊</name><uri>http://www.cnblogs.com/Bear-Study-Hard/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2012/02/02/2335435.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2012/02/02/2335435.html"/><content type="html">&lt;p&gt;前两天遇到这么一个错误，原因是Nintex Workflow配置引起的。首先看一下错误信息： ExecuteReader requires an open and available Connectoin. The connection's current state is closed.&lt;/p&gt;&lt;p&gt;工作流的状态也显示为发生了错误。&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2012/20120202a.png" height="194" width="1064" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;点击这个Error Occurred可以在Comments里面看到相同的错误信息。&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2012/20120202b.png" height="463" width="1084" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;然后给Nintex Workflow的Support发了封邮件询问了一下，按照他们发过来的建议去检查。发现运行Central Administration的Application Pool Service Account和运行这个Web Application的Application Pool Service Account是不一样的。那么我们需要在SQL数据库里面均要给这两个服务账号赋予对应Nintex Content Database的dbo权限。 通常在开发或者测试环境会使用相同的Farm Service Account来host两个Web Application Pool，所以在配置Nintex的时候只要给一个Account权限就可以，不会发生这种问题。在Production环境下，我们使用了两个不同的Account，所以忘记给这个应用的Web Application赋予权限了。&lt;span style="color: red;"&gt;给这个Web Application的Service Account赋予Nintex Content Database的dbo权限&lt;/span&gt;&lt;span style="color: #ff0000;"&gt;即可。&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2012/20120202c.png" height="632" width="918" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;配置好后，重新测试Nintex Workflow，可以运行成功。&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2012/20120202d.png" height="186" width="1061" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Bear-Study-Hard/aggbug/2335435.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Bear-Study-Hard/archive/2012/02/02/2335435.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/21/2220657.html</id><title type="text">SharePoint 2007 Restore Site Collection遇到的网站集Url缓存问题【已解决】</title><summary type="text">这个问题比较奇怪，可以说是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 th...</summary><published>2011-10-21T12:16:00Z</published><updated>2011-10-21T12:16:00Z</updated><author><name>努力学习的小熊</name><uri>http://www.cnblogs.com/Bear-Study-Hard/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/21/2220657.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/21/2220657.html"/><content type="html">&lt;p&gt;这个问题比较奇怪，可以说是SharePoint的一个BUG吧。请看下图：&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20111021aa.PNG" width="979" height="436" /&gt;&lt;br /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;在Site Collection List里面看不到正常的网站集信息。但是这个Url缺存在于此。&lt;/p&gt;&#xD;
&lt;p&gt;这是正常网站集选择时显示的信息：&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20111021c.PNG" width="828" height="382" /&gt; &lt;br /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;在做Site Collection的Restore时候碰到如下错误：&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20111021g.PNG" width="644" height="77" /&gt; &lt;br /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;错误信息：&lt;/p&gt;&#xD;
&lt;p&gt;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.&lt;br /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;这个Url上已经存在一个网站了。请删除此网站，然后再创建。大体上说的是这个意思。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;然后我尝试去删除这个Site Collection。遇到这个错误。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20111021j.PNG" width="639" height="55" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;通过stsadm命令行工具删除失败：The system cannot find the path specified. (Exception from HRESULT: 0x80070003) &lt;br /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;在Google上查到这个博客，描述的情况和我遇到的一样。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;a title="Error Cannot complete action when restoring a sharepoint site - possible cause : Orphaned site" href="http://geekswithblogs.net/naijacoder/archive/2008/05/20/122283.aspx" target="_blank"&gt;Error Cannot complete action when restoring a sharepoint site - possible cause : Orphaned site&lt;/a&gt;&lt;/p&gt;&#xD;
&lt;p&gt;按照其中描述运行相应的命令：&lt;/p&gt;&#xD;
&lt;p&gt;stsadm -o databaserepair -url http://MySharepointServer/sites/mySharepointSite -databasename YourdatabaseName&lt;/p&gt;&#xD;
&lt;p&gt;然后加上 -deletecorruption 参数再运行一次，为了清理掉那些不可用的坏链接。&lt;br /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;最后得到的结果均为0。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20111021i.PNG" width="640" height="128" /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;然后我又查到这篇博客，里面描述了解决这个问题最重要的一步。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;a title='Error :Another site already exists at "" Delete this site before attempting to create a new site with the same URL' href="http://geekswithblogs.net/naijacoder/archive/2011/01/17/143520.aspx" target="_blank"&gt;Error :Another site already exists at "" Delete this site before attempting to create a new site with the same URL&lt;/a&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;&lt;span style="color: red"&gt;Detach Content Database后再Attach Content Database。&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;幸亏有备份用的环境，到备份环境中在Site Collection List中查到这个Site Collection所在的内容数据库，将其detached，然后re-attach这个Content Database。&lt;br /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;重新打开Site Collection List查看，最开始显示的不正常的网站集消失了。重新运行stsadm -o restore命令恢复网站集，成功！&lt;br /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;将两篇博客内容附在下面：&lt;/p&gt;&#xD;
&lt;p&gt;&lt;a id="viewpost_ascx_TitleUrl" title="Title of this entry." href="http://geekswithblogs.net/naijacoder/archive/2011/01/17/143520.aspx"&gt;Error :Another site already exists at "" Delete this site before attempting to create a new site with the same URL&lt;/a&gt;&lt;/p&gt;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 :)&#xD;
&lt;div&gt;&#xD;
&lt;p&gt;Another site already exists at &lt;a href="http://mysite/"&gt;http://mysite/&lt;/a&gt;. Delete this site before attempting to create a new site with the same URL, l&lt;br /&gt;choose a new URL, or create a new inclusion at the path you originally specified&amp;nbsp;&lt;/p&gt;&#xD;
&lt;p&gt;I had a look at the Sharepoint Central Admin and i could see the site but the delete button was greyed out&amp;nbsp; &lt;br /&gt;So i taught it must be an orphan site so i tried using the&lt;br /&gt;staadm - o databaserepair&amp;nbsp; "YOURSITE" - databasename "YouDB"&lt;br /&gt;also used the -deletecorruption option but still returned 0&lt;/p&gt;But it returned 0 which meand there are no orphaned sites arg.!!!!!!!&lt;br /&gt;&amp;nbsp;&lt;br /&gt;So my last taught was the database isn't refreshing so i simple detached and re-attach the WSS_Content DB&lt;br /&gt;and BINGO tried to restore and it worked.&lt;br /&gt;Hope that helps&lt;/div&gt;&#xD;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;a id="viewpost_ascx_TitleUrl" title="Title of this entry." href="http://geekswithblogs.net/naijacoder/archive/2008/05/20/122283.aspx"&gt;Error Cannot complete action when restoring a sharepoint site - possible cause : Orphaned site&lt;/a&gt; &lt;br /&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;div&gt;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:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Arial"&gt;Cannot complete action . Please Try again &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/embaressed_smile.gif" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: Arial"&gt;&lt;span style="font-family: Times New Roman"&gt;I&lt;/span&gt;&lt;/span&gt; will start by sending to&lt;a href="http://blogs.msdn.com/krichie/archive/2005/10/25/484889.aspx" target="_blank"&gt; Keith &lt;/a&gt;site which actually explains what orphan sites are and how you can avoid them.&lt;br /&gt;Unfortunately in my own case there was nothing to avoid i guess the database just got corrupted &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/thumbs_down.gif" /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;And funny enough i can see still the site collection listed in the sitel collection list in my admin config&lt;br /&gt;&lt;br /&gt;But the point is i never gave up and i WANT TO USE THE SAME SITE NAME &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/teeth_smile.gif" /&gt;&lt;br /&gt;&lt;br /&gt;So&amp;nbsp; started digging into the stsadm cmd and i found a handy cmd called databaserepair which goes like like this below:&lt;br /&gt;&lt;br /&gt;stsadm -o databaserepair -url http://MySharepointServer/sites/mySharepointSite -databasename YourdatabaseName &lt;br /&gt;&lt;br /&gt;running the command above will list your sites and lists etc that are orphaned &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/wink_smile.gif" /&gt; cool isn't it&lt;br /&gt;&lt;br /&gt;and then when you use the&amp;nbsp; &lt;span style="font-style: italic; font-weight: bold"&gt;-deletecorruption&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;like bellow it will delete the corrupted data&lt;span style="font-style: italic; font-weight: bold"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;stsadm -o databaserepair -url http://MySharepointServer/sites/mySharepointSite -databasename YourdatabaseName -deletecorruption&lt;br /&gt;&lt;br /&gt;and you should see a similar&amp;nbsp; result in xml format with a deleted attribute that equals to YES&lt;br /&gt;&lt;br /&gt;&amp;lt;OrphanedObjects Count="22"&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;Orphan Type="SPSite" Id="{E732BEEC-F4BD-40D7-A51F-7B33BA7D5698}" Deleted="Yes&lt;br /&gt;" /&amp;gt;&lt;br /&gt;&lt;br /&gt;And i said to myself hmm... problem solved.&lt;br /&gt;&lt;br /&gt;So i went back to the sharepoint Central Admin to create the site and bingo the error again &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/cry_smile.gif" /&gt;&lt;br /&gt;&lt;br /&gt;So as far as i know the only thing that worked for me if you check out Keith's blog&amp;nbsp; above is :&lt;br /&gt;&lt;br style="font-style: italic; color: #ff0000" /&gt;&lt;span style="font-style: italic; color: #ff0000"&gt;Y&lt;/span&gt;ou need to basically remove and re-add the Content Database that the Configuration Database an entry for.&lt;span&gt;&amp;nbsp; 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.&amp;nbsp; You then simply re-add the content database back in, and the sites from the content database are re-added to the configuration database.&lt;br /&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;And that did the trick &lt;img alt="" src="http://geekswithblogs.net/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/thumbs_up.gif" /&gt;&lt;br /&gt;&lt;br /&gt;You can also see more troubleshoting&lt;a href="http://blogs.technet.com/corybu/archive/2007/05/31/sharepoint-orphans-explained.aspx" target="_blank"&gt; here&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&amp;nbsp;&lt;br /&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&#xD;
&lt;p&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Bear-Study-Hard/aggbug/2220657.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/21/2220657.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/19/2217294.html</id><title type="text">SharePoint 2007 用户创建 MySite 过程发生错误一例【已解决】</title><summary type="text">用户在创建MySite时遇到如下错误并报告上来，下面为错误截图。 错误信息：There has been an error creating the personal site. Contact your site administrator for more information. 1 进入到管理中心SiteCollection列表里面去查找没有发现用户创建的MySite。 2 进入SSP查看UserProfile，找到用户后点击下拉菜单中的Manage Personal Site也提示：The user has not created a personal ...</summary><published>2011-10-19T02:38:00Z</published><updated>2011-10-19T02:38:00Z</updated><author><name>努力学习的小熊</name><uri>http://www.cnblogs.com/Bear-Study-Hard/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/19/2217294.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/19/2217294.html"/><content type="html">&lt;p&gt;用户在创建MySite时遇到如下错误并报告上来，下面为错误截图。&lt;/p&gt;&lt;p&gt;错误信息：There has been an error creating the personal site. Contact your site administrator for more information. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20111019a.PNG" height="180" width="827" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1 进入到管理中心SiteCollection列表里面去查找没有发现用户创建的MySite。&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2 进入SSP查看UserProfile，找到用户后点击下拉菜单中的Manage Personal Site也提示：The user has not created a personal site.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;由此可以证明用户的创建MySite操作SharePoint还没有进行创建就出现错误了。&lt;/p&gt;&lt;p&gt;3 尝试用stsadm命令行工具为用户创建MySite。&lt;/p&gt;&lt;p&gt;stsadm -o createsite -url http://mysharepointserver.mydomain.com/personal/username -ownerlogin MyDomain\username -owneremail username@mydomain.com -sitetemplate SPSPERS&lt;br /&gt;&lt;/p&gt;&lt;p&gt;也出现错误，但是得到了具体的错误信息：&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20111019b.PNG" height="157" width="668" /&gt;&lt;/p&gt;&lt;p&gt;原来是内容数据库满了。&lt;/p&gt;&lt;p&gt;4 进入到CA（管理中心 ），找到MySite的内容数据库。发现当前使用的内容数据库确实已经满了，更换一个目前还有空间能使用的内容数据库。在此测试成功。&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20111019d.PNG" height="472" width="988" /&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20111019e.PNG" height="472" width="988" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20111019c.PNG" height="331" width="668" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Bear-Study-Hard/aggbug/2217294.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/19/2217294.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/06/2198646.html</id><title type="text">SharePoint 2007 编辑Web部件页看不到WebPart问题[已解决]</title><summary type="text">最近解决了一个问题，用户使用普通account登陆后，编辑Web部件页，点击添加WebPart，在All Web Parts部分显示不出Web Part Gallery里面的WebPart。 经过分析发现用户不具有当前子网站所在网站集的Web Part Gallery访问权限，所以列表会显示No Web Parts found..添加用户对此Gallery的访问权限，问题解决。</summary><published>2011-10-06T08:43:00Z</published><updated>2011-10-06T08:43:00Z</updated><author><name>努力学习的小熊</name><uri>http://www.cnblogs.com/Bear-Study-Hard/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/06/2198646.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/06/2198646.html"/><content type="html">&lt;p&gt;最近解决了一个问题，用户使用普通account登陆后，编辑Web部件页，点击添加WebPart，在All Web Parts部分显示不出Web Part Gallery里面的WebPart。&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20111006a.PNG" height="587" width="679" /&gt;&lt;/p&gt;&lt;p&gt;经过分析发现用户不具有当前子网站所在网站集的Web Part Gallery访问权限，所以列表会显示No Web Parts found..添加用户对此Gallery的访问权限，问题解决。 &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Bear-Study-Hard/aggbug/2198646.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/10/06/2198646.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Bear-Study-Hard/archive/2011/07/14/2106100.html</id><title type="text">SharePoint 2003 用客户端Office打开文档库Office文件</title><summary type="text">这是今天的一个低级错误……记录一下吧。SharePoint 2007提供了很少的设置界面来设置是否在网页里面打开Office文件还是使用客户端Office打开。 但是SharePoint 2003没有这么方便的设置，在哪里呢？原来是修改视图。 红色框是点击视图里面的文件名使用客户端Office打开。 蓝色框是点击视图里面的文件名链接后，在浏览器里面打开Office文件。 这两个都是在IE6下测试得出的结果。Office是2003版本。 我在使用IE9测试的时候即使是蓝色框的文件名链接，则会使用客户端Office工具打开。Office是2010版本。</summary><published>2011-07-14T02:58:00Z</published><updated>2011-07-14T02:58:00Z</updated><author><name>努力学习的小熊</name><uri>http://www.cnblogs.com/Bear-Study-Hard/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/07/14/2106100.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/07/14/2106100.html"/><content type="html">&lt;p&gt;这是今天的一个低级错误&amp;#8230;&amp;#8230;记录一下吧。SharePoint 2007提供了很少的设置界面来设置是否在网页里面打开Office文件还是使用客户端Office打开。&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110714a.PNG" width="715" height="309" /&gt;&lt;/p&gt;&lt;p&gt;但是SharePoint 2003没有这么方便的设置，在哪里呢？原来是修改视图。&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110714b.PNG" width="461" height="346" /&gt;&lt;/p&gt;&lt;p&gt;红色框是点击视图里面的文件名使用客户端Office打开。&lt;/p&gt;&lt;p&gt;蓝色框是点击视图里面的文件名链接后，在浏览器里面打开Office文件。&lt;/p&gt;&lt;p&gt;这两个都是在IE6下测试得出的结果。Office是2003版本。 &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;我在使用IE9测试的时候即使是蓝色框的文件名链接，则会使用客户端Office工具打开。Office是2010版本。 &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Bear-Study-Hard/aggbug/2106100.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/07/14/2106100.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/22/2086819.html</id><title type="text">MOSS 2007 / WSS 3.0 运行在Windows Server 2008上不能上传大于28M的文件【已解决】</title><summary type="text">环境为Windows Server 2008 Enterprise操作系统，SharePoint 2007，IIS 7.0，网站集是Team Site。 上传一个30多M的文件，无论如何也上传不上去，在CA（管理中心）中已经修改过Maximum Upload Size，默认为50M，已经完全可以满足大小，基于Windows Server 2003和IIS 6.0的环境没有此问题。 上传测试： IE 6.0 上传选择文件后点击OK按钮，页面出现404错误，并且刷新不能回到上传页面。回到文档库查看，文件上传失败。 IE 8.0 同样出现404错误，但是刷新可以回到上传页面。 IE 9.0 同IE.</summary><published>2011-06-22T05:43:00Z</published><updated>2011-06-22T05:43:00Z</updated><author><name>努力学习的小熊</name><uri>http://www.cnblogs.com/Bear-Study-Hard/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/22/2086819.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/22/2086819.html"/><content type="html">&lt;p&gt;环境为Windows Server 2008 Enterprise操作系统，SharePoint 2007，IIS 7.0，网站集是Team Site。&lt;/p&gt;&lt;p&gt;上传一个30多M的文件，无论如何也上传不上去，在CA（管理中心）中已经修改过Maximum Upload Size，默认为50M，已经完全可以满足大小，基于Windows Server 2003和IIS 6.0的环境没有此问题。&lt;/p&gt;&lt;p&gt;上传测试：&lt;/p&gt;&lt;p&gt;IE 6.0 上传选择文件后点击OK按钮，页面出现404错误，并且刷新不能回到上传页面。回到文档库查看，文件上传失败。&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110622c.PNG" height="469" width="429" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;IE 8.0 同样出现404错误，但是刷新可以回到上传页面。&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110622a.PNG" height="553" width="778" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;IE 9.0 同IE 8.0。&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110622b.PNG" height="399" width="957" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;使用单个文件上传方式，失败，出现404错误页面。&lt;/p&gt;&lt;p&gt;使用多个文件上传方式，失败，无错误信息页面，直接跳转回文档库AllItems.aspx页面。&lt;/p&gt;&lt;p&gt;使用资源管理器视图拷贝文件，失败。&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110622d.PNG" height="295" width="486" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;解决方案：&lt;/p&gt;&lt;p&gt;参考微软&lt;a target="_blank" href="http://support.microsoft.com/kb/944981/en-us"&gt;KB944981&lt;/a&gt;。&lt;/p&gt;&lt;p&gt;修改WebApplication的web.config，在&amp;lt;configuration&amp;gt;的末尾增加允许最大的内容长度设置。&lt;/p&gt;&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding-left:5px;padding-right:5px;"&gt;&lt;div&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;system.webServer&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;security&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;requestFiltering&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;requestLimits&amp;nbsp;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;maxAllowedContentLength&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="52428800"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;requestFiltering&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;security&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;system.webServer&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;修改后保存，刷新页面重新上传文档，成功。&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;参考文章：&lt;/p&gt;&lt;p&gt;&lt;a target="_blank" href="http://blog.henryong.com/2008/08/04/cant-upload-large-files-to-wss-v3-on-windows-server-2008/"&gt;Can&amp;#8217;t upload large files to WSS v3 on Windows Server 2008?&lt;/a&gt;&lt;/p&gt;&lt;p&gt;原文内容：&lt;br /&gt;&lt;div&gt;&lt;p&gt;If you&amp;#8217;re hosting Windows SharePoint Services&amp;nbsp;v3.0 on Windows Server  2008/IIS 7.0 then you&amp;#8217;ll eventually find that you can&amp;#8217;t upload files  around the ~30MB mark. The symptoms are as follows:&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Single File Upload via Document Library&lt;br /&gt; &lt;/strong&gt;Nothing happens, you get a 404 page.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Multiple File Upload via Document Library&lt;br /&gt; &lt;/strong&gt;It seems to upload the file but then after the page refreshes, the file is nowhere to be found.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Single or Multiple File Upload/Copy/Paste using open with Windows Explorer&lt;/strong&gt;&lt;br /&gt; The file begins uploading but then towards the end you get the following error:&lt;/p&gt; &lt;p&gt;&lt;em&gt;Could not find this item&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;This is no longer located in C:\filepath. Verify the item&amp;#8217;s location and try again.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;You can retry all day long but it won&amp;#8217;t work. The solution is here: &lt;a href="http://support.microsoft.com/kb/944981/en-us" target="_blank"&gt;KB 944981&lt;/a&gt;&lt;/p&gt;&lt;/div&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;相关KB：&lt;/p&gt;&lt;p&gt;&lt;a target="_blank" href="http://support.microsoft.com/kb/925083/en-us"&gt;KB925083&lt;/a&gt; &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Bear-Study-Hard/aggbug/2086819.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/22/2086819.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/13/2079630.html</id><title type="text">SharePoint 2007 Choice Field 不能更新</title><summary type="text">SharePoint 2007 Choice Field can not be modifiedCannot complete this action.Please try again.</summary><published>2011-06-13T05:17:00Z</published><updated>2011-06-13T05:17:00Z</updated><author><name>努力学习的小熊</name><uri>http://www.cnblogs.com/Bear-Study-Hard/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/13/2079630.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/13/2079630.html"/><content type="html">&lt;p&gt;一个困扰我很久的问题，现在绕开了问题根源暂时解决掉了用户的使用，但是并没有解决实际的问题，并且这个问题在其他的环境里面不能再现，希望看到的朋友提供一些信息支持，先谢谢各位！&lt;/p&gt;&lt;p&gt;问题描述：一台SharePoint前端服务器，所有的SiteCollection下的所有List的所有Field均不能进行Field Settings的Modify。修改字段的设置信息后，甚至不修改直接点击更新按钮会出现错误提示并且不能修改成功。&lt;/p&gt;&lt;p&gt;Cannot complete this action.&lt;/p&gt;&lt;p&gt;Please try again.&lt;/p&gt;&lt;p&gt;初步判断为一个共同的问题，不是某一列表或者某一字段而产生的特殊问题，那么解决的地方应该不在这个列表上。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;通过修改SharePoint的web.config文件配置信息，获取更多的错误信息。&lt;br /&gt;&lt;/p&gt;&lt;p&gt;需要修改两个地方：&lt;/p&gt;&lt;p&gt;1.找到这个SafeMode配置节点，修改他的CallStack属性，设置为true&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000"&gt;SafeMode&amp;nbsp;MaxControls&lt;/span&gt;&lt;span style="color: #000000"&gt;=&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&lt;span style="color: #800000"&gt;200&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&lt;span style="color: #000000"&gt;&amp;nbsp;CallStack&lt;/span&gt;&lt;span style="color: #000000"&gt;=&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&lt;span style="color: #800000"&gt;true&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&lt;span style="color: #000000"&gt;&amp;nbsp;DirectFileDependencies&lt;/span&gt;&lt;span style="color: #000000"&gt;=&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&lt;span style="color: #800000"&gt;10&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&lt;span style="color: #000000"&gt;&amp;nbsp;TotalFileDependencies&lt;/span&gt;&lt;span style="color: #000000"&gt;=&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&lt;span style="color: #800000"&gt;50&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&lt;span style="color: #000000"&gt;&amp;nbsp;AllowPageLevelTrace&lt;/span&gt;&lt;span style="color: #000000"&gt;=&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&lt;span style="color: #800000"&gt;false&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&lt;span style="color: #000000"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;2.找到customErrors节点，设置mode属性为Off&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #000000"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000"&gt;customErrors&amp;nbsp;mode&lt;/span&gt;&lt;span style="color: #000000"&gt;=&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&lt;span style="color: #800000"&gt;Off&lt;/span&gt;&lt;span style="color: #800000"&gt;"&lt;/span&gt;&amp;nbsp;&lt;span style="color: #000000"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;获取到的更多的错误信息： &lt;br /&gt;&lt;/p&gt;&lt;p&gt;at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML)&lt;br /&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.SharePoint.Library.SPRequest.UpdateField(String bstrUrl, String bstrListName, String bstrXML)&lt;/div&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110613a.PNG" height="183" width="683" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;通过这些错误信息我并没有找到什么解决办法。客户需求是在一个ChoiceField上增加一个选项，我通过页面操作和代码操作并通过提升权限都做过尝试，均不能达到目的，而且错误信息提示的内容都一样。最后通过其他办法解决掉客户需求的问题，但是没有解决根本的问题。我还发现了一个比较特殊的问题。这个网站是一个TeamSite，列表模板是基于Task创建并修改出来的，拥有自己的一个内容类型（暂时成为CustomCT），我在查看网站内容类型和网站集内容类型的时候并没有发现这个CT，而只是拥有两个ContentType。提供截图。&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110613b.PNG" height="221" width="731" /&gt;&lt;/p&gt;&lt;p&gt;在其他环境的TeamSite上我查看网站内容类型包含很多ContentType。如下图：&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110613c.PNG" height="673" width="460" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;有问题的环境做没做过Migration本人并不太清楚，但是怀疑是Migration后出现的问题。其他的确实想不出来什么用户操作会引起这种整体服务器上会出现的问题。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;期间测试：&lt;/p&gt;&lt;p&gt;1.用此列表另存为模板，并以此模板创建列表修改ChoiceField的Settings，失败。（模板包含内容和不包含内容均测试过）&lt;/p&gt;&lt;p&gt;2.创建新列表，增加ChoiceField类型的字段，修改，成功。（记得以前这个测试不成功，但是现在成功了，很诡异）&lt;/p&gt;&lt;p&gt;3.修改同Web下其他列表字段，不成功。&lt;/p&gt;&lt;p&gt;4.修改不同Web下不同列表字段，不成功。&lt;/p&gt;&lt;p&gt;5.修改不同SiteCollection下不同列表字段，不成功。&lt;/p&gt;&lt;p&gt;得出的结论为：新创建的不会出现这个问题，现存的Field，不限于ChoiceField，均会出现此问题。 &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;解决办法：&lt;/p&gt;&lt;p&gt;将此列表存储为列表模板并且包括列表内容，在其他的SharePoint环境上上传此列表模板，以此模板创建列表，修改ChoiceField，成功。存储此列表为模板包含内容，上传回有问题的网站，然后用此模板创建列表，新建表单查看Field的Choices，正常。&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;解决期间发现的问题：&lt;/p&gt;&lt;p&gt;在正常环境用最初有问题的网站存下来的列表模板创建列表后，进入List Settings，多出现了一个Task内容类型，并且为默认，在原来环境下没有，对比截图。&lt;/p&gt;&lt;p&gt;问题环境：&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110613d.PNG" height="131" width="735" /&gt;&lt;/p&gt;&lt;p&gt;正常环境：&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110613e.PNG" height="138" width="710" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;在问题环境用修改过的模板创建新的列表后，List Settings里面显示的ContentType和正常环境相同。 &lt;br /&gt;&lt;/p&gt; &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Bear-Study-Hard/aggbug/2079630.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/13/2079630.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/09/2076692.html</id><title type="text">SharePoint 2007 Office SharePoint Server Search Service 一直在Stopping状态</title><summary type="text">User Display Name SynchronizeOffice SharePoint Server Search service stick in stopping status</summary><published>2011-06-09T09:49:00Z</published><updated>2011-06-09T09:49:00Z</updated><author><name>努力学习的小熊</name><uri>http://www.cnblogs.com/Bear-Study-Hard/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/09/2076692.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/09/2076692.html"/><content type="html">&lt;p&gt;问题是这样产生，首先一个用户说他的Domain Account显示的Display Name不对，然后已经在AD里面修改过了，但是在SharePoint网站里面没有同步改变。从问题描述来看，应该是User Profile的问题，进入SSP查看User Profiles and Properties页面，发现页面有红色字体的错误信息。&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110609a.PNG" height="133" width="649" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;错误信息提示是Office SharePoint Server Search这个服务的问题，转到CA（管理中心）的Services on server，查看服务运行正常，这个让我觉得很奇怪，请看下面的截图，在Services里面查看这个服务一直在Stopping状态，而且不可操作，这里面居然显示正常&amp;#8230;&amp;#8230;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110609b.PNG" height="176" width="669" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110609c.PNG" height="245" width="664" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;这时我们需要运行一个命令来强制停止这个服务，然后重启这个服务。&lt;/p&gt;&lt;p&gt;命令行：stsadm -o osearch -action stop&lt;/p&gt;&lt;p&gt;运行这个命令后，会有提示，这个服务会被卸载，并且索引会被删除掉，要求用户进步一进行确认操作。命令执行成功后，重新启动服务，然后进行User Profile增量导入即可。 &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Bear-Study-Hard/aggbug/2076692.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/06/09/2076692.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Bear-Study-Hard/archive/2011/05/19/2049892.html</id><title type="text">SharePoint 2007 在Windows Server 2008上列表Open with Windows Explorer失效 解决</title><summary type="text">如果你在Windows Server 2008上对SharePoint 2007的列表操作，你会发现，当你点击Document Library工具条中的Actions-Open with Windows Explorer后，IE没有任何反应。 这是因为这个feature使用的是WebDav协议，Window Server 2008默认是没有安装这个协议的，我们需要手工去安装一下这个协议。 安装并开启这个协议我们只需要开启Desktop Experience feature就可以了。 在Windows Server 2008的管理工具Administrative Tools中打开Server .</summary><published>2011-05-19T02:19:00Z</published><updated>2011-05-19T02:19:00Z</updated><author><name>努力学习的小熊</name><uri>http://www.cnblogs.com/Bear-Study-Hard/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/05/19/2049892.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/05/19/2049892.html"/><content type="html">&lt;p&gt;如果你在Windows Server 2008上对SharePoint 2007的列表操作，你会发现，当你点击Document Library工具条中的Actions-Open with Windows Explorer后，IE没有任何反应。&lt;/p&gt;&lt;p&gt;这是因为这个feature使用的是WebDav协议，Window Server 2008默认是没有安装这个协议的，我们需要手工去安装一下这个协议。&lt;br /&gt;&lt;/p&gt;&lt;p&gt;安装并开启这个协议我们只需要开启Desktop Experience feature就可以了。&lt;/p&gt;&lt;p&gt;在Windows Server 2008的管理工具Administrative Tools中打开Server Manager。在Feature Summary中点击Add Features。&lt;br /&gt;&lt;/p&gt;&lt;p&gt;然后在开启的Add Features Wizard中选择好Desktop Experience然后安装就可以了。这里需要注意，这个Feature是需要Ink and Handwriting Services支持的，所以他也会将这个feature一并安装上。&lt;/p&gt;&lt;p&gt;安装完成后，再在文档库上测试，则可以使用资源管理器视图打开文档库并进行操作了。&lt;/p&gt;&lt;p&gt;参考资料：&lt;a target="_blank" href="http://insomniacgeek.com/sharepoint-open-with-windows-explorer-on-windows-server-2008/"&gt;SharePoint: Open with Windows Explorer on Windows Server 2008&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Bear-Study-Hard/aggbug/2049892.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/05/19/2049892.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Bear-Study-Hard/archive/2011/05/11/2043360.html</id><title type="text">SharePoint 2007：被删除的用户，他的User Profile仍然会被搜索到</title><summary type="text">SharePoint 2007一个不太人性化的东西就是AD用户的同步问题，我猜可能基于数据保留优先的策略这么设置的吧。用户提出在AD用删除一个用户之后是否能在SSP中自动将对应用户的User Profile包括他的My Site都自动删除掉，我对此的认识是不能，当然，通过辅助程序的是肯定能实现的，默认功能貌似是没有。 SharePoint有一个TimerJob来负责同步AD和SSP中User Profile的信息，在删除AD用户后，SharePoint同步会找不到这个用户的同步源信息，那么这个User Profile会被放到另一个类别下——Profiles Missing from Impo.</summary><published>2011-05-11T08:26:00Z</published><updated>2011-05-11T08:26:00Z</updated><author><name>努力学习的小熊</name><uri>http://www.cnblogs.com/Bear-Study-Hard/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/05/11/2043360.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/05/11/2043360.html"/><content type="html">&lt;p&gt;SharePoint 2007一个不太人性化的东西就是AD用户的同步问题，我猜可能基于数据保留优先的策略这么设置的吧。用户提出在AD用删除一个用户之后是否能在SSP中自动将对应用户的User Profile包括他的My Site都自动删除掉，我对此的认识是不能，当然，通过辅助程序的是肯定能实现的，默认功能貌似是没有。&lt;/p&gt;&lt;p&gt;SharePoint有一个TimerJob来负责同步AD和SSP中User Profile的信息，在删除AD用户后，SharePoint同步会找不到这个用户的同步源信息，那么这个User Profile会被放到另一个类别下&amp;#8212;&amp;#8212;Profiles Missing from Import。我们在这里可以删除掉用户需要的删除的Profile，但是他的个人网站还存在，最好先在下拉菜单中删除掉他的个人网站，然后再删除他的Profile，这样会比较彻底。&lt;/p&gt;&lt;p&gt;&lt;img alt="" src="http://images.cnblogs.com/cnblogs_com/bear-study-hard/2011/20110511c.PNG" height="399" width="765" /&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;删除后等待Server做过一次爬网，这个用户就会从搜索结果页面中消失掉了。&lt;/p&gt;&lt;p&gt;这里给想通过Coding做这个事的人提醒一下，因为引起Import Missing的原因可能不仅仅是这一个，那么再做删除的时候一定要小心。 &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/Bear-Study-Hard/aggbug/2043360.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Bear-Study-Hard/archive/2011/05/11/2043360.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry></feed>
