<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Man On The Way</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/" />
    <link rel="self" type="application/atom+xml" href="http://www.powerk6.org/atom.xml" />
    <id>tag:www.powerk6.org,2008-09-16://1</id>
    <updated>2010-08-25T13:51:15Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.34-en</generator>

<entry>
    <title>小心安装 OCS 2007 R2 Cumulative Update 6 (CU6) 和 .NET 4.0</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/08/problem-installed-ocs2007-r2-cu6-dotnet-40.html" />
    <id>tag:www.powerk6.org,2010://1.276</id>

    <published>2010-08-15T13:23:06Z</published>
    <updated>2010-08-25T13:51:15Z</updated>

    <summary>今天发现有新的 OCS 2007 R2 的更新，于是就跑去把几台 OCS 2007 R2 的服务器都给升级了，为了偷懒，用了那个一体化更新包ServerUpdateInstaller.exe，这个东西好是好，就是下载后没有点版本信息可以从文件名看出来，每次都一样，我只好自己在后面加个尾巴标注。更新完了重启，发现 Front-End 服务死活都起不来，检查系统日志，发现Event ID: 30968 Source: Live Communications User Services Details: The component Live Communications User Services reported a critical error: code C3EE78F8 (Enterprise Edition Server successfully registered with the back-end, but...</summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="OCS" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="net40" label=".NET 4.0" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="cumulativeupdate" label="Cumulative Update" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ocs" label="OCS" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[今天发现有新的 OCS 2007 R2 的更新，于是就跑去把几台 OCS 2007 R2 的服务器都给升级了，为了偷懒，用了那个一体化更新包ServerUpdateInstaller.exe，这个东西好是好，就是下载后没有点版本信息可以从文件名看出来，每次都一样，我只好自己在后面加个尾巴标注。更新完了重启，发现 Front-End 服务死活都起不来，检查系统日志，发现<br /><b><br />Event ID</b>: 30968<br />
<b>Source</b>: Live Communications User Services<br />
<b>Details</b>: The component Live Communications User Services
reported a critical error: code C3EE78F8 (Enterprise Edition Server
successfully registered with the back-end, but a stored procedure
version mismatch was detected. The service will not start until this
problem is resolved. Cause: The database schema and the Enterprise
Edition Server were updated by different installation packages.
Resolution: Ensure both the Enterprise Edition Server and back-end were
installed or modified by the same installation package. The service has
to stop.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 最后搞了半天才发现是要先升级数据库才行，OCS2009-DBUpgrade.msi 否则会因为前端服务的版本和后端数据库版本不匹配而导致服务启动失败。唉，这种事情也不早说出来，ServerUpdateInstaller.exe 没法升级数据库，只好手动做咯 <br />msiexec /i OCS2009-DBUpdate.msi POOLNAME=xxx<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 打完了数据库补丁后，启动 Front-End 服务正常。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 另外还有个问题是关于.NET 4.0 Framework 的，如果你是新装的服务器，在安装OCS之前装了 .NET 4，你会发现安装程序老是会说 .NET 3.5x 没有安装，即便你已经装过，怎么办呢？只有先行卸载.NET 4.0 Framework, 安装 OCS，再安装 .NET 4.0 才行。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 我一向的原则都是新东西等等再装，因为说不准更新完后会出什么问题，先等等，大家都说没问题了，再装，这样安全。<br />]]>
        
    </content>
</entry>

<entry>
    <title>解决 SQL 2008 Reporting Service 的 TeraData 扩展错误</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/07/how-to-fix-sql2008-ssrs-teradata-extension-load-error.html" />
    <id>tag:www.powerk6.org,2010://1.275</id>

    <published>2010-07-02T03:17:09Z</published>
    <updated>2010-07-02T03:44:45Z</updated>

    <summary><![CDATA[新装的一台 SQL Server 2008 SP1， 上面有跑数据库引擎和报表服务，新装后不久在事件管理器中频繁出现以下错误：Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ApplicationSource:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Report Server (MSSQLSERVER)Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7/2/2010 12:48:21 AMEvent ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 108Task Category: ExtensionLevel:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ErrorKeywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ClassicUser:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/AComputer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; M2AHKCRMWEB01.mail2any.localDescription:Report Server (MSSQLSERVER) cannot load the TERADATA extension.发生这个的原因是在2008的报表服务中,默认开启了 TeraData 的扩展，而2008的安装文件是不包含这个扩展的文件的，所以就会找不到扩展所需要的文件。解决方案：大多数情况下应该是没有用到 TeraData 的，所以可以打开 Reporting Service&nbsp; 所在的目录下的 RSReportServer.config 文件，注释掉 TeraData 相关部分即可。比如...]]></summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="SQL" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="reportingservice" label="Reporting Service" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="reportserver" label="ReportServer" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sqlserver" label="SQL Server" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="teradata" label="TeraData" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[新装的一台 SQL Server 2008 SP1， 上面有跑数据库引擎和报表服务，新装后不久在事件管理器中频繁出现以下错误：<br /><blockquote>Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application<br />Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Report Server (MSSQLSERVER)<br />Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7/2/2010 12:48:21 AM<br />Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 108<br />Task Category: Extension<br />Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error<br />Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Classic<br />User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A<br />Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; M2AHKCRMWEB01.mail2any.local<br />Description:<br />Report Server (MSSQLSERVER) cannot load the TERADATA extension.<br /></blockquote>发生这个的原因是在2008的报表服务中,默认开启了 TeraData 的扩展，而2008的安装文件是不包含这个扩展的文件的，所以就会找不到扩展所需要的文件。<br />解决方案：<br />大多数情况下应该是没有用到 TeraData 的，所以可以打开 Reporting Service&nbsp; 所在的目录下的 RSReportServer.config 文件，注释掉 TeraData 相关部分即可。<br />比如 C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\RSReportServer.config 文件<br />&nbsp;&lt;!-- &lt;Extension Name="TERADATA" Type="Microsoft.ReportingServices.DataExtensions.TeradataConnectionWrapper,Microsoft.ReportingServices.DataExtensions" /&gt; --&gt;<br /><br />&lt;!-- &lt;Extension Name="TERADATA" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.Teradata.TdSqlSQCommand,Microsoft.ReportingServices.SemanticQueryEngine"&gt; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Configuration&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;EnableMathOpCasting&gt;True&lt;/EnableMathOpCasting&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ReplaceFunctionName&gt;oREPLACE&lt;/ReplaceFunctionName&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Configuration&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Extension&gt; --&gt;<br />第二：如果有用到 TeraData，那就去其网站下载 TeraData .Net Data Provider，注意要安装版本12以上的，比如 http://www.teradata.com/DownloadCenter/Topic9541-152-1.aspx<br /><br /><br /><br /> ]]>
        
    </content>
</entry>

<entry>
    <title>配置OCS XMPP网关以支持OC和Jabber XCP联系人的通讯</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/06/how-to-configure-ocsr2-xmpp-to-jabber-xcp.html" />
    <id>tag:www.powerk6.org,2010://1.272</id>

    <published>2010-06-23T08:15:18Z</published>
    <updated>2010-06-23T08:49:40Z</updated>

    <summary>占个位...</summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="OCS" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="gateway" label="GateWay" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="jabber" label="Jabber" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ocsr2" label="OCS R2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="xmpp" label="XMPP" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[占个位<br />]]>
        <![CDATA[<br />]]>
    </content>
</entry>

<entry>
    <title>配置OCS XMPP网关以支持OC和Gmail联系人的通讯</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/06/how-to-configure-ocsr2-xmpp-to-gmail.html" />
    <id>tag:www.powerk6.org,2010://1.271</id>

    <published>2010-06-23T08:15:18Z</published>
    <updated>2010-06-25T03:04:02Z</updated>

    <summary><![CDATA[是的，您没有看错，我也没有写错！现在通过安装配置 XMPP 网关，您可以在 Office Communicator 中添加 Gmail （Google Talk）用户作为联系人，查看对方的忙/闲状态，并即时聊天。 微软的OCS团队早在去年就在其团队博客上面发布了配置指南，请移步 http://communicationsserverteam.com/archive/2009/10/01/599.aspx 查看。 另外本文也参考了MVP-&nbsp;Jeff Schertz&nbsp;的博文 http://blogs.pointbridge.com/Blogs/schertz_jeff/Pages/Post.aspx?_ID=91 基本上，您需要在现有运行良好的 OCS 2007 R2环境中添置至少一台 XMPP 网关服务器，通过配置其相关设定，来支持和Gmail用户的连接。 下面我也说说我自己的经验和步骤: 一、拓扑图 我们先来看看微软官方文档中的一幅图： Gmail o Gmail 云部分是由Google提供的XMPP网关服务器，目前有5个不同的Gtalk主机名，其名称和IP如下所示。 xmpp-server.l.google.com,&nbsp; 74.125.45.125 xmpp-server1.l.google.com, 74.125.155.125 xmpp-server2.l.google.com, 74.125.47.125 xmpp-server3.l.google.com, 74.125.45.125 xmpp-server4.l.google.com, 74.125.45.125...]]></summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="OCS" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="gateway" label="GateWay" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="gmail" label="Gmail" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="googletalk" label="Google Talk" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ocsr2" label="OCS R2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="xmpp" label="XMPP" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[<p>是的，您没有看错，我也没有写错！现在通过安装配置 XMPP 网关，您可以在 Office Communicator 中添加 Gmail （Google Talk）用户作为联系人，查看对方的忙/闲状态，并即时聊天。</p>
<p>微软的OCS团队早在去年就在其团队博客上面发布了配置指南，请移步 <a href="http://communicationsserverteam.com/archive/2009/10/01/599.aspx">http://communicationsserverteam.com/archive/2009/10/01/599.aspx</a> 查看。</p>
<p>另外本文也参考了MVP-&nbsp;<a href="http://blogs.pointbridge.com/Blogs/schertz_jeff" target="">Jeff Schertz</a>&nbsp;的博文</p>
<p><a href="http://blogs.pointbridge.com/Blogs/schertz_jeff/Pages/Post.aspx?_ID=91">http://blogs.pointbridge.com/Blogs/schertz_jeff/Pages/Post.aspx?_ID=91</a></p><span class="pbc-blogs-footer-spacer"></span>
<p>基本上，您需要在现有运行良好的 OCS 2007 R2环境中添置至少一台 XMPP 网关服务器，通过配置其相关设定，来支持和Gmail用户的连接。</p>
<p>下面我也说说我自己的经验和步骤:</p>
<p><b>一、拓扑图</b><b></b></p>
<p>我们先来看看微软官方文档中的一幅图：</p>
<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_1.jpg" /> </p>
<ul>
<li><strong>Gmail </strong></li></ul>
<blockquote>
<p>o Gmail 云部分是由Google提供的XMPP网关服务器，目前有5个不同的Gtalk主机名，其名称和IP如下所示。</p></blockquote>
<ul>
<li>xmpp-server.l.google.com,&nbsp; 74.125.45.125 </li>
<li>xmpp-server1.l.google.com, 74.125.155.125 </li>
<li>xmpp-server2.l.google.com, 74.125.47.125 </li>
<li>xmpp-server3.l.google.com, 74.125.45.125 </li>
<li>xmpp-server4.l.google.com, 74.125.45.125 </li></ul>]]>
        <![CDATA[<br /><ul>
  <li><strong>OCS边缘服务器</strong></li>
</ul>

<blockquote>
  <p>o 一台运行良好的 OCS 2007 R2 Edge 服务器</p>
</blockquote>

<ul>
  <li><strong>XMPP 网关</strong></li>
</ul>

<blockquote>
  <p>o 一台运行在 Windows Server 上面的 XMPP 网关服务器。 一般来说，单网卡就够了，可以同时处理来自外部（Gmail）和内部（OCS边缘）的请求。如果根据您的实际情况需要配置两片网卡，当然也是支持的。</p>
</blockquote>

<blockquote>
  <p>o 支持网络地址转换 (NAT)，在本例中我们用的就是NAT。如果你有单独的公网地址能直接分配给XMPP的话,当然更好。</p>
</blockquote>

<p>好了，说了这么久，那你也许会问，什么是 XMPP 呢？</p>

<p><b>XMPP </b>是 E<b>x</b>tensible <b>M</b>essaging and <b>P</b>resence Protocol 的简称，是一种以 XML 为基础的分布式和开放式即时通讯协议，听起来很熟悉？没错，其前身就是 <b>Jabber</b>。<b>XMPP </b>经由 IETF 小组制订，后因为被 Google Talk 采用而被大家所接触。</p>

<p>&nbsp; Jabber / XMPP 历史 
  </p><table border="0" cellpadding="0" cellspacing="0"><tbody>
      <tr>
        <td valign="top">
          <p>&nbsp;&nbsp;&nbsp; Jeremie Miller于1998年开始了Jabber这个项目。第一个公开版本于2000年5月发行。这个项目的主要产品是jabberd，XMPP的服务器端软件。它既可以创建私人的XMPP网络，也可以加入全球的公共XMPP网络。 XMPP的关键特色是，分散式的即时通讯系统，以及使用XML流。 
            <br />Jabber Logo 

            <br />&nbsp;&nbsp;&nbsp; 标准化的Jabber已经由IETF XMPP协议（RFC3920）。 

            <br />&nbsp;&nbsp;&nbsp; Jabber是一个开放源码形式组织产生的网络即时通信协议。 XMPP原本是为Instant Messenger而量身定制，但由于XML Stanza本身是XML元素，在基于XML灵活发展的特性下，使得XMPP也可以适用其他方面，已经得到了IETF的批准。 XMPP与IMPP、PRIM、SIP（SIMPLE）合称四大IM协议主流，在此4大协议中，XMPP是最灵活的。 

            <br />&nbsp;&nbsp;&nbsp; 2005年，Google发布了Google Talk，这是一个IP电话及即时通讯的服务，即时通讯功能采用了开放的XMPP。预计这将对XMPP社区起很大的推动作用。初期此服务不支持服务器到服务器的通讯功能，所以未能完全发挥XMPP的分散式特色；虽然任何XMPP客户端都能连接到Google Talk，但是用户想要登录Google Talk，必须拥有Google Talk帐号（即Gmail帐号），而用户也无法与公共XMPP网络的用户通信。自2006年1月17日起，Google宣布支持服务器到服务器的通讯，Google Talk用户可与其他XMPP公共网络的用户聊天。 

            <br />&nbsp;&nbsp;&nbsp; 2007年，年的Jabber软件基金会已经成为XMPP标准基金会。</p>
        </td>
      </tr>
    </tbody></table>


<p>而微软在去年10月发布的 Office Communications Server 2007 R2 XMPP 网关实现了 Office Communications Server 2007 R2 与指定的基于 XMPP 的 IM 和状态提供程序间的 IM 和状态通信，这里指定的 IM 就是指 Jabber XCP 和 Google Talk。本文先讨论和 Gmail 通讯的部分， Jabber XCP 放到下篇中再讲。</p>

<p><b>二、</b><b>XMPP </b><b>网关服务器安装</b><b></b></p>

<p>系统需求和 OCS Edge 服务器类似，只是说 XMPP 不能和 Edge 安装在一起。</p>

<p>软件需求： 
  </p><table border="1" cellpadding="0" cellspacing="0"><tbody>
      <tr>
        <td valign="top" width="242">
          <p>.NET Framework</p>
        </td>

        <td valign="top" width="254">
          <p>3.5</p>
        </td>
      </tr>

      <tr>
        <td valign="top" width="242">
          <p>操作系统</p>
        </td>

        <td valign="top" width="254">
          <p>Windows Server 2003 SP2 64位标准版/企业版</p>

          <p>Windows Server 2008 64位标准版/企业版</p>

          <p>Windows Server 2008 R2 标准版/企业版*</p>
        </td>
      </tr>

      <tr>
        <td valign="top" width="242">
          <p>MMC控制台</p>
        </td>

        <td valign="top" width="254">
          <p>3.0 </p>
        </td>
      </tr>

      <tr>
        <td valign="top" width="242">
          <p>Microsoft Visual C ++® 2005 Redistributable or Visual C++ 2008 Redistributable</p>
        </td>

        <td valign="top" width="254">&nbsp;</td>
      </tr>

      <tr>
        <td valign="top" width="242">
          <p>Unified Communications Managed API (UCMA)</p>
        </td>

        <td valign="top" width="254">
          <p>安装补丁<b><font color="#ff0000">KB968802</font></b></p>
        </td>
      </tr>
    </tbody></table>


<p>* 微软OCS团队的博文上面说 Windows 2008 R2 暂不支持，但是我测试了，<strong><font color="#ff0000">2008 R2</font></strong>是支持的</p>

<p>支持的服务端</p>

<p>· Microsoft Office Communications Server 2007 R2</p>

<p>· Microsoft Office Communications Server 2007</p>

<p>· Jabber XCP Server version 5.4 </p>

<p>· Google Talk </p>

<p>支持的客户端</p>

<p>· Microsoft Office Communicator 2007 R2</p>

<p>· Microsoft Office Communicator 2007</p>

<p>· Microsoft Office Communicator 2005</p>

<p>· Jabber MomentIM Client version 5.2.1</p>

<p>· Google Talk</p>

<p>下载地址：</p>

<p>&nbsp;&nbsp;&nbsp; 1. Microsoft Office Communications Server 2007 R2 XMPP Gateway</p>

<p><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&amp;FamilyID=aa560bfe-9960-473a-bfb8-53bff678cec4">http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&amp;FamilyID=aa560bfe-9960-473a-bfb8-53bff678cec4</a></p>

<p>&nbsp;&nbsp;&nbsp; 2. Hotfix</p>

<p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=80B4E42D-6548-46F4-87B1-7FA0FAF80B82&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=80B4E42D-6548-46F4-87B1-7FA0FAF80B82&amp;displaylang=en</a></p>

<p>安装过程，典型的 Next to Next，不过这还只是解压：</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_2.jpg" /> </p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_3.jpg" /> </p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_4.jpg" /> </p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_5.jpg" /> </p>

<p>这里安装程序会把安装文件解压至 C:\Program Files\Microsoft Office Communications Server 2007 R2\XMPP Gateway Installer 目录，运行 setup.exe</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_6.jpg" /> </p>

<p>点 Install 进行安装，完毕后我们开始配置。</p>

<p><b>需要注意的是</b><b>,</b><b>一开始你会看到</b><b> Install Files for XMPP Gateway</b><b>这一步是正常的</b><b>,</b><b>但是当你退出后下次再进入该页面时，你也许会看到如下提示，尤其是在</b><b> Windows 2008 R2</b><b>中安装时，那么你还需要安装这个更新</b><b> </b><b>（包含在</b><b> KB968802</b><b>中）：</b><b></b></p>

<p><b>http://download.microsoft.com/download/D/9/6/D967F77F-D0BD-43FB-987B-6FBF7C82251B/UcmaRedist.msp</b></p>

<p>&nbsp;<img src="http://www.powerk6.org/upfiles/2010/06/Fig_7.jpg" /> </p>

<p><b></b><b>三、</b><b>XMPP </b><b>网关配置</b><b></b></p>

<p><b>A. </b><b>要使</b><b> XMPP </b><b>网关能正常和</b><b>Gtalk</b><b>通讯，得满足下面四个条件：</b><b></b></p>

<p>1. 你的环境中的 OCS 2007 R2 运行良好。</p>

<p>2. 你的 OCS 有安装边缘 Edge 角色。</p>

<p>3. 一张用来和内部边缘服务器通讯的证书，私有或者商业的都行（和Gmail的通信，私有就够了）。</p>

<p>4. 需要在你的公网域名下面创建一条 A 记录 和 SRV 记录。</p>

<p>接下来我们再来详细看看 Gmail 和 OCS 的通讯过程</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_8.jpg" /> </p>

<p>看看一个 Gtalk 用户如何发送一个即时消息到 contoso.com 这个域中的OCS 用户: </p>

<p>1. GoogleTalk 服务器场中的任意一个 XMPP 服务器向 DNS 请求查询 contoso.com 的 XMPP 服务记录 <b><i>_xmpp-server._tcp.contoso.com</i></b><i>。</i> 这条记录应该指向 contoso.com 组织中 XMPP 网关服务器的公网 A 记录的FQDN地址，A记录的名字任意取，比如 <b><i>xmpp.contoso.com</i></b><i>。</i></p>

<p>2. 得到A记录的地址后，GoogleTalk 服务器会使用标准 TCP 连接去和 <b><i>xmpp.contoso.com</i></b> 的<b>5269 </b>端口发送请求。这个过程是非加密的，所以在这里我们并不需要证书。</p>

<p>3. 在 contoso 组织的防火墙接到 Gtalk 的请求后，会将其路由给 XMPP 网关的，当然，在这之前，contoso 的管理员需要把 TCP <b>5269</b> 端口映射给 <b>XMPP</b>。在上面的图例中，XMPP 网关的内部接口地址是 10.11.12.40。 这一步也是非加密的。</p>

<p>4. 当 XMPP 网关接到请求后，它会查看自己的 SIP 配置来确定下一跳怎么走，那么在我们的例子中，这个下一跳就是 OCS 的边缘访问服务器了 (<i>sip.contoso.com</i>)。要注意的是，这里是使用的 Edge 的外部FQDN地址，所以当你的 XMPP 网关和 Edge 在同一个防火墙后面时，也许 XMPP 会得到 Edge 的公网地址，从而连不到 Edge（除非在防火墙上开启了 DNS 别名- DNS Alias or DNS Doctor）。所以这时你需要在 XMPP 网关的本地 Hosts 文件中添加 Edge 的外部接口的内网地址 (10.11.12.33)。多啰嗦一句，在 Edge 的经典配置中，外部接口指的是 Edge 用来监听外部 SIP 通讯和联盟的那张网卡，不是用来和 OCS Pool 通信的那个内部接口。</p>

<p>5. 在与边缘访问的 Edge 服务器的联盟监听端口 <b>5061 </b>建立连接后，XMPP 网关需要一张证书来做 MTLS 的加密通讯。 同样的，XMPP 必须要连接到 Edge 的外部接口上的联盟监听端口。很多朋友在此碰到的问题大多是把 XMPP 网关去连 Edge 的内部接口地址。到这一步，Gtalk的消息就发到了OCS用户那里。</p>

<p>6. OCS 用户回消息给 Gtalk 用户过程 - Edge 服务器收到来自 OCS 前端服务器的请求后，会将 gmail.com 当做一个联盟的域来处理，就和OCS连接 Yahoo/MSN 等一样，通讯请求将会把去到 gmail.com 的通讯交给 Gmail 的联盟服务器 - XMPP 网关去处理，在上面的图例中就是 <b><i>xmpp.jds.local</i> </b></p>

<p>这里有几个重点要注意下:</p>

<p>· 第一，在 XMPP 网关上的证书一定要安装配置好。</p>

<p>o 该证书只是用在 XMPP 和 Edge 服务器的内部通信中间，并不用来和 Google Talk 服务器通信，所以我们可以使用自建 CA 来颁发证书。证书的SN名称应该和 XMPP 网关的内部 FQDN 名称一致，另外，自建 CA 的根证书链应该要导入到 XMPP 网关的计算机账户下受信任的根证书颁发机构中。</p>

<p>o 证书的申请，你可以通过边缘服务器 Edge 上面的证书向导来做（因为 XMPP 上面没有这个向导），或者使用 lcscmd.exe。注意的是，该证书的导出和导入必须要包含私钥（Private Key）。</p>

<p>· 第二， 证书的必须颁发给 XMPP 服务器的 FQDN 名称。</p>

<p>o 因为 XMPP 网关服务器和 Edge 一样，没有加入域，工作组环境，所以我们需要添加相应的 DNS 后缀，比如 <b>jds.local</b>。</p>

<p>o XMPP 网关服务器的 FQDN， 证书的 CN (或者 SAN 记录) 以及在 Edge 服务器中的 Gmail 联盟服务器的允许列表中，设定的都应该是<b>真实的</b><b> FQDN </b><b>名称</b>，并且要保持<b>一致</b>。</p>

<p>· 最后, 防火墙规则的设定: </p>

<p>o XMPP 网关的 TCP <b>5061</b>，需要和 Edge 的 TCP <b>5061</b> 端口进行双向通信</p>

<p>o XMPP 网关的 TCP <b>5269</b>，需要接受来自外部的 Google Talk 的请求</p>

<p><b>B.&nbsp; DNS </b><b>记录的创建</b><b></b></p>

<p>· 创建 A 记录：<b>xmpp.contoso.com</b> - 12.34.56.78</p>

<p>· 创建 SRV 记录：<b><i>_xmpp-server._tcp.contoso.com</i></b> - <b>xmpp.contoso.com</b><b>，</b><b> Port 5269</b></p>

<p>参照微软的图</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_9.jpg" /> </p>

<p><b>C.</b><b>说了很多，下面开始配置</b><b> XMPP :</b></p>

<p>· 修改 <b>TGWConsoleGUI.dll.config</b> 文件</p>

<p>默认位置在 <b>C:\Program Files\Microsoft Office Communications Server 2007 R2\XMPP Gateway</b> 下面，这里需要改到的部分是 <i>SipIP</i> 和 <i>XmppIP </i>两行，这里一定要改，本例中 SipIP 和 XmppIP 都是用的 XMPP 的内部地址。这里如果改的不对或者没有改而留空的话，会导致 XMPP Gateway 服务一启动就马上自动停止!</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_10.jpg" /> </p>

<p>· SIP 配置</p>

<p>在 XMPP Gateway 的配置界面中点击 SIP Configuration: </p>

<p>1. <b>Domain</b> 标签卡, Domain 一栏指定你的域名，本例中我们用 <b>litwareinc.com</b>。</p>

<p>2. <b>Host Name</b> 一栏，填上 Edge 边缘服务器的外部 FQDN 名称，本例中我们用 <b>srv.litewareinc.com </b>。</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_11.jpg" /> </p>

<p>&nbsp; 3.<b>TLS Certificate</b>，选择之前通过自建 CA 申请的内部证书</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_12.jpg" /> </p>

<p>&nbsp;&nbsp;&nbsp; 4. <b>Validate Connection</b> 在下拉列表中选择 <b>litwareinc.com</b>，验证是否配置正确。</p>

<p>· XMPP 配置</p>

<p>选择 <b>XMPP Configuration</b> 节点</p>

<p>1. 在 <b>Allow List</b> 标签卡中, 点击 <b>Add </b>添加。</p>

<p>2. 在弹出的 <b>Federated XMPP Domain names</b> 对话框中,&nbsp; <b>Domain Name</b> 一栏填 <i>gmail.com</i><i>，</i>选择 <b>TCP Dialback</b> (required)，其它留空，确定保存。</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_13.jpg" /> </p>

<p>&nbsp;&nbsp;&nbsp; 3.之前提到过，Gmail不使用加密连接，所以这里不需要配置证书。</p>

<p>&nbsp;&nbsp;&nbsp; 4. 验证 Gmail。</p>

<p>· 启动XMPP 服务</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_14.jpg" /> </p>

<p><b>D. Edge </b><b>服务器的配置</b><b></b></p>

<p>这里非常简单，就是把 gmail.com 作为联盟域添加: </p>

<p>1. 打开 OCS Edge 的属性配置对话框。</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_15.jpg" /> </p>

<p>2. 转到 <b>Allow</b> 标签页, 点击 <b>Add</b>, 按图中所示添加。</p>

<p>Federated partner domain name - <b><i>gmail.com</i></b>, </p>

<p>&nbsp; Federated partner Access Edge Server - <b>srv_xmpp.litewareinc.com</b></p>

<p>3. 为了保证 OCS Edge 服务器能和 XMPP 网关正常通信，你需要在内部 DNS 中添加 XMPP 的记录或者是在本地 Hosts 文件中指定，比如</p>

<p><b>192.168.1.20 srv_xmpp.litwareinc.com</b></p>

<p>四、添加 Gmail 用户并验证</p>

<p>添加 Gmail 用户之前，得保证你的 OCS 用户策略里面有启用联盟</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_16.jpg" /> </p>

<p>成功!</p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_17.jpg" /> </p>

<p><img src="http://www.powerk6.org/upfiles/2010/06/Fig_18.jpg" /></p>]]>
    </content>
</entry>

<entry>
    <title>为 phpBB3 配置 LDAP 认证</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/06/how-to-configure-ldap-auth-for-phpbb3.html" />
    <id>tag:www.powerk6.org,2010://1.273</id>

    <published>2010-06-20T06:05:57Z</published>
    <updated>2010-06-25T07:09:59Z</updated>

    <summary><![CDATA[最近需要架设个论坛,需要支持 LDAP 认证,一番Google之后,选择了来源的 phpBB3 废话不多说了,直接来看看 LDAP 认证设置部分. 管理员控制面板-&gt;客户端通信-&gt;认证设置 关键参数设置 LDAP 服务器名称: 192.168.1.21 --domain.local 域控的IPLDAP基础dn: OUTest, DC=Domain,DC=localLDAP uid: sAMAccountNameLDAP 用户 dn: CN=phpBB,CN=Users,DC=domain,DC=localLDAP 密码: phpBB用户的密码 因为2003以后域不再支持匿名用户查询,所以需要有个域用户来做 LDAP 查询 LDAP uid - 这里用的是&nbsp;sAMAccountName, 当然你也可以使用 UPN - userPrincipalName 属性,甚至自定义字段,比如来个&nbsp;employeeNumber 之类的,让用户以工号登录. 具体的认证过程: 当你第一次填入域用户的用户名和密码时,当 phpBB 发现验证通过,实际上会在php_users表里面添加这个域用户,...]]></summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
    <category term="ldap" label="LDAP" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="phpbb" label="phpBB" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[<div>最近需要架设个论坛,需要支持 LDAP 认证,一番Google之后,选择了来源的 phpBB3</div>
<div>废话不多说了,直接来看看 LDAP 认证设置部分.</div>
<div>管理员控制面板-&gt;客户端通信-&gt;认证设置</div>
<p><img src="http://www.powerk6.org/upfiles/2010/06/phpbb_ldap.jpg" /> </p>
<div>关键参数设置</div>
<div><a onclick="window.open('http://www.powerk6.org/assets_c/2010/06/phpbb_ldap-8.html','popup','width=450,height=344,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false" href="http://www.powerk6.org/assets_c/2010/06/phpbb_ldap-8.html"></a>LDAP 服务器名称: <!-- m --><a class="postlink" href="ldap://domain.local">1</a>92.168.1.21<!-- m --> --domain.local 域控的IP<br />LDAP基础dn: OUTest, DC=Domain,DC=local<br />LDAP uid: sAMAccountName<br />LDAP 用户 dn: CN=phpBB,CN=Users,DC=domain,DC=local<br />LDAP 密码: phpBB用户的密码</div>
<div>因为2003以后域不再支持匿名用户查询,所以需要有个域用户来做 LDAP 查询</div>
<div>LDAP uid - 这里用的是&nbsp;sAMAccountName, 当然你也可以使用 UPN - userPrincipalName 属性,甚至自定义字段,比如来个&nbsp;employeeNumber 之类的,让用户以工号登录.</div>
<div><br /></div>
<div>具体的认证过程:</div>
<div>当你第一次填入域用户的用户名和密码时,当 phpBB 发现验证通过,实际上会在php_users表里面添加这个域用户, 而之后的认证其实就分开了, 域用户和论坛用户修改各自的密码都不会影响到对方,这个过程仅仅在第一次登录论坛的时候有效.</div>
<div>那么此时如果你通过论坛页面注册个新用户,这个用户也是会存在于论坛程序的DB里面,而不会在AD中生成,而且,因为开的是 LDAP 认证, 所以这个新建的DB用户也是没法登录论坛的.</div>
<div><br /></div>
<div>解决方法请参考&nbsp;http://www.phpbb.com/community/viewtopic.php?f=46&amp;t=981765</div>
<blockquote style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 40px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: medium none; BORDER-RIGHT: medium none; PADDING-TOP: 0px" class="webkit-indent-blockquote">
<div>
<dd><code>&lt;?php</code></dd></div>
<div>
<dd><code><br /></code></dd></div>
<div>
<dd><code>include_once($phpbb_root_path . 'includes/auth/auth_ldap.' . $phpEx);</code></dd></div>
<div>
<dd><code>include_once($phpbb_root_path . 'includes/auth/auth_db.' . $phpEx);</code></dd></div>
<div>
<dd><code><br /></code></dd></div>
<div>
<dd><code>function init_ldap_db()</code></dd></div>
<div>
<dd><code>{</code></dd></div>
<div>
<dd><code>&nbsp; &nbsp; &nbsp; &nbsp; init_ldap();</code></dd></div>
<div>
<dd><code>}</code></dd></div>
<div>
<dd><code><br /></code></dd></div>
<div>
<dd><code>function login_ldap_db(&amp;$username, &amp;$password)</code></dd></div>
<div>
<dd><code>{</code></dd></div>
<div>
<dd><code>&nbsp; &nbsp; $test_login_ldap = login_ldap(&amp;$username, &amp;$password);</code></dd></div>
<div>
<dd><code><br /></code></dd></div>
<div>
<dd><code>&nbsp; &nbsp; if (($test_login_ldap[status] == LOGIN_SUCCESS)||($test_login_ldap[status] == LOGIN_SUCCESS_CREATE_PROFILE))</code></dd></div>
<div>
<dd><code>&nbsp; &nbsp; {</code></dd></div>
<div>
<dd><code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return $test_login_ldap;</code></dd></div>
<div>
<dd><code>&nbsp; &nbsp; }</code></dd></div>
<div>
<dd><code><br /></code></dd></div>
<div>
<dd><code>&nbsp; &nbsp; return login_db(&amp;$username, &amp;$password);</code></dd></div>
<div>
<dd><code>}</code></dd></div>
<div>
<dd><code>?&gt;</code></dd></div></blockquote>
<div><br />
<div><br /></div></div>]]>
        
    </content>
</entry>

<entry>
    <title>解决 VMWare ESXi 4.0 在 VC 中主机硬件状态无法监控的问题</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/06/fix-vmware-esxi-40-vc-hardware-status-error.html" />
    <id>tag:www.powerk6.org,2010://1.274</id>

    <published>2010-06-15T07:15:53Z</published>
    <updated>2010-06-25T07:28:21Z</updated>

    <summary>最近 VMWare 释出了 VSphere 4.0 Update2 的更新,忍不住就把目前在跑的几台 Dell PE1950 给升级到了 Update2,别的都没啥问题,就是发现在 VC Client 中无法监测到主机的硬件状态了, 一点 Hardware Status,就出现 Error Message: &quot;Hardware monitoring service not responding, the host is not powered on&quot; 重启服务,重启主机都试过了,问题依旧,后来在Google大神的帮助下,终于找到了解决方法: 在 VC 中删掉原来的主机再重新添加,问题就解决了....</summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="VMWare" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="esx" label="ESX" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vmware" label="VMware" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="vsphere" label="vSphere" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[<div>最近 VMWare 释出了 VSphere 4.0 Update2 的更新,忍不住就把目前在跑的几台 Dell PE1950 给升级到了 Update2,别的都没啥问题,就是发现在 VC Client 中无法监测到主机的硬件状态了, 一点 Hardware Status,就出现</div>
<div>Error Message: "Hardware monitoring service not responding, the host is not powered on"</div>
<div>重启服务,重启主机都试过了,问题依旧,后来在Google大神的帮助下,终于找到了解决方法:</div>
<div>在 VC 中删掉原来的主机再重新添加,问题就解决了.</div>]]>
        
    </content>
</entry>

<entry>
    <title>How to remove a VMHost from SCVMM 2008 R2 forcefully</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/04/how-to-remove-a-vmhost-from-scvmm-2008-r2-forcefully.html" />
    <id>tag:www.powerk6.org,2010://1.270</id>

    <published>2010-04-13T14:17:48Z</published>
    <updated>2010-04-13T15:04:29Z</updated>

    <summary>这几天碰到个问题，有个服务器原来安装的是 2008 Server Core系统,上面跑 Hyper-V，已经将其导入 SCVMM 2008 R2 来管理。最近实在是嫌 Server Core 管理太不方便，于是想把系统换成带图形界面的，也没在 SCVMM 里面把主机删除，直接就重装了，IP和计算机名什么的都没变，结果问题来了，再打开 SCVMM 的控制台，发现这台主机联系不上(当然，因为重装的没有了 Agent)，就想删掉再重加，结果删除过程报错：Error (801) VMM cannot find ISO object . Recommended Action Ensure the library object is valid, and then try the operation again.移除任务的进度一直停留在99% 而主机就是保持在 Pending...</summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="hyperv" label="Hyper-V" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="powershell" label="PowerShell" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="scvmm" label="SCVMM" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[这几天碰到个问题，有个服务器原来安装的是 2008 Server Core系统,上面跑 Hyper-V，已经将其导入 SCVMM 2008 R2 来管理。最近实在是嫌 Server Core 管理太不方便，于是想把系统换成带图形界面的，也没在 SCVMM 里面把主机删除，直接就重装了，IP和计算机名什么的都没变，结果问题来了，再打开 SCVMM 的控制台，发现这台主机联系不上(当然，因为重装的没有了 Agent)，就想删掉再重加，结果删除过程报错：<br /><p>Error (801)</p>
<p>VMM cannot find ISO object .</p>
<strong>
<p>Recommended Action</p>
</strong>
<p>Ensure the library object is valid, and then try the operation again.</p>移除任务的进度一直停留在99% 而主机就是保持在 Pending 状态，结果就是旧的删不掉，新的加不了。后来试过用 PowerShell 来删:<br />Get-VMHost -Computername Hostname | Remove-VMHost -Force<br />一样的提示。<br />一番研究和搜索之后，终于发现直接操作 SCVMM 的数据库可以搞定此问题。<br /><br />]]>
        <![CDATA[步骤：<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. 停止 VMMService 服务；<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2. 用 SQL Management Studio 连接到 SCVMM 的数据库 (默认应该是 SQL Express 的实例: <b>MICROSOFT$VMM$</b>，数据库名称是 <b>VirtualManagerDB</b>)，保险起见，先备份；<br />&nbsp;&nbsp;&nbsp;&nbsp; 3. 查询 tbl_ADHC_Host， 可以看到原来这台旧的 Hyper-V 主机的记录，记下其对应的 HostID, 比如 '68899616-fdc8-4f85-a702-979a4251f766'；<br />&nbsp;&nbsp;&nbsp;&nbsp; 4. 打开查询窗口，执行以下 SQL 语句:<br />&nbsp;&nbsp;&nbsp;&nbsp; DELETE FROM tbl_ADHC_HostNetworkAdapter WHERE (HostID='68899616-fdc8-4f85-a702-979a4251f766')<br />&nbsp;&nbsp;&nbsp;&nbsp; DELETE FROM tbl_ADHC_VirtualNetwork WHERE (HostID = '68899616-fdc8-4f85-a702-979a4251f766')<br />&nbsp;&nbsp;&nbsp;&nbsp; DELETE FROM tbl_ADHC_HostVolume WHERE (HostID = '68899616-fdc8-4f85-a702-979a4251f766')<br />&nbsp;&nbsp;&nbsp;&nbsp; DELETE FROM tbl_ADHC_HostDisk WHERE (HostID = '68899616-fdc8-4f85-a702-979a4251f766')<br />&nbsp;&nbsp;&nbsp;&nbsp; DELETE FROM tbl_WLC_PhysicalObject WHERE (HostId = '68899616-fdc8-4f85-a702-979a4251f766')<br />&nbsp;&nbsp;&nbsp;&nbsp; DELETE FROM tbl_WLC_VObject WHERE (HostId = '68899616-fdc8-4f85-a702-979a4251f766')<br />&nbsp;&nbsp;&nbsp;&nbsp; DELETE FROM tbl_ADHC_Host WHERE (HostID = '68899616-fdc8-4f85-a702-979a4251f766')<br />&nbsp;&nbsp;&nbsp;&nbsp; 5. 再查看表 tbl_ADHC_AgentServerRelation 和 tbl_ADHC_AgentServer，如果有对应的主机记录也相应删除<br />&nbsp;&nbsp;&nbsp;&nbsp; 6. 如果是 Hyper-V 群集的话，每个节点都要跑一次上面的删除语句，还得删除 Cluster 的记录<br />&nbsp;&nbsp;&nbsp;&nbsp; DELETE FROM tbl_ADHC_ClusterDisk WHERE (ClusterID = '1149953c-cde3-45d2-82ee-b79a259d6a79')<br />&nbsp;&nbsp;&nbsp;&nbsp; DELETE FROM tbl_ADHC_HostCluster WHERE (ClusterID = '1149953c-cde3-45d2-82ee-b79a259d6a79')<br /><br />PS. 用下面这条命令可以重置 Failed Job 状态<br />UPDATE tbl_TR_TaskTrail SET IsVisible = 0 WHERE TaskState = 'Failed'<br />]]>
    </content>
</entry>

<entry>
    <title>Outlook Mobile Update </title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/03/outlook-mobile-update.html" />
    <id>tag:www.powerk6.org,2010://1.269</id>

    <published>2010-03-22T14:02:12Z</published>
    <updated>2010-03-22T14:41:27Z</updated>

    <summary>现在你可通过新的Microsoft Office Outlook Mobile更新程序和 Microsoft Exchange Server 2010 来保证你手上的信息是最有价值的。 这次的 Outlook Mobile 更新仅针对 Windows Mobile 6.1 的手机。 当你的手机连接到 Exchange Server 2010 时，如果有适合的更新你会收到自动的提示。 如果你的手机的系统是 Windows Mobile 6.5， 那么你不需要更新。 主要新特性 电子邮件按会话分组: 在该新特性的帮助下， 你可以快速地浏览所有的回复并对整个会话执行诸如删除，回复，标记和移动电子邮件的常规操作。...</summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="Exchange" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="exchange" label="Exchange" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mobile" label="Mobile" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="outlook" label="Outlook" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="update" label="Update" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[<p>现在你可通过新的Microsoft Office Outlook Mobile更新程序和 Microsoft Exchange Server 2010 来保证你手上的信息是最有价值的。</p> <p>这次的 Outlook Mobile 更新仅针对 Windows Mobile 6.1 的手机。 当你的手机连接到 Exchange Server 2010 时，如果有适合的更新你会收到自动的提示。 如果你的手机的系统是
Windows Mobile 6.5， 那么你不需要更新。 </p> <h3>主要新特性</h3> <ul style="margin: 0em; padding: 0em; line-height: 1.2em; list-style-type: none;"><li style="padding-top: 1.2em;"><span style="font-weight: bold;">电子邮件按会话分组:</span>
在该新特性的帮助下， 你可以快速地浏览所有的回复并对整个会话执行诸如删除，回复，标记和移动电子邮件的常规操作。<br /><img style="padding-top: 1.5em;" alt="Emails grouped by conversation in Outlook Mobile" src="http://msexchangeteam.com/photos/postpictures3/images/454302/original.aspx" />  </li></ul>]]>
        <![CDATA[<ul style="margin: 0em; padding: 0em; line-height: 1.2em; list-style-type: none;"><li style="padding-top: 1.2em;"><span style="font-weight: bold;">忙/闲信息查询:</span> 在日历可用性的帮助下,与你公司的同事联系现在便得更有效率了。有个小问题需要回答？ 快速地检查同事的时间表，以确定其是否有空可以在他们的办公室面对面地或打电话咨询， 否则就发送电子邮件。 <br /><img style="padding-top: 1.5em;" alt="Free/busy lookup in Outlook Mobile" src="http://msexchangeteam.com/photos/postpictures3/images/454303/original.aspx" />  </li><li style="padding-top: 1.2em;"><span style="font-weight: bold;">同步短消息去到Exchange:</span> 短消息现在已出现在 Outlook 或者是 Outlook Web Access 中， 所以如果你坐在电脑旁边的话可以不必从口袋里面拿出电话来阅读或者回复短消息。 你甚至可以在把电话忘在家里的情况下通过 Outlook 或者 Outlook Web Access收取短消息。<br /><img style="padding-top: 1.5em;" alt="Sync SMS messages to Exchange" src="http://msexchangeteam.com/photos/postpictures3/images/454304/original.aspx" />  </li><li style="padding-top: 1.2em;"><span style="font-weight: bold;">增强的语音邮件:</span>
Exchange Server 2010 统一消息提供语音邮件预览，以及语音邮件的文字版本， 而不必一一打电话过去听取。 <br /><img style="padding-top: 1.5em;" alt="Enhanced voicemail messages in Outlook Mobile" src="http://msexchangeteam.com/photos/postpictures3/images/454305/original.aspx" /></li></ul>
 
<h3>更多信息</h3>
 
<ul><li><a title="Download Outlook Mobile Update" href="http://msexchangeteam.com/files/454306/download.aspx">Outlook Mobile 更新部署指南</a></li><li>Outlook Mobile u更新支持 Windows Mobile 6.1 专业版和标准版.  </li><li>目前支持的语言:  <ul style="list-style-type: square;"><li>英语<br /></li><li>德语  </li><li>中文  </li><li>法语  </li><li>荷兰语  </li><li>日语<br /></li><li>意大利语  </li><li>俄语  </li><li>西班牙语  </li><li>瑞典语  </li><li>葡萄牙语</li></ul> </li><li>即将支持:  <ul style="list-style-type: square;"><li>韩语  </li><li>丹麦语  </li><li>芬兰语  </li><li>挪威语  </li><li>捷克语<br /></li><li>波兰语  </li><li>希腊语</li></ul><span class="em">最初发表时间：</span> 2010 年 3 月 17 日，星期三，下午 12:11，作者：<a href="http://msexchangeteam.com/articles/419560.aspx">Michael Higashi</a> 
<div><span id="ctl00___ctl00___ctl02___Entry___InlineTagEditorPanel"></span><input id="ctl00___ctl00___ctl02___Entry___InlineTagEditorPanel_State" value="nochange" name="ctl00$_$ctl00$_$ctl02$_$Entry$_$InlineTagEditorPanel" type="hidden" /></div>
<p>这是一篇本地化的博客文章。请访问 <a href="http://msexchangeteam.com/archive/2010/03/17/454307.aspx">http://msexchangeteam.com/archive/2010/03/17/454307.aspx</a> 以查看原文。</p></li></ul>
]]>
    </content>
</entry>

<entry>
    <title>哥们,我的更新汇总在哪呢?</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/03/dude-where-is-my-rollup.html" />
    <id>tag:www.powerk6.org,2010://1.268</id>

    <published>2010-03-17T14:04:01Z</published>
    <updated>2010-03-17T14:54:03Z</updated>

    <summary> 我刚刚在我全新的 Exchange 2010 服务器上安装了更新汇总1 - RU1, 然后运行 Get-Exchangeserver -Identity MyExchangeServer (译者: 可以用 Get-Exchangeserver -Identity MyExchangeServer | fl ExchangeVersion, AdminDisplayVersion)得到以下关于AdminsDisplayVersion 和 ExchangeVersion 的版本信息: 嗯, 这看上去有点眼熟(译者: 因为 Exchange 2007 的 ExchangeVersion 信息和2010的一样). 接着我去到我的 Exchange 2010 RTM 服务器上运行了同样的 cmdlet : ...同样的结果! 但这里一台是...</summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="Exchange" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="exchange" label="Exchange" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="更新汇总" label="更新汇总" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="版本" label="版本" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[<div class="postfoot">
					<p><font size="2">我刚刚在我全新的 Exchange 2010 服务器上安装了更新汇总1 - RU1, 然后运行
Get-Exchangeserver -Identity MyExchangeServer (译者: 可以</font><font size="2">用 Get-Exchangeserver -Identity MyExchangeServer | fl ExchangeVersion, AdminDisplayVersion</font><font size="2">)<br /></font></p><p><font size="2">得到以下关于AdminsDisplayVersion 和 ExchangeVersion 的版本信息:</font> </p><p><img src="http://msexchangeteam.com/photos/postpictures3/images/454182/original.aspx" /> </p><p><font size="2">嗯, 这看上去有点眼熟(译者: 因为 Exchange 2007 的 ExchangeVersion 信息和2010的一样). 接着我去到我的 Exchange 2010 RTM 服务器上运行了同样的 cmdlet :</font></p><p><img src="http://msexchangeteam.com/photos/postpictures3/images/454183/original.aspx" /> </p><p><font size="2">...同样的结果! 但这里一台是 RU1, 一台是 RTM. 照理讲难道不应该返回不同的版本号吗?</font></p><p><font size="2">好吧... 其实答案是否定的. Exchange 2007 及其后续产品(即2010)版本既不会在 AdminDisplayVersion, ExchangeVersion 中反映详细版本号, 也不会在注册表键值
HKLM\SOFTWARE\Microsoft\v8.0\&lt;Role&gt;\ConfiguredVersion 中反映更新汇总版本信息.这是一个常见的误解. </font> </p><p>通常最准确地获得你所装 Exchange 的版本号/<font size="2">更新汇总</font>信息的方法是检查 BIN 目录下<font size="2"> ExSetup.exe 的文件版本.</font> </p><p><font size="2">这是 Exchange 2010 RU1 的:</font> </p><p><img src="http://msexchangeteam.com/photos/postpictures3/images/454184/original.aspx" /> </p><p><font size="2">这里是 Exchange 2010 RTM 的:</font> </p><p><img src="http://msexchangeteam.com/photos/postpictures3/images/454185/original.aspx" /> </p><p>另外一个方法是运行一条 PowerShell 命令<font size="2"> (译者: 同样适用于 Exchange 2007):</font> </p><p><font size="2">GCM exsetup |%{$_.Fileversioninfo}</font> </p><p><font size="2">以下是 Exchange 2010 RU1 的输出信息:</font> </p><p><img src="http://msexchangeteam.com/photos/postpictures3/images/454186/original.aspx" /> </p><p><font size="2">这里是 2010 RTM :</font> </p><p><img src="http://msexchangeteam.com/photos/postpictures3/images/454187/original.aspx" /> </p><p><font size="2">现在你可以通过</font><a href="http://technet.microsoft.com/zh-cn/library/bb232170%28EXCHG.80%29.aspx"><font size="2">这里</font></a><font size="2">, </font><a href="http://support.microsoft.com/kb/158530/zh-cn"><font size="2">还有这里</font></a><font size="2"> 或者每个更新汇总的下载页面上找到 Exchange 对应的版本信息.</font></p><p><font size="2">希望本文能澄清大家的一些误解!</font> </p><span class="em">最初发表时间：</span> 2010 年 3 月 8 日，星期一，下午 1:57，作者：<font><a href="http://msexchangeteam.com/archive/2009/06/03/451540.aspx"><font size="2">Tom Kern</font></a></font> 
<div><span id="ctl00___ctl00___ctl02___Entry___InlineTagEditorPanel"></span><input id="ctl00___ctl00___ctl02___Entry___InlineTagEditorPanel_State" value="nochange" name="ctl00$_$ctl00$_$ctl02$_$Entry$_$InlineTagEditorPanel" type="hidden" /></div></div>
<p>这是一篇本地化的博客文章。请访问 <a href="http://msexchangeteam.com/archive/2010/03/08/454188.aspx">http://msexchangeteam.com/archive/2010/03/08/454188.aspx</a> 以查看原文。</p>]]>
        
    </content>
</entry>

<entry>
    <title>Exchange 2010 Update Rollup 2</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/03/exchange_2010_update_rollup_2.html" />
    <id>tag:www.powerk6.org,2010://1.267</id>

    <published>2010-03-06T00:42:22Z</published>
    <updated>2010-03-06T00:43:53Z</updated>

    <summary>Today Microsoft released Update Rollup 2 for Microsoft Exchange Server 2010. RU2 comes 3 months after the release of RU1. The list of included fixes is not as long as with RU1, but RU2 does contain some important additional fixes...</summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="Exchange" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="exchange2010" label="Exchange 2010" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="updaterollup" label="Update Rollup" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[<p>Today Microsoft released Update Rollup 2 for Microsoft Exchange
Server 2010. RU2 comes 3 months after the release of RU1. The list of
included fixes is not as long as with RU1, but RU2 does contain some
important additional fixes over RU1:</p>
<ul><li><a href="http://support.microsoft.com/kb/977633/">977633</a> Certain third-party IMAP4 clients cannot connect to Exchange Server 2003 mailboxes through an Exchange Server 2010 CAS server</li><li><a href="http://support.microsoft.com/kb/979431/">979431</a> The
POP3 service crashes when a user connects to a mailbox through the POP3
protocol and the user is migrated from an Exchange Server 2003 server
to an Exchange Server 2010 server</li><li><a href="http://support.microsoft.com/kb/979480/">979480</a> Users
cannot receive new messages if they access mailboxes that are moved to
another Exchange Server 2010 RU1 server by using IMAP4 clients</li><li><a href="http://support.microsoft.com/kb/979563/">979563</a> Exchange Server 2010 Push Notifications does not work</li><li><a href="http://support.microsoft.com/kb/979566/">979566</a> A
0×85010014 error is generated when linked mailbox users try to
synchronize their mailboxes with mobile devices in a CAS-CAS proxying
scenario in Exchange Server 2010</li><li><a href="http://support.microsoft.com/kb/980261/">980261</a> This fix introduces the supports for Exchange Server 2010 page patching when a "-1022″ disk I/O error is generated</li><li><a href="http://support.microsoft.com/kb/980262/">980262</a> Event ID 2156 is logged on a computer that is running Exchange Server 2010</li></ul>
<p>The related knowledgebase article (KB979611) can be found <a href="http://support.microsoft.com/?kbid=979611">here</a>. You can download Exchange 2010 Rollup 2 directly from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=6d3ae3e0-3982-46d6-9e9c-7d7d63fae565&amp;displaylang=en">here</a>.</p> ]]>
        
    </content>
</entry>

<entry>
    <title>HMC 4.0 Update Rollup 3 has been updated</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/03/hmc-40-update-rollup-3-has-been-updated.html" />
    <id>tag:www.powerk6.org,2010://1.266</id>

    <published>2010-03-02T11:46:07Z</published>
    <updated>2010-03-02T11:49:41Z</updated>

    <summary>Description of Update Rollup 3 for Hosted Messaging and Collaboration 4.0http://support.microsoft.com/kb/979702/en-usMicrosoft released an update rollup that is dated December 2009. This update fixes issues that may occur in the following components of Microsoft Solution for Hosted Messaging and Collaboration 4.0:Exchange...</summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="HMC" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="exchange2007" label="Exchange 2007" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="hmc" label="HMC" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mps" label="MPS" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sp2" label="SP2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="updaterollup" label="Update Rollup" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[Description of Update Rollup 3 for Hosted Messaging and Collaboration 4.0<br /><br />http://support.microsoft.com/kb/979702/en-us<br /><br />Microsoft released
		  an update rollup
		  that is dated December 2009. This update fixes issues that
		  may occur in the following components of
		  Microsoft Solution for Hosted Messaging and Collaboration 4.0:<ul><li>Exchange 2007 Resource Manager Namespace</li><li>Exchange 2007 Resource Manager Web Services</li><li>Hosted Email 2007 Namespace</li><li>Hosted Email 2007 Web Services</li><li>Managed Email 2007 Namespace</li><li>Managed Email 2007 Web Services</li><li>Exchange 2007 Mobility Provider</li><li>Exchange 2007 Provider</li><li>Unified Messaging 2007 Provider </li><li>Hosted
				SharePoint 2007 Namespace</li><li>Managed
				SharePoint 2007 Namespace</li><li>Hosted
				SharePoint Web Service</li><li>Managed
				SharePoint Web Service</li><li>DNS
				Provider</li></ul><b>This will enable HMC 4.0 to support Exchange 2007 SP2!</b><br /><br /> ]]>
        
    </content>
</entry>

<entry>
    <title>HMC 4.5 Update Rollup 6 has been released</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/03/hmc-45-update-rollup-6-has-been-released.html" />
    <id>tag:www.powerk6.org,2010://1.265</id>

    <published>2010-03-02T11:14:45Z</published>
    <updated>2010-03-02T11:24:43Z</updated>

    <summary>Description of Update Rollup 6 for Hosted Messaging and Collaboration 4.5http://support.microsoft.com/kb/979704Microsoft has released an update that is dated December 2009. This update fixes issues in the following components in Microsoft Solution for Hosted Messaging and Collaboration 4.5. Exchange 2007 Resource...</summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="HMC" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="exchange2007" label="Exchange 2007" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="hmc" label="HMC" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mps" label="MPS" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sp2" label="SP2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="updaterollup" label="Update Rollup" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[Description of Update Rollup 6 for Hosted Messaging and Collaboration 4.5<br /><br />http://support.microsoft.com/kb/979704<br /><br />Microsoft has released an update that is dated December 2009. This
update fixes issues in the following components in Microsoft Solution
for Hosted Messaging and Collaboration 4.5. <br /><ul><li>Exchange 2007 Resource Manager Namespace</li><li>Exchange 2007 Resource Manager Web Services</li><li>Hosted Email 2007 Namespace</li><li>Hosted Email 2007 Web Services</li><li>Managed Email 2007 Namespace</li><li>Managed Email 2007 Web Services</li><li>Exchange 2007 Mobility Provider</li><li>Exchange 2007 Provider</li><li>Unified Messaging 2007 Provider </li></ul>Additionally, this update also includes native 64-bit versions of the following components: <ul><li>Exchange 2007 Mobility Provider </li></ul><b>In order to get Exchange 2007 SP2 supported, do install this UR.</b><br /><br /><br /> ]]>
        <![CDATA[This update rollup fixes the following issues that were not previously documented in a Microsoft Knowledge Base article:<ul><li>When a folder is created, the value of folder allocation is not consistent with StorageQuota calculation result.</li><li>When
a public folder is created by using the "-StorageQuota" and
"-postStorageQuota", the operation fail.This is because the two
parameters was replaced by the parameters "-IssueWarningQuota" and
"-ProhibitPostQuota" in the Exchange SP2.</li><li>An overflow exception
occurs when allocating 2Terra bytes or above mailbox space to an
organization. This is because the maximum mailbox space that can be
allocated to an organization lower than 2Terra bytes. </li><li>If an organization allocated a "not shared" mailstore, it cannot reallocate on the same mailstore.</li></ul><br /><h4 id="tocHeadRef">Prerequisites</h4><script type="text/javascript">
            loadTOCNode(3, 'moreinformation');
        </script><ul><li>Hosted Messaging and Collaboration version 4.5 must be installed before you apply this update.</li><li>The logon user should be a member of the Domain Admins Group.</li><li>The HMC Deployment Tool must be installed on the first Microsoft Provisioning Server (MPS) Engine server.</li><li><b>Microsoft Exchange Server 2007 Service Pack 2  must be installed before you apply this update.</b></li></ul>Hotfix replacement information<script type="text/javascript">
            loadTOCNode(3, 'moreinformation');
        </script><br />This rollup replaces the previously released RU1, RU2, RU3, RU4 and RU5. ]]>
    </content>
</entry>

<entry>
    <title>HMC 4.5 Update Rollup 5 has been released</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/03/hmc-45-update-rollup-5-has-been-released.html" />
    <id>tag:www.powerk6.org,2010://1.264</id>

    <published>2010-03-02T11:06:20Z</published>
    <updated>2010-03-02T11:11:50Z</updated>

    <summary>Description of Update Rollup 5 for Hosted Messaging and Collaboration 4.5http://support.microsoft.com/kb/977174/en-usMicrosoft has released an update that is dated October 30, 2009. This update fixes issues in the following components in Microsoft Solution for Hosted Messaging and Collaboration (HMC) 4.5 and...</summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="HMC" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="hmc" label="HMC" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mps" label="MPS" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="updaterollup" label="Update Rollup" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[Description of Update Rollup 5 for Hosted Messaging and Collaboration 4.5<br /><br />http://support.microsoft.com/kb/977174/en-us<br /><br />Microsoft has released an update that is dated October 30,
		  2009. This update fixes issues in the following components in Microsoft
		  Solution for Hosted Messaging and Collaboration (HMC) 4.5 and includes all
		  fixes released in previous rollup packages RU1, RU2, RU3 andRU4.
		  <ul><li>ResourceManageDatabase.msi</li><li>Exchange2007ResourceManagerWS.msi</li><li>HostedSharePoint2007WS.msi</li><li>Exchange2007ResourceManagerNS.msi</li><li>HostedSharePoint2007NS.msi</li></ul><br /> ]]>
        <![CDATA[This update rollup
			 fixes the following issues that were not previously documented in a Microsoft
			 Knowledge Base article:<ul><li>The SetUMServer procedure in the Unified Messaging 2007
				Provider may fail if you specify more than one value in the dialPlans property
				(it only fails if at least one of the dialPlan values contains a space
				character.</li><li>The DeleteResourceRecord procedure in the DNS Provider may
				run for a long time or time out if there arelots of records in the
				zone.</li><li>The GetDNSZone procedure in the DNS Providerreturns the
				zone properties only The GetDNSZone procedure does not return the Resource
				Records.</li><li>The Active Directory Collector job may throw an exception
				if it finds lots of records to return. This might occur if for example, there
				are lots of new entries in Active Directory since the PWDB was last
				updated.</li><li>The CreateUser procedure in the Hosted Active Directory
				namespace may return the error " there is no such object on the server" if the
				Organization is renamed.</li><li>Documentation Issue: In the deployment walkthrough for
				Server 2008 the procedure DW08-DWHE.70 states an incorrect autodiscovery
				URL.</li><li>SharePoint Service Pointer in AD can be orphaned if a Site
				Collection Administrator deletes a site or sub-site from the SharePoint
				Administration Interface instead of using MPS.</li><li>Exchange2007Resource Manager: Excessive Run Times When
				Calling FindAutoAllocateOrgMailStores_ With a Large Number of Mail
				Stores.</li><li>Exchange2007ResourceManager:Allocate cannot use level
				algorithm for the first mailbox as specified in the organization
				Plan.</li><li>Exchange2007ResourceManager:ReallocateOrganizationMailNoMove
				cannot reallocate organization correctly when you use the 'level' algorithm for
				'not shared' mail stores.</li><li>Exchange2007ResourceManager:AllocateOrganization fail when
				you use optional parameter 'shared.'</li></ul>]]>
    </content>
</entry>

<entry>
    <title>驾照考题总结帖</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2010/01/driver-license-tips.html" />
    <id>tag:www.powerk6.org,2010://1.263</id>

    <published>2010-01-30T16:58:07Z</published>
    <updated>2010-01-30T20:55:27Z</updated>

    <summary><![CDATA[答题原则： &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 选安全，选礼貌； &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 遵章守纪最重要， &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 除了撞车用急刹， &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 稳住方向看好道。 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 标志标线不难记， &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 根据意思辨路标； &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 方型辅助兰指示， &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 红色禁止黄警告； &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 看标线，有诀窍， &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 颜色虚实要分牢； &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 中心黄色同向白，...]]></summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="PK&apos;s Notes" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="科目一" label="科目一" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="考试" label="考试" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="驾照" label="驾照" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[<font face="Verdana">答题原则：</font>
	<p><font face="Verdana">&nbsp;</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 选安全，选礼貌；</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 遵章守纪最重要，</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 除了撞车用急刹，</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 稳住方向看好道。</font></p>
	<p><font face="Verdana">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 标志标线不难记，</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 根据意思辨路标；</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 方型辅助兰指示，</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 红色禁止黄警告；</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 看标线，有诀窍，</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 颜色虚实要分牢；</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 中心黄色同向白，</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 黄线禁止和警告，</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 实线绝对不能越，</font></p>
	<p><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 虚线可以适当绕；</font></p>
	<p><font face="Verdana">&nbsp;</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font face="Verdana">※※※※※※※※※※※※※※※※※※※</font></p>
	<p><font face="Verdana">答题诀窍：　　</font><br /></p><p><font face="Verdana">凡是里面有"严禁、禁止、不得、必须、公安机关交通管理部门、车管所、回收企业"的是必选的或者是对的；凡是有"也行、不需要"是不能选或者是错的。</font></p> ]]>
        <![CDATA[<font face="Verdana">不好记忆的题可以采取以下方法：</font>
	<p><font face="Verdana">&nbsp;</font></p>
	<p><font face="Verdana">　
　　一.罚款选择题：有"200-2000"、" 20-200"选 "200-2000"、"20-200"没 "2000" 选 "500"
；交通规则中没有 "2000以上"的和没有"1000"的罚款；其它全选最大。罚款金额判断题只好自己记了，也没有多少。&nbsp; </font></p>
	<p><font face="Verdana">吊销驾驶证(罚款200~2000): 1.驾驶拼装\报废车 2.违法逾期不接受处理 3.超速50% 4.把车交由 未取得驾照(无照)/驾照暂扣期间/驾照被吊销期间的人驾驶</font></p>
	<p><font face="Verdana">　
　二.扣留机动车(200~2000):1.伪\变造或使用伪\变造机动车 (驾驶证\行驶证\登记证\保险标志\检验合格标志)
2.使用其它车辆的(行驶证\登记证\保险标志\检验合格标志\号牌)
3.车上道行驶(未放置保险标志\未放置检验合格标志\未挂车号牌\未随车带行驶证)</font></p>
	<p><font face="Verdana">　　三.15日以下拘留:1.未取得驾照的人驾车 2.驾照暂扣期间驾车 3.被吊销期间驾车 4.肇事逃逸,尚不构成犯罪 5.醉酒后驾车</font></p>
	<p><font face="Verdana">　　四.警告(20~200):1故意遮挡\污损车号牌 2.不按规定安装车牌</font></p>
	<p><font face="Verdana">　　五.酒后驾车:1饮酒后驾车,处暂扣驾照(1~3个月),罚款200~500 2.醉酒后驾车,由公安交管约束至酒醒,处(15日以下拘留)和暂扣3~6个月驾照,罚500~2000</font></p>
	<p><font face="Verdana">　
　六.自动挡车: 1."D2挡"在(坡路行驶) 2. "2挡"在(缓坡行驶) 3."P挡"驻车使用 4.在陡坡行驶,使用"L挡"(正确)
5.起步时,(踏下制动踏板),从"P"（停止）挡换入其他挡 6.停放时,变速器操纵杆在"P"挡拔下钥匙
7.起动发动机时,变速器操纵杆放在"P挡"位置</font></p>
	<p><font face="Verdana">　　七.高速同方向车道的车速问题: 1. 二 条车道 左:100~120 右:60~100 2. 三条车道 左:110~120 中:90~110 右:60~80 </font></p>
	<p><font face="Verdana">3. 三条以上/四车道 最左:110~120 中间二条:90~110 最右:60~80 4.进入高速加速车道,尽快提到(60公里)以上</font></p>
	<p><font face="Verdana">　
　八.肇事判刑: 1.交通肇事(逃逸致人死亡的),7--15年有期 2.肇事逃逸或有其它恶劣情节,(3--7年)有期
3.发生重大事故,致人重伤,死亡,使公私财产有重大损失构成交通肇事罪的,"3年以下"有期 &lt;注意:是3年以下!
有道判断题写的是以上一定要看清题目&gt;</font></p>
	<p><font face="Verdana">　　九.机动车&lt;驶入驶出 非机动车道/通过铁路道口 急转弯 转弯 窄路 窄桥 掉头 下陡坡 牵引故障机动车 &gt; 最高时速不准超过 (30公里)</font></p>
	<p><font face="Verdana">　　十.&lt;不是高速&gt;车遇&lt;雨 雾 沙尘 冰雹&gt;天气,能见度在50米以内,最高时速不超过(30公里)</font></p>
	<p><font face="Verdana">　　十一.1.小型.微型非营运客车,从注册日起,(6年)以内每2年检1次；2.小型.微型非营运客车,从注册日起,超过6年不满15年,每(1年)检1次</font></p>
	<p><font face="Verdana">　　十二.&lt;高速公路遇到 雨 雾 沙尘 冰雹!&gt;</font></p>
	<p><font face="Verdana">（１）能见度小于200米时，开启雾灯、近光灯、示廓灯和前后位灯，车速不得超过每小时60公里，与同车道前车保持100米以上的距离；</font></p>
	<p><font face="Verdana">（２）能见度小于100米时，开启雾灯、近光灯、示廓灯、前后位灯和危险报警闪光灯，车速不得超过每小时40公里，与同车道前车保持50米以上的距离；</font></p>
	<p><font face="Verdana">（２）能见度小于50米时，开启雾灯、近光灯、示廓灯、前后位灯和危险报警闪光灯，车速不得超过每小时20公里，并从最近的出口尽快驶离高速公路。</font></p>
	<p><font face="Verdana">　　对于这三种情况，可以记忆为：261，145，520。</font></p>
	<p><font face="Verdana">　　十三.吊二撤三醉五逃终身。也说是说：吊销是两年，撤销是三年，因为醉酒而吊销的是五年，因为逃跑而吊销的是终身。 </font></p>
	<p><font face="Verdana">　　十四. 机动车限速标志：记住 城市30、50；公路40、70；具体如下：</font></p>
	<p><font face="Verdana">1:机动车在没有限速标志.标线的情况下.没有道路中心线的城市道路规定最高时速为30公里. </font></p>
	<p><font face="Verdana">2:机动车在没有限速标志.标线的情况下.没有道路中心线的公路规定最高时速为40公里. </font></p>
	<p><font face="Verdana">3:机动车在没有限速标志.标线的情况下.如果同方向只有一条机动车道的城市道路规定.最高时速为50公里. </font></p>
	<p><font face="Verdana">4:机动车在没有限速标志.标线的情况下.如果同方向只有一条机动车道的公路规定.最高时速为70公里.</font></p>
	<p><font face="Verdana">　　十五.罚款选择项中有20--200 或200--2000的 选这两个</font></p>
	<p><font face="Verdana">　　十六.关于日子的题：只有一个学习交法的是7天，其他警察办事的、<font style="background-color: rgb(255, 0, 0);">一个调解的和60岁以上体检的选10天</font><font style="background-color: rgb(255, 255, 0);">，(60岁以上的我觉得是不是前辈弄错了,应该是15天~!)</font>其余有15天选15天，没有15天的选3、30或90。</font></p>
	<p><font face="Verdana">　　十七.不得停车题：口五站三（有口选50有有站选30），</font></p>
	<p><font face="Verdana">车在&lt;公交站/急救站/加油站/消防队 站 栓&gt; (30米)以内,不得停车. 2.车在&lt;距交叉路口/隧道口/陡坡/弯路口/窄路口&gt;(50米)以内不得停车</font></p>
	<p><font face="Verdana">　　十八.1.&lt;不是高速&gt; 车在 白天/夜间 在路上发生故障,难以移动,开危险报警闪光灯,在车后(50~100米)处设警告标志 2.&lt;高速&gt;上在车后150米处设警告标志；（高速大雾天就不要设了，那是错的。有一道判断题和选择题）</font></p>
	<p><font face="Verdana">　　十九.1.正常道路坡路会车：下坡让上坡； 2.冰雪路面坡路会车：上坡让下坡。</font></p>
	<p><font face="Verdana">　　二十.过立交桥转弯题：左转过桥右转不过桥</font></p>
	<p><font face="Verdana">　　二十一 发生交通事故都是民事责任,除一个肇事逃逸没有出现构成犯罪是"对"的外，一般出现刑事的都不对</font></p>
	<p><font face="Verdana">　　二十二.公安交管部门都是吊销,撤销.交警是扣留</font></p>
	<p><font face="Verdana">　　二十三.交叉路口没指示灯、没人指挥的选择题：有直行选转弯让直行，没有直行右转弯让左转弯对向行车让右车道</font></p>
	<p><font face="Verdana">　　二十四.有横/侧风/爆胎/高速撞护拦的就紧握方向盘吧；不是马上要正面相撞的 就不要紧急制动了)</font></p>
	<p><font face="Verdana">　　二十五 伤员急救知识：原则是：生命第一，止血第一，救人第一，砸玻璃第一（落水）；选择题：A、B、C、D"一般选字最多的"。 判断题：只有"远心端"和"软质担架"是错的，其余都是对的。 </font></p>
	<p><font face="Verdana">　　二十六 危险知识：题目里找"不需要" "不受" "可以" "三层" "坚固无损" 是错的，其余都是对的。</font></p>]]>
    </content>
</entry>

<entry>
    <title>Reporting Service can&apos;t start - Event ID 107</title>
    <link rel="alternate" type="text/html" href="http://www.powerk6.org/2009/12/reporting-service-cant-start-event-id-107.html" />
    <id>tag:www.powerk6.org,2009://1.262</id>

    <published>2009-12-11T12:55:16Z</published>
    <updated>2009-12-11T13:23:25Z</updated>

    <summary>Today, one of my clients reported that, the reporting service cannot started.They didn&apos;t change anything and database service is running fine.Event Type: ErrorEvent Source: Report Server Windows Service (MSSQLSERVER)Event Category: Management Event ID: 107Date: 12/10/2009Time: 11:53:21 PMUser: N/AComputer: ABCDescription:Report Server...</summary>
    <author>
        <name>pOweRK6</name>
        <uri>http://www.powerk6.org</uri>
    </author>
    
        <category term="Microsoft" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="kb948109" label="KB948109" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="reportserver" label="ReportServer" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sql" label="SQL" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-US" xml:base="http://www.powerk6.org/">
        <![CDATA[<span><font class="PanelBar_HeaderTxt">Today, one of my clients reported that, the reporting service cannot started.<br />They didn't change anything and database service is running fine.<br /><br /></font></span>Event Type: Error<br />Event Source: Report Server Windows Service 
(MSSQLSERVER)<br />Event Category: Management <br />Event ID: 107<br />Date: 12/10/2009<br />Time: 11:53:21 PM<br />User: N/A<br />Computer: 
ABC<br />Description:<br />Report Server Windows Service (MSSQLSERVER) cannot 
connect to the report server database.<br /><br />
<div style="margin-left: 40px;">Event Type: Error<br />Event Source: Service Control Manager<br />Event Category: 
None<br />Event ID: 7000<br />Date: 7/27/2008<br />Time: 7:26:24 PM<br />User: 
N/A<br />Computer: PRODB<br />Description:<br />The SQL Server Reporting Services 
(MSSQLSERVER) service failed to start due to the following error: <br />The 
service did not respond to the start or control request in a timely fashion. 
<br /><br />For more information, see Help and Support Center at 
http://go.microsoft.com/fwlink/events.asp.<br /><br /></div>The Reporting Services 
logs mostly just repeat that "The Report Server Windows service 'ReportServer' 
is not running." ...<br /><br /><br /> ]]>
        <![CDATA[

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">This issue was caused by a windows
hotfix - </span><strong><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">KB948109</span></strong><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">, it changed Windows Internal Database (WYukon) security
settings that could make the service start timeout.</span><span style="" lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">There are 2 ways can make it
resolved.</span><span style="" lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong><span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Solution A</span></strong>: Use
Add/Remove to uninstall this hotfix <strong><span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">KB948109</span></strong>.</span><span style="" lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong><span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Solution B</span></strong>: Change the
registry to increase the timeout value.</span><span style="" lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;" lang="EN-US">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
We suggest <strong><span style="font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;">Solution B</span>.</strong></span><span style="" lang="EN-US"><o:p></o:p></span></p>

<p class="MsoNormal"><span style="" lang="EN-US">&nbsp;<o:p></o:p></span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">To increase the timeout value in the
registry, follow these steps: <o:p></o:p></span></p>

<ol start="1" type="1"><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Start Registry Editor (Regedit.exe). <o:p></o:p></span></li><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">To change the value data for the <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">ServicesPipeTimeout DWORD</span></strong>
     value to 60000 in the <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Control</span></strong>
     key, follow these steps: <o:p></o:p></span></li><ol start="1" type="1"><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Locate and then click the following registry key: <o:p></o:p></span></li></ol></ol>

<p class="MsoNormal" style="margin-left: 72pt;"><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet<o:p></o:p></span></p>

<ol start="2" type="1"><ol start="2" type="1"><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Click the <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Control</span></strong>
      subkey <o:p></o:p></span></li><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Right-click the <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">ServicesPipeTimeout
      DWORD</span></strong> value, and then click <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Modify</span></strong>. <o:p></o:p></span></li><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Click <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Decimal</span></strong>.
      <o:p></o:p></span></li><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Type <span class="userinput">60000</span>, and then
      click <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">OK</span></strong>.
      <o:p></o:p></span></li></ol><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">If the <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">ServicesPipeTimeout</span></strong>
     value is <em><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">not</span></em>
     available, add the new <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">DWORD</span></strong>
     value, and then set its value data to 60000 in the <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Control</span></strong> key. To
     do so, follow these steps: <o:p></o:p></span></li><ol start="1" type="1"><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Locate and then click the following registry key: <o:p></o:p></span></li></ol></ol>

<p class="MsoNormal" style="margin-left: 72pt;"><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet<o:p></o:p></span></p>

<ol start="3" type="1"><ol start="2" type="1"><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Click the <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Control</span></strong>
      subkey. <o:p></o:p></span></li><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">On the <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Edit</span></strong>
      menu, point to <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">New</span></strong>,
      and then click <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">DWORD
      Value</span></strong>. <o:p></o:p></span></li><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Type <span class="userinput">ServicesPipeTimeout</span>,
      and then press ENTER. <o:p></o:p></span></li><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Right-click the <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">ServicesPipeTimeout
      DWORD</span></strong> value, and then click <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Modify</span></strong>. <o:p></o:p></span></li><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Click <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Decimal</span></strong>.
      <o:p></o:p></span></li><li class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Type a value of <span class="userinput">60000</span>,
      and then click <strong><span style="font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">OK</span></strong>.
      <br />
      <br />
      The value is 60000 milliseconds and is equivalent to 60 seconds or to one
      minute. <o:p></o:p></span></li></ol></ol>

<p class="MsoNormal" style="margin-left: 36pt;"><strong><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">Note
</span></strong><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">This change does not take effect
until the computer is restarted <o:p></o:p></span></p>

]]>
    </content>
</entry>

</feed>
