<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://maytide.net/read.php/1658.htm</link>
<title><![CDATA[[SPS]HOWTO: 重建 SharePoint Server 2010 的 User Profile Service Application]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft Office]]></category>
<pubDate>Thu, 21 Feb 2013 07:48:59 +0000</pubDate> 
<guid>https://maytide.net/read.php/1658.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_1476A/SP2010_logo.png"><img title="SP2010_logo" border="0" alt="SP2010_logo" src="http://goxia.maytide.net/ftpupfiles/SharePoint_1476A/SP2010_logo_thumb.png" width="296" height="63"></a></p> <p>HOWTO: 重建 SharePoint Server 2010 的 User Profile Service Application</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SharePoint Server 2010 安装后，用户通常会启动向导创建一个 Web 应用程序，同时创建一个网站集，默认情况下系统会自动创建并配置 User Profile Service Application。这样网站用户便可以通过 SharePoint 网站界面右上角的用户图标来切换到“我的网站”，如果允许了“自助式网站创建”，那么用户在“我的网站”顶部导航里点击“我的内容”就会自动创建属于用户自己的文档工作区。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb.png" width="634" height="309"></a></p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_3.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_3.png" width="634" height="310"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;对于新入手的用户如果对 SharePoint 的不熟悉很容易因误操作导致出现故障，<a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 最近在调试 SharePoint Server 2010 时就遇到了这样的问题，因为误操作删除了“我的网站”相关的配置，虽然 User Profile 的数据库还在但使用无法从浏览器访问“我的网站”提示404错误。期间也搜索了网上的相关文章，但都看得晕晕的。本以为重建“我的网站宿主”，重新配置 User Profile 就能解决，没想事与愿违！既然网上资料贫乏，只能用笨办法自己来搞定，随后单独又搭建了一套 SharePoint 环境，用于配置对比和测试，同时参考了 TechNet Library 的资料，最后决定通过重建 User Profile Service Application 来解决。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;为了保证能顺利进行并系统的实践，首先清理之前所有相关配置信息，删除之前手工创建的网站集-“我的网站”，删除之前添加的“管理路径”，最后在“服务应用程序”里删除系统自动创建的 User Profile Service Application。再次访问 SharePoint 网站会发现账号图标下已经没有“我的网站”和“我的档案”两个链接。现在开始重建 User Profile Service Application！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;首先，在“Web 应用程序”中选中站点，之后点击“管理路径”进入其配置界面。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_4.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_4.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在“定义管理路径”配置页面中添加两个路径：“my”（类型：显示包含）、“my/personal”（类型：通配符包含）。各路径的类型不能有误！！！</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_5.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_5.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;之后，为该 Web 应用程序创建网站集，标题可以随意命名，URL选择 my，因为是显示包含类型，所以后面不会再出现子路径。模板则选择“企业”下的“我的网站宿主”，在“网站集管理员”处添加对应账号，点击“确定”创建该网站集。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_6.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_6.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;“我的网站宿主”网站集创建完毕后可以访问只URL进行确认，因为还未创建 User Profile Service Application，所以会提示错误，如下图。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_7.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_7.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;现在再回到“服务应用程序”，如下图在“新建”下点击“User Profile Service Application”。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_8.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_8.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如下图，在创建配置页面填写名称，如：User Profile Service Application，选择“使用现有应用程序池”-“SharePoint Web Services Default”，配置文件数据库、同步数据库、社会性标签数据库可使用默认名称，或自定义，之后拖动滚动条向下进行 URL 的配置。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_9.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_9.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在“我的网站宿主 URL”处填写之前创建的网站集 URL，即：“http://moss/my”，在“我的网站管理路径”处确认是否为系统默认的“/personal”。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_10.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_10.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后一切确认无误后点击“创建”。随后向导会给出一个成功创建的反馈页面，如下图。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_11.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_11.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;现在重新打开 SharePoint 站点，访问“我的网站”已经能正常访问了。首次访问“我的内容”时系统会为当前账户创建对应的子站点，稍等片刻即好。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_12.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_12.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果如下图出现“无法创建您的个人网站…”的提示，则需要检查“自助式网站创建”是否被启用。如果用户之前已经成功创建了“我的内容”子站，那么即使之后管理员禁用“自助式网站创建”，用户还是能够访问已经创建的“我的内容”子站。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_13.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_13.png" width="633" height="476"></a></p> <p><a href="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_14.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/SharePoint_CEFE/image_thumb_14.png" width="633" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至此，User Profile Service Application 的重建操作便以完成。</p><br/>Tags - <a href="https://maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://maytide.net/go.php/tags/sharepoint/" rel="tag">sharepoint</a> , <a href="https://maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://maytide.net/go.php/tags/2010/" rel="tag">2010</a> , <a href="https://maytide.net/go.php/tags/user/" rel="tag">user</a> , <a href="https://maytide.net/go.php/tags/profile/" rel="tag">profile</a> , <a href="https://maytide.net/go.php/tags/service/" rel="tag">service</a> , <a href="https://maytide.net/go.php/tags/application/" rel="tag">application</a> , <a href="https://maytide.net/go.php/tags/my/" rel="tag">my</a> , <a href="https://maytide.net/go.php/tags/personal/" rel="tag">personal</a>
]]>
</description>
</item>
</channel>
</rss>