<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Your Office Solution Here</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/officeasia/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/officeasia/feed.xml</link>
    <description>Powered by Microsoft China IW(Office/EPM/SharePoint) Team</description>
    <lastBuildDate>Fri, 17 Apr 2015 06:25:34 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Office 2010 KMS Activiation and Case Studies</title>
      <link>https://docs.microsoft.com/archive/blogs/officeasia/office-2010-kms-activiation-and-case-studies</link>
      <pubDate>Wed, 09 Jan 2013 01:17:37 GMT</pubDate>
      <dc:creator><![CDATA[OfficeAsia]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/officeasia/2013/01/09/office-2010-kms-activiation-and-case-studies/</guid>
      <description><![CDATA[[Author: Fish Ge, Jennifer Zhang, Office/Project Support Team, Microsoft Asia Pacific Global Support...]]></description>
      <content:encoded><![CDATA[<p><strong>[Author: Fish Ge, Jennifer Zhang, Office/Project Support Team, Microsoft Asia Pacific Global Support Center]</strong></p>
<p><strong>[???:</strong><a href="https://blogs.technet.com/b/officeasia/archive/2012/03/07/office-2010-kms.aspx">https://blogs.technet.com/b/officeasia/archive/2012/03/07/office-2010-kms.aspx</a><strong>]</strong></p>
<p>&nbsp;</p>
<p>To avoid spread of pirate copy (including malware, virus and other security risk), Office 2010 leverages new mass activation technique: KMS and MAK. The same technique is is also used by Windows Vista/7/2008/2008 R2. MAK activation is handled by Microsoft public service, suitable for Small or Medium companies with less than 50 computers; KMS activation requires the company to host a KMS server, suitable for company with more than 50 computers. Two activation method are bound to product&nbsp;key within&nbsp;Windows and Office suites.</p>
<p>This article will introduce the mechanism of Office 2010 KMS activation and share&nbsp;two real case studies.</p>
<h2><strong>How to determine Office 2010 activation method?</strong></h2>
<p>Steps are below:</p>
<p>1. Start command line and navigate to Office 2010 installation path:</p>
<p><span style="font-family: courier new,courier;">C:\Program Files\Microsoft Office\Office14</span></p>
<p>(32-bit PC+32-bit Office 2010, or 64-bit PC+64-bitOffice 2010)</p>
<p><span style="font-family: courier new,courier;">C:\Program Files (x86)\Microsoft Office\Office14</span></p>
<p>(64-bit PC+32-bitOffice 2010)</p>
<p>2. Type in: <span style="font-family: courier new,courier;">cscript ospp.vbs /dstatus</span></p>
<p>3. Check LICENSE DESCRIPTION, the stringcontains KMS, then it is KMS activation; if the string contains MAK, then it is MAK activation</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/5078.Office%202010%20KMS?????????_1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/5078.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_1.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/5078.Office%202010%20KMS?????????_1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/5078.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_1.png" alt="" border="0" /></a></p>
<p>If you have both KMS and MAK activation products, but cannot activate using one of the techniques, you can change Office 2010 activation method by following this artile: <a href="https://blogs.technet.com/b/officeasia/archive/2011/01/07/how-to-use-command-line-to-change-activate-mak-product-key-for-office-2010-installation.aspx">How to use command line to change/activate MAK product key for Office 2010 installation?</a></p>
<p>&nbsp;</p>
<h2><strong>KMS Activation Mechanism and Steps</strong></h2>
<p>Step1&nbsp;is to install Office 2010 KMS Host key and actiavte KMS host server. The KMS host server can be physical or virtual server, with OS of Windows Server 2003 (Need extra patch, see&nbsp;<a href="https://technet.microsoft.com/zh-cn/library/ee624357.aspx#BKMK_InstKMSWinS2K3">here</a>), Windows Server 2008 R2 and Windows 7. One side note is that Windows 7 KMS&nbsp;host can only&nbsp;activate&nbsp;Windows 7 KMS client.</p>
<p>After activating KMS host server, KMS service will store KMS host&nbsp; location using service (SRV) resource records (RR) in DNS. KMS host location will be published by Dynamic DNS, so that KMS client (computer with Office 2010 KMS activation method) can locate and connect to the host.</p>
<p>KMS host will keep a activation count as one criteria to activate Office 2010 client. On initial deployment, once a new Office 2010 client connects to KMS host, this count will increase. When the count reaches 5, all Office 2010 clients are activated. The count is maintained by KMS host afterwards.</p>
<p>In below illustration, A~C represent configuration on KMS host, 1~4 represent the way KMS host connects KMS host and activate itself. The illustration can be downloaded <a href="https://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=18154">her</a>e:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7360.Office%202010%20KMS?????????_2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7360.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_2.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7360.Office%202010%20KMS?????????_2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7360.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_2.png" alt="" border="0" /></a></p>
<p>A. Install KMS key on KMS Host using SLMGR command.</p>
<p>B. KMS host is activated with the KMS key using Microsoft&rsquo;s Hosted Activation Services.</p>
<p>C. KMS Service registers SRV resource records in DNS each time it starts.</p>
<p>&nbsp;</p>
<p>1. Discover KMS Host using registry entry. If no entry, then query DNS for KMS SRV record. KMS client will select a random KMS host from SRV provided by DNS. If the selected KMS host does not respond, KMS client will remove it from SRV record and select another KMS host randomly.</p>
<p>2. KSM client will connect to KMS host using&nbsp;anonymous RPCs over TCP with default port 1688 (it needs to be opened in firewall). After KMS client establishes TCP conversation with KMS host, KMS client will send request to KMS host to&nbsp;generate&nbsp;CMID. The request will be encrypted using AES encryption. On failure, retry&mdash;2 hours for computer in Grace, 7 days for KMS activated computer.</p>
<p><strong>Note:If cached KMS host does not respond to client request to refresh activation status, KMS client will query for new KMS host in SRV record from DNS.</strong></p>
<p>3. KMS host will add CMID to a table on KMS host server. Every activation request will stay 30 days in the table. When one client refreshes its activation, the CMID will be removed from the table and a new one generated (30 days life). If one KMS client does not refresh its activation within 30 days, the CMID will still be removed and activation count will reduce 1.</p>
<p>4. KMS host returns activation count to client.</p>
<p>5. KMS client evaluates activation count vs. license policy and activates itself if the activation threshold is met:</p>
<ul>
<li>Store KMS Host product ID, intervals, and client hardware ID in license store.</li>
<li>On success, automatically renew activation every 7 days (default).</li>
</ul>
<p>Futhermore, within 180 days&nbsp;after KMS client is activated, it needs to refresh its activation against KMS host server. Otherwise it will go into 30 days Grace Period. After Grace Period, Office 2010 Volume Licensed&nbsp;edition will show warning with red background in application title bar. Office 2010 Retail edition will go into&nbsp;Reduced Functionality Mode, that it can only view document but cannot edit.</p>
<h2><strong>Case study 1 (KMS host not activated)</strong></h2>
<p><span style="text-decoration: underline;"><strong>Problem description</strong></span></p>
<p>Need to activate&nbsp;Office KMS Host.</p>
<p><span style="text-decoration: underline;"><strong>Solution</strong></span></p>
<p>1. Download <a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=97b7b710-6831-4ce5-9ff5-fdc21fe8d965&amp;displaylang=en">Office 2010 KMS Host License Pack</a></p>
<p>2. Upon notification, type in&nbsp;KMS Host key. Then continue to activate KMS host and receive error:</p>
<p><strong>"An error occurred: 0x80072EE7"</strong></p>
<p></p>
<p>3. Error 0x80072ee7 means network connectivity issue, the KMS host server may need to connect to Internet using proxy. Now if we open command line and navigate to <span style="font-family: courier new,courier;">c:\windows\system32, <span style="font-family: arial,helvetica,sans-serif;">type in: </span></span><span style="font-family: arial,helvetica,sans-serif;"><span style="font-family: courier new,courier;">cscript slmgr.vbs /ipk &lt;Office 2010 KMS host key</span>&gt;, we can see below page with License Status showing Unlicensed:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6886.Office%202010%20KMS?????????_4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6886.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_4.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6886.Office%202010%20KMS?????????_4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6886.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_4.png" alt="" border="0" /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>If we need to dig down this issue we can capture Network&nbsp;Monitor package. But we can also use phone to activate KMS host.</p>
<p>4. Now&nbsp;in command line,&nbsp;navigate to<span style="font-family: courier new,courier;">c:\windows\system32,<span style="font-family: arial,helvetica,sans-serif;">&nbsp; type in: </span></span><span style="font-family: courier new,courier;">cscript slmgr.vbs /dti bfe7a195-4f8f-4f0b-a622-cf13c7d16864, <span style="font-family: arial,helvetica,sans-serif;">we will get&nbsp;</span></span><span style="font-family: arial,helvetica,sans-serif;">Installation</span> ID of Office 2010.</p>
<p>5. Run <span style="font-family: courier new,courier;">slui.exe 4<span style="font-family: arial,helvetica,sans-serif;">, then call below phone number.</span></span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7510.Office%202010%20KMS?????????_5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7510.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_5.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7510.Office%202010%20KMS?????????_5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7510.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_5.png" alt="" border="0" /></a></p>
<p><strong>Note:&nbsp;You will be asked to provide Installation ID in phone call, please use the ID retrieved in step 4, but not the one in above picture (in red box).</strong></p>
<p>6. When you hear response in the phone, type in Confirmation ID.</p>
<p>7. In command line, type in: <span style="font-family: courier new,courier;">cscript slmgr.vbs /atp &lt;Confirmation ID&gt; bfe7a195-4f8f-4f0b-a622-cf13c7d16864</span></p>
<p>8. To make sure Office 2010 KMS Host is correctly activated, type in:</p>
<p><span style="font-family: courier new,courier;">cscript slmgr.vbs /dlv bfe7a195-4f8f-4f0b-a622-cf13c7d16864</span> (only show Office 2010)</p>
<p><span style="font-family: courier new,courier;">cscript slmgr.vbs /dlv all</span> (show all KMS products, including Windows and Office)</p>
<p>For 1st command as example, we should see below output (License status&nbsp;showing Licensed):</p>
<p><span style="font-family: courier new,courier;">Name: Microsoft Office 2010, KMSHost edition</span></p>
<p><span style="font-family: courier new,courier;">Description: Microsoft Office 2010 KMS, VOLUME_KMS channel</span></p>
<p><span style="font-family: courier new,courier;">Activation ID: bfe7a195-4f8f-4f0b-a622-cf13c7d16864</span></p>
<p><span style="font-family: courier new,courier;">Application ID: 59a52881-a989-479d-af46-f275c6370663</span></p>
<p><span style="font-family: courier new,courier;">Extended PID: 55041-00096-199-000004-03-1033-7600.0000-3632009</span></p>
<p><span style="font-family: courier new,courier;">Installation ID: 008585014214769124199722184000850026888810090785321136</span></p>
<p><span style="font-family: courier new,courier;">Processor Certificate URL: https://go.microsoft.com/fwlink/p/?LinkID=88342</span></p>
<p><span style="font-family: courier new,courier;">Machine Certificate URL: https://go.microsoft.com/fwlink/p/?LinkID=88343</span></p>
<p><span style="font-family: courier new,courier;">Use License URL: https://go.microsoft.com/fwlink/p/?LinkID=88345</span></p>
<p><span style="font-family: courier new,courier;">Product Key Certificate URL: https://go.microsoft.com/fwlink/p/?LinkID=88344</span></p>
<p><span style="font-family: courier new,courier;">Partial Product Key: RP3HH</span></p>
<p><span style="font-family: courier new,courier;">License Status: Licensed</span></p>
<p><span style="font-family: courier new,courier;">Remaining Windows rearm count: 1</span></p>
<p><span style="font-family: courier new,courier;">Trusted time: 12/29/2009 1:45:54 PM</span></p>
<p>&nbsp;</p>
<p><span style="font-family: courier new,courier;">Key Management Service is enabled on this computer</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Current count: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Listening on Port: 1688</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; DNS publishing enabled</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; KMS priority: Normal</span></p>
<p>&nbsp;</p>
<p><span style="font-family: courier new,courier;">Key Management Service cumulative requests received from clients</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Total requests received: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Failed requests received: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Requests with License Status Unlicensed: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Requests with License Status Licensed: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Requests with License Status Initial grace period: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Requests with License Status License expired or Hardware out of tolerance: 0</span></p>
<p>&nbsp;</p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Requests with License Status Non-genuine grace period: 0</span></p>
<p><span style="font-family: courier new,courier;">Requests with License Status Notification: 0</span></p>
<p>9.Now we need&nbsp;to launch Office 2010 on at least 5 computers. If these KMS clients can contact KMS host, the <strong>Current count </strong>(or activation count) in step 8 output will increase. Once it reaches 5, all Office 2010 clients are activated.</p>
<p>&nbsp;</p>
<h2><strong>Case study 2 (How to activate Office 2010 KMS client that is not in corp domain)</strong></h2>
<p><strong><span style="font-family: arial,helvetica,sans-serif;"><span style="text-decoration: underline;"><span style="text-decoration: underline;">Problem description</span></span></span></strong></p>
<p>Some companies have computers in different offices (or different locations) that have not joined&nbsp;corp domain, and need to activate Office 2010 on these computers.</p>
<p><span style="text-decoration: underline;"><strong>Solution</strong></span></p>
<p>The key issue here is KMS client needs to reach KMS host through IP resolution. In domain environment, DNS will automatically resolve IP addres and server name. When client machine does not join domain, it needs to reach KMS host by PING command. If PING command&nbsp;is sucessful, we can do below things:</p>
<p>1. Open command line and switch to Office 2010 installation path</p>
<p><span style="font-family: courier new,courier;">C:\Program Files\Microsoft Office\Office14</span></p>
<p>(32-bit PC+32-bit Office 2010, or 64-bit&nbsp;PC+64-bit Office 2010)</p>
<p><span style="font-family: courier new,courier;">C:\Program Files (x86)\Microsoft Office\Office14</span></p>
<p>(64-bit PC+32-bit Office 2010)</p>
<p>2. Specify KMS host:</p>
<p><span style="font-family: courier new,courier;">cscript ospp.vbs /sethst: &lt;IP address of KMS host&gt;</span></p>
<p>3. Activate Office 2010:</p>
<p><span style="font-family: courier new,courier;">cscript ospp.vbs /act</span></p>
<p>&nbsp;</p>
<h2><strong>References</strong></h2>
<p><strong>Office 2010 KMS installation and troubleshooting</strong></p>
<p><a href="https://blogs.technet.com/b/odsupport/archive/2010/06/01/office-2010-kms-installation-and-troubleshooting.aspx">https://blogs.technet.com/b/odsupport/archive/2010/06/01/office-2010-kms-installation-and-troubleshooting.aspx</a></p>
<p><strong>Activate Office 2010 KMS host via phone activation</strong></p>
<p><a href="https://blogs.technet.com/b/odsupport/archive/2010/07/29/activate-office-2010-kms-host-via-phone-activation.aspx">https://blogs.technet.com/b/odsupport/archive/2010/07/29/activate-office-2010-kms-host-via-phone-activation.aspx</a><strong></strong></p>
<p><strong>Volume Activation of Microsoft Office 2010</strong></p>
<p><a href="https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;id=18154">https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;id=18154</a></p>
<p><strong>Plan volume activation of Office 2010</strong></p>
<p><a href="https://technet.microsoft.com/en-us/library/ee624358(v=office.14).aspx">https://technet.microsoft.com/en-us/library/ee624358(v=office.14).aspx</a></p>
<p><strong>KMS Activation</strong></p>
<p><a href="https://technet.microsoft.com/en-us/library/ff793419.aspx">https://technet.microsoft.com/en-us/library/ff793419.aspx</a>&nbsp;</p>
<p><strong>Configure and deploy volume activation of Office 2010</strong></p>
<p><strong></strong><a href="https://technet.microsoft.com/en-us/library/ee624348(v=office.14).aspx">https://technet.microsoft.com/en-us/library/ee624348(v=office.14).aspx</a>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Configure SharePoint Server to Open Office Documents in Client Application by Default</title>
      <link>https://docs.microsoft.com/archive/blogs/officeasia/configure-sharepoint-server-to-open-office-documents-in-client-application-by-default</link>
      <pubDate>Tue, 08 Jan 2013 19:50:00 GMT</pubDate>
      <dc:creator><![CDATA[OfficeAsia]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/officeasia/2013/01/08/configure-sharepoint-server-to-open-office-documents-in-client-application-by-default/</guid>
      <description><![CDATA[[Author: Leo Sun &amp; Fish Ge, Office/Project Support Team, Microsoft Asia Pacific Global Support...]]></description>
      <content:encoded><![CDATA[<p><strong>[Author: Leo Sun &amp; Fish Ge, Office/Project Support Team, Microsoft Asia Pacific Global Support Center ]</strong></p>
<p><strong>[???:</strong><a href="https://blogs.technet.com/b/officeasia/archive/2012/05/08/sharepoint-server-office.aspx">https://blogs.technet.com/b/officeasia/archive/2012/05/08/sharepoint-server-office.aspx</a><strong>]</strong></p>
<p>&nbsp;</p>
<p>Office Web Apps is a featured companion to SharePoint Server which allows Office documents to be opened and edited in browser. Hence on a machine without Office application installed, user can still access Office dcoument in browser and get similar experience of client application. This is convenient for smart phone and tablet.</p>
<p>When you install Office Web Apps, Office documents stored on SharePoint will open in browser directly. However some people wish they could still open the documents in Office client application by default.</p>
<p>Below is the solution to configure SharePoint Server to open Office documents in client application by default.</p>
<h2>Regular method</h2>
<p>Make sure <strong>Client Integration</strong> feature is enabled on SharePoint</p>
<p>1. In SharePoint Central Administration site, click Application Management-&gt;Manage Web Applications, select the web application for the site.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4456.??SharePoint%20Server?Office??????????_1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4456._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_1.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4456.??SharePoint%20Server?Office??????????_1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4456._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_1.png" alt="" border="0" /></a></p>
<p>2. Click Authentication Providers, select default zone, and select Yes for "Enable Client Integration?"</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2860.??SharePoint%20Server?Office??????????_2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2860._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_2.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2860.??SharePoint%20Server?Office??????????_2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2860._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_2.png" alt="" width="486" height="151" border="0" /></a></p>
<p>&nbsp;</p>
<p>Configure setting to open Office document in client application:</p>
<ol>
<li>In SharePoint Central Administration site, click Site Actions-&gt;Site Settings</li>
<li>Under Site Collection Administration, click Site collection features</li>
<li>For "Open Documents in Client Applications by Default", click Activate</li>
<li>For "Office Web Apps&rdquo;, click Deactivate</li>
</ol>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3250.??SharePoint%20Server?Office??????????_3.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3250._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_3.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3250.??SharePoint%20Server?Office??????????_3.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3250._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_3.jpg" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>After modification above, every time you click drop-down menu next to Office document in Document Library, you will find "View in Browser" and "Edit in Browser" options not present, and only "Edit in Microsoft Word" is present</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8422.??SharePoint%20Server?Office??????????_4.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8422._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_4.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8422.??SharePoint%20Server?Office??????????_4.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8422._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_4.jpg" alt="" width="430" height="231" border="0" /></a></p>
<h2>What if regular method doesn't work?</h2>
<p>Well, we first need to know the theory behind the "regular method"</p>
<p>Log on to SharePoint Application Server, and navigate to this path: "C:\Program Files\Common Files\Microsoft Shared\Web Server Extension\14\Template\XML" (this is default path)&nbsp;, and find below XML files:</p>
<p>serverfilesword.xml</p>
<p>serverfilespowerpoint.xml</p>
<p>serverfileexcelserver.xml</p>
<p>&nbsp;</p>
<p>These files will tell SharePoint that when user opens Office document, which Office Web Apps service should serve the request. We can open these XML files in notepad. Take serverfilespowerpoint.xml as example (handling PowerPoint files):</p>
<p><span style="font-family: courier new,courier;">&lt;?xml version="1.0" encoding="utf-8" ?&gt;</span></p>
<p><span style="font-family: courier new,courier;">&lt;!-- Copyright (c) Microsoft Corporation. All rights reserved. --&gt;</span></p>
<p><span style="font-family: courier new,courier;">&lt;ServerFiles&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;Mapping FileExtension="pptx" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" CreateRedirectUrlTemplate= "/_layouts/CreateNewDocument.aspx?id=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;Mapping FileExtension="potx" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;Mapping FileExtension="ppsx" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;Mapping FileExtension="pptm" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;Mapping FileExtension="potm" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;Mapping FileExtension="ppsm" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;Mapping FileExtension="ppt" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;Mapping FileExtension="pot" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;Mapping FileExtension="pps" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;Mapping FileExtension="odp" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" CreateRedirectUrlTemplate= "/_layouts/CreateNewDocument.aspx?id=|0" NoGetRedirect ="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&lt;/ServerFiles&gt;</span></p>
<p>&nbsp;</p>
<p>The XML tag shows that requests to&nbsp;files types specified in FileExtension section will be redirected to PowerPoint.aspx and opened withiin Office Web Apps. When "regular method" doesn't work (document opened in browser), it means&nbsp;redirection in this XML is still in effect. There're several possible reasons:</p>
<ol>
<li>Web application for the document library is corrupt</li>
<li>There is permission issue to turn off Office Web Apps</li>
<li>Network issue</li>
</ol>
<p>To cancel the request redirection, we can comment out all tags within&lt;ServerFiles&gt;&hellip;&lt;/ServerFiles&gt; by using &lt;!---&gt;, or rename the XML file.</p>
<h2>Common issue of "regular method"</h2>
<p>In order to disable Office Web Apps, many user will&nbsp;disable Word Viewing&nbsp; Service&nbsp;and PowerPoint Viewing Service from Manage Service Application.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7043.??SharePoint%20Server?Office??????????_5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7043._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_5.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7043.??SharePoint%20Server?Office??????????_5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7043._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_5.png" alt="" width="720" height="22" border="0" /></a></p>
<p>In this way, when user still wish to view the document in browser, the user will recieve error:</p>
<p><strong>"Word Web App cannot open this document for viewing because of an unexpected error. To view this document, open it in Microsoft Word."</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2656.??SharePoint%20Server?Office??????????_6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2656._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_6.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2656.??SharePoint%20Server?Office??????????_6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2656._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_6.png" alt="" width="429" height="163" border="0" /></a></p>
<h2>References</h2>
<p><strong>Configure the default open behavior for browser-enabled documents (Office Web Apps)</strong></p>
<p><a href="https://technet.microsoft.com/en-us/library/ee837425(v=office.14).aspx">https://technet.microsoft.com/en-us/library/ee837425(v=office.14).aspx</a></p>
<p>&nbsp;</p>
<p><strong>Change how to open a document in a library with one click</strong></p>
<p><a href="https://office.microsoft.com/en-us/sharepoint-server-help/change-how-to-open-a-document-in-a-library-with-one-click-HA101729873.aspx">https://office.microsoft.com/en-us/sharepoint-server-help/change-how-to-open-a-document-in-a-library-with-one-click-HA101729873.aspx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Office 2003 VSTO add-in can run in debug mode but cannot load after installation</title>
      <link>https://docs.microsoft.com/archive/blogs/officeasia/office-2003-vsto-add-in-can-run-in-debug-mode-but-cannot-load-after-installation</link>
      <pubDate>Fri, 04 Jan 2013 01:00:00 GMT</pubDate>
      <dc:creator><![CDATA[OfficeAsia]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/officeasia/2013/01/04/office-2003-vsto-add-in-can-run-in-debug-mode-but-cannot-load-after-installation/</guid>
      <description><![CDATA[[Author: Fish Ge, Office/Project Support Team, Microsoft Asia Pacific Global Support Center]
[???:...]]></description>
      <content:encoded><![CDATA[<p><strong>[Author: Fish Ge, Office/Project Support Team, Microsoft Asia Pacific Global Support Center]</strong></p>
<p><strong>[???: <a href="https://blogs.technet.com/b/officeasia/archive/2011/12/14/office2003-vsto.aspx">https://blogs.technet.com/b/officeasia/archive/2011/12/14/office2003-vsto.aspx</a>]</strong></p>
<p>Hope this article is helpful to VSTO and Office add-in developers.</p>
<p><strong></strong>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Problem Description</strong></span></p>
<p>You develop Office 2003 VSTO add-in using Visual Studio 2008. On developer machine you can run the add-in from Visual Studio in debug mode, however when the add-in is installed, it cannot load or the custom menus in add-in doesn't respond.</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Solution</strong></span></p>
<p>To troubleshoot add-in loading issue, we can follow <a href="https://msdn.microsoft.com/en-us/library/ms269003(v=VS.90).aspx" target="_blank">https://msdn.microsoft.com/en-us/library/ms269003(v=VS.90).aspx</a> to add&nbsp;environment variable&nbsp;VSTO_SUPPRESSDISPLAYALERTS=0&nbsp;and VSTO_LOGALERTS=1. By this way, everytime the add-in fails to load there will be error message.&nbsp;&nbsp;</p>
<p>&nbsp;</p>
<p>Then let's see what prerequisites are needed for running Office 2003 VSTO add-in (h<a href="https://msdn.microsoft.com/en-us/library/bb332051(office.12).aspx">ttp://msdn.microsoft.com/en-us/library/bb332051(office.12).aspx</a>):</p>
<p>&nbsp;</p>
<p><strong>Table 1. Summary of bootstrapper packages that accompany the article</strong></p>
<p>&nbsp;</p>
<table style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">
<p><strong>Bootstrapper package</strong></p>
</td>
<td valign="top">
<p><strong>Dependent packages</strong></p>
</td>
<td valign="top">
<p><strong>Other conditions</strong></p>
</td>
</tr>
<tr>
<td valign="top">
<p>VSTO 2005 SE runtime</p>
</td>
<td valign="top">
<p>The .NET Framework 2.0</p>
</td>
<td valign="top">&nbsp;</td>
</tr>
<tr>
<td valign="top">
<p>Visual Studio Tools for Office Language Pack</p>
</td>
<td valign="top">
<p>VSTO 2005 SE runtime</p>
</td>
<td valign="top">&nbsp;</td>
</tr>
<tr>
<td valign="top">
<p>Primary interop assemblies redistributable package for the 2003 release of Office</p>
</td>
<td valign="top">
<p>.NET Framework 2.0</p>
</td>
<td valign="top">
<p>Installs all primary interop assemblies if Office 2003 is installed.</p>
</td>
</tr>
<tr>
<td valign="top">
<p>Primary interop assemblies redistributable package for the 2007 release of Office</p>
</td>
<td valign="top">
<p>.NET Framework 2.0</p>
</td>
<td valign="top">
<p>Installs all primary interop assemblies if the 2007 release of Office is installed.</p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;When we develop Office 2003 add-in in Visual Studio 2005, these prerequisites can be checked on in add-in's installation project properties. However Visual Studio 2008 only include prerequisites for Office 2007 add-ins, such as Visual Studio Tools for Office system 3.0 Runtime and Primary Interop Asseblies 2007. Lack of prerequisites for Office 2003 add-in will result in failure of loading.</p>
<p>&nbsp;&nbsp;&nbsp;</p>
<p>Below are complete steps to deploy Office 2003 using Visual Studio 2008:</p>
<p>1. Download <strong>Microsoft Visual Studio 2005 Tools for Office SE Resources</strong> <a href="https://www.microsoft.com/downloads/details.aspx?familyid=6991E869-8D5B-45F4-91E7-B527BD236F4C&amp;displaylang=en">Visual Studio 2005 Tools for Office Second Edition Sample: Deploying Office Solutions Using Windows Installer Version 3</a></p>
<p>2. Visit &ldquo;<strong>C:\Program Files\Microsoft Visual Studio 2005 Tools for Office SE Resources\VSTO2005SE Windows Installer Sample Version 3\packages</strong>&rdquo;, copy <strong>VSTOSERuntime</strong>?<strong>Office2003PIA </strong>folder to&rdquo;<strong>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages</strong>&rdquo;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6305.2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6305.2.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6305.2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6305.2.png" alt="" border="0" /></a></p>
<p>3. Download <strong>Download VSTO 2005 SE Runtime</strong> <a href="https://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=2392">https://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=2392</a>, and copy to&nbsp;&ldquo;<strong>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\VSTOSERuntime</strong>&rdquo;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4544.3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4544.3.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4544.3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4544.3.png" alt="" border="0" /></a></p>
<p>4. Start Visual Studio 2008 command line, navigate to&ldquo;<strong>C:\Program Files\Microsoft Visual Studio 2005 Tools for Office SE Resources\VSTO2005SE Windows Installer Sample Version 3\Projects\Checks&rdquo;</strong></p>
<p><strong></strong>5. Run the following command:</p>
<p><span style="font-family: courier new,courier;">cl.exe /Oxs /MT /GS ComponentCheck.cpp advapi32.lib</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7558.4.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7558.4.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7558.4.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7558.4.jpg" alt="" border="0" /></a></p>
<p>6. When it is completed, we will see&nbsp;<strong>ComponentCheck.exe </strong>and <strong>ComponentCheck.obj</strong></p>
<p><strong><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/0407.5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/0407.5.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/0407.5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/0407.5.png" alt="" border="0" /></a></strong></p>
<p>7. Copy ComponentCheck.exe to <strong>&ldquo;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\VSTOSERuntime&rdquo;?C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\Office2003PIA&rdquo;</strong></p>
<p>8. Right click setup project in Visual Studio 2008, and check on below in Prerequisites:</p>
<p>&nbsp;</p>
<ul>
<li>.NET Framework 2.0</li>
<li>Windows Installer 3.1</li>
<li>Microsoft Office 2003 Primary Interop Assemblies</li>
<li>Microsoft Visual Studio 2005 Tools for Office Second Edition runtime</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6371.6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6371.6.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6371.6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6371.6.png" alt="" border="0" /></a></p>
<p>9.&nbsp; Follow <a href="https://msdn.microsoft.com/en-us/library/bb332052(v=office.12).aspx#officevstowindowsinstallerwalkthrough_creatinginstallerpackagestodeploysolutions">https://msdn.microsoft.com/en-us/library/bb332052(v=office.12).aspx#officevstowindowsinstallerwalkthrough_creatinginstallerpackagestodeploysolutions</a>, start from sectoin <strong>Adding a Custom Action to Grant Trust to the Assembly </strong>till <strong>To add a launch condition for the VSTO 2005 SE runtime</strong></p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; 1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; After add-in is installed, we need to use CASPOL.EXE (shipped with .NET Framework 2.0) to add trust level to all add-in files, otherwise the custom menu in the add-in may not respond. Load project <strong>&rdquo;C:\Program Files\Microsoft Visual Studio 2005 Tools for Office SE Resources\VSTO2005SE Windows Installer Sample Version 3\projects\SetSecurity</strong>&rdquo;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/5773.1.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/5773.1.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/5773.1.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/5773.1.PNG" alt="" border="0" /></a></p>
<p>Modify <strong>CaspolSecurityPolicyCreator.cs </strong>from SetSecurity project:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/0358.2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/0358.2.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/0358.2.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/0358.2.jpg" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>To simplify the steps, replace original code by below part (the modified part is highlighted):</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Add the solution code group. Grant no permission at this level.</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string arguments = policyLevel + " -q -ag " + parentCodeGroup + " -url \"" + solutionInstallationUrl + "\" <span style="background-color: #ffff00;">FullTrust</span> -n \"" + solutionCodeGroupName + "\" -d \"" + solutionCodeGroupDescription + "\"";</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RunCaspolCommand(frameworkFolder, arguments);</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch (Exception ex)</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string error = String.Format("Cannot create the security code group '{0}'.", solutionCodeGroupName);</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; throw new Exception(error, ex);</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //// Add the assembly code group. Grant FullTrust permissions to the main assembly.</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //try</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //{</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; // Use the assembly strong name as the membership condition.</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; // Ensure that the assembly is strong-named to give it full trust.</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; AssemblyName assemblyName = Assembly.LoadFile(assemblyPath).GetName();</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; arguments = policyLevel + " -q -ag \"" + solutionCodeGroupName + "\" -strong -file \"" + assemblyPath + "\" \"" + assemblyName.Name + "\" \"" + assemblyName.Version.ToString(4) + "\" FullTrust -n \"" + assemblyCodeGroupName + "\" -d \"" + assemblyCodeGroupDescription + "\"";</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; RunCaspolCommand(frameworkFolder, arguments);</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //}</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //catch (Exception ex)</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //{</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; try</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; {</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Clean the solutionCodeGroupName.</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RemoveSecurityPolicy(machinePolicyLevel, solutionCodeGroupName);</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; }</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; catch { }</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; string error = String.Format("Cannot create the security code group '{0}'.", assemblyCodeGroupName);</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; throw new Exception(error, ex);</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //}</span></p>
<p><strong></strong>In Custom Action, add Primary output from SetSecurity</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3162.3.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3162.3.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3162.3.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3162.3.jpg" alt="" border="0" /></a></p>
<p>&nbsp;&nbsp;&nbsp; 3) A sample of CustomActionData for Install is:</p>
<p>/assemblyName="&lt;add-in name&gt;.dll" /targetDir="[TARGETDIR]\" /solutionCodeGroupName="&lt;corp name&gt;.&lt;add-in name&gt;.dll" /solutionCodeGroupDescription="Code group for &lt;add-in name&gt;" /assemblyCodeGroupName="&lt;add-in name&gt;" /assemblyCodeGroupDescription="Code group for &lt;add-in name&gt;" /allUsers=[ALLUSERS]</p>
<p>&nbsp;&nbsp; 4) A sample of CustomActionData for Uninstall and Rollback is:</p>
<p>/solutionCodeGroupName="&lt;corp name&gt;.&lt;add-in name&gt;.dll"</p>
<p>&nbsp;&nbsp;&nbsp; 5) Add Launch Conditions</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8880.3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8880.3.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8880.3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8880.3.png" alt="" border="0" /></a></p>
<p>10. Recompile the add-in project adn installation project, then install the add-in to target machine. This add-in will load in both Office 2003 and 2007.</p>
<p><span style="text-decoration: underline;"><strong>Follow-up Issues</strong></span></p>
<p>If&nbsp;an Office 2003 add-in project develped in Visual Studio 2008 is opened&nbsp;in Visual Studio 2008 with Office 2007 installed, there will be upgrade notification. After upgrade, add-in reference&nbsp;against Office 2003 VSTO runtime and PIA will be changed to Office 2007 (version 11 to version 12). If we just compile the installation project and install the add-in, the add-in will not load.</p>
<p>The cause of the issue is that Office 2007 VSTO add-in will have Manifest in registry key like<strong> [TARGETDIR]&lt;add-in name&gt;.vsto|vstolocal</strong>, however the&nbsp;Office 2003 add-in will have Manifest in registry key like <strong>[TARGETDIR]&lt;add-in name&gt;.dll.manifest</strong>. There're two solutions (not backward compatible):</p>
<p>1. Create a new Office 2007 add-in project in Visual Studio 2008, and copy the add-in code from Office 2003 add-in project to the new one.</p>
<p>2.&nbsp;Add <strong>&lt;add-in name&gt;.dll.manifest</strong> and<strong> &lt;add-in name&gt;.vsto</strong> into add-in installatin project. We can right click installation project-&gt;Add-&gt;File, and include these two files:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4456.4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4456.4.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4456.4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4456.4.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Then right click installation project-&gt;View-&gt;Registry, find Manifest key, change<strong> [TARGETDIR]&lt;add-in name&gt;.dll.manifest</strong> to <strong>[TARGETDIR]&lt;add-in name&gt;.vsto|vstolocal</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8103.5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8103.5.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8103.5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8103.5.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Rebuild the project and now the add-in can load in Office 2007. The drawback is that the add-in cannot load in Office 2003 anymore.</p>
<p>&nbsp;</p>
<p>Similar issue is posted here:&nbsp;</p>
<p><a href="https://social.msdn.microsoft.com/Forums/en-US/vsto/thread/75dbff40-181b-434f-87fe-7fa7e21a5828">https://social.msdn.microsoft.com/Forums/en-US/vsto/thread/75dbff40-181b-434f-87fe-7fa7e21a5828</a></p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>References</strong></span></p>
<p><strong>Deploying Visual Studio 2005 Tools for the Office System SE Solutions Using Windows Installer (Part 1 of 2)</strong></p>
<p><a href="https://msdn.microsoft.com/en-us/library/bb332051(office.12).aspx">https://msdn.microsoft.com/en-us/library/bb332051(office.12).aspx</a></p>
<p>&nbsp;</p>
<p><strong>Deploying Visual Studio 2005 Tools for the Office System SE Solutions Using Windows Installer: Walkthroughs (Part 2 of 2)</strong></p>
<p><a href="https://msdn.microsoft.com/en-us/library/bb332052(v=office.12).aspx">https://msdn.microsoft.com/en-us/library/bb332052(v=office.12).aspx</a></p>
<p>&nbsp;</p>
<p><strong>Troubleshooting COM Add-In load failures</strong></p>
<p><a href="https://blogs.msdn.com/b/vsod/archive/2008/04/22/troubleshooting-com-add-in-load-failures.aspx">https://blogs.msdn.com/b/vsod/archive/2008/04/22/troubleshooting-com-add-in-load-failures.aspx</a></p>
<p>&nbsp;</p>
<p>VSOD (CSS) team blog:</p>
<p><strong><a href="https://blogs.msdn.com/b/vsod/">Visual Studio Office Development (VSOD) Support Team</a></strong></p>
<p><a href="https://blogs.msdn.com/b/vsod/">https://blogs.msdn.com/b/vsod/</a></p>
<p>&nbsp;</p>
<p>VSTO (Product team) team blog:</p>
<p><strong><a href="https://blogs.msdn.com/b/vsto/">Office Development with Visual Studio</a></strong></p>
<p><a href="https://blogs.msdn.com/b/vsto/">https://blogs.msdn.com/b/vsto/</a></p>]]></content:encoded>
    </item>
    <item>
      <title>配置Secure Store Service以访问Excel Service 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/officeasia/secure-store-serviceexcel-service-2010</link>
      <pubDate>Fri, 04 Jan 2013 00:14:00 GMT</pubDate>
      <dc:creator><![CDATA[OfficeAsia]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/officeasia/2013/01/04/secure-store-serviceexcel-service-2010/</guid>
      <description><![CDATA[??Secure Store Service???Excel Service 2010
&nbsp;[??:?????????? , &nbsp;Office/Project????,...]]></description>
      <content:encoded><![CDATA[<h1><span style="color: #365f91;">??<span style="font-family: Cambria;">Secure Store Service</span>???<span style="font-family: Cambria;">Excel Service 2010</span></span></h1>
<p><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;[</span>??:??????????<span style="font-family: Calibri;"> , &nbsp;Office/Project</span>????<span style="font-family: Calibri;">, </span>?????????????<span style="font-family: Calibri;"> ]</span></span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">SharePoint&nbsp; Server&nbsp; 2010</span>????????????,??????????????????????????????????????????????<span style="font-family: Calibri;"> (Information Worker)</span>?????<span style="font-family: Calibri;">Office</span>???????????????????<span style="font-family: Calibri;">Office</span>???????????,??<span style="font-family: Calibri;">Office Web App</span>??????????????????????????(?????????,???????),?????????????,????<span style="font-family: Calibri;">Office</span>????????????????</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;">????<a href="https://office.microsoft.com/zh-cn/web-apps/"><span style="color: #0000ff; font-family: Calibri;">Office Web App</span></a>?,<span style="font-family: Calibri;">Excel Service</span>????????<span style="font-family: Calibri;"> SharePoint Server 2007</span>???????,?????????????<span style="font-family: Calibri;">SharePoint Server 2010</span>?<span style="font-family: Calibri;">Excel Service</span>??????????,?????????<span style="font-family: Calibri;">SharePoint Server</span>???(??<span style="font-family: Calibri;">Project Server</span>?<span style="font-family: Calibri;">Team Foundation Server</span>?)????<span style="font-family: Calibri;">Excel Service</span>?????????????????????????,?????????<span style="font-family: Calibri;">Excel Service</span>(??<span style="font-family: Calibri;">Secure Store Service</span>)??????????????????,????????????????<span style="font-family: Calibri;">Excel</span>????????????????????????<span style="font-family: Calibri;">Excel</span>???</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;">??<span style="font-family: Calibri;">Excel Service</span>?????????,???????????????????,????<span style="font-family: Calibri;">Excel Service</span>???????,?????????(???????????????????????)????????<span style="font-family: Calibri;">Secure Store Service</span>???<span style="font-family: Calibri;">Excel Service 2010</span>?????,??????<span style="font-family: Calibri;">IT</span>?????????</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><span style="font-size: medium;"><span style="color: #4f81bd;">????????</span></span></h2>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-family: Calibri; font-size: small;">1.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">AD</span>?????<span style="font-family: Calibri;">projdataaccess</span>??,???????<span style="font-family: Calibri;">db_datareader</span>??,??:</span></p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2727.??Secure%20Store%20Service???Excel%20Service%202010_1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2727._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_1.png" alt="" border="0" /></p>
<p><span style="font-family: Calibri; font-size: small;">2.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">AD</span>????????<span style="font-family: Calibri;">report viewers group</span>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">3.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;"><span style="font-family: Calibri;">AD</span>????????<span style="font-family: Calibri;">report authors group</span>(????????)?</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><span style="font-size: medium;"><span style="color: #4f81bd;">??<span style="font-family: Cambria;">SharePoint</span>????</span></span></h2>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;">?????<strong><span style="font-family: Calibri;">Excel Calculation Service</span></strong><strong>??</strong>?<strong><span style="font-family: Calibri;">Secure Store Service</span></strong>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">1.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">????<strong><span style="font-family: Calibri;">SharePoint</span></strong><strong>????</strong><span style="font-family: Calibri;">-&gt; </span><strong>????</strong><span style="font-family: Calibri;">-&gt;</span><strong>?????????</strong>?</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/1423.??Secure%20Store%20Service???Excel%20Service%202010_2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/1423._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_2.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/1423.??Secure%20Store%20Service???Excel%20Service%202010_2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/1423._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_2.png" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">2.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong><span style="font-family: Calibri;">Excel Calculation Service</span></strong>,?????<strong>???</strong>,???<strong>??</strong>?</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8322.??Secure%20Store%20Service???Excel%20Service%202010_2a.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8322._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_2a.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8322.??Secure%20Store%20Service???Excel%20Service%202010_2a.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8322._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_2a.png" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">3.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">?&rdquo;<strong><span style="font-family: Calibri;">Secure Store Service</span></strong>,?????<strong>???</strong>,???<strong>??</strong>?</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/1121.??Secure%20Store%20Service???Excel%20Service%202010_2b.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/1121._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_2b.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/1121.??Secure%20Store%20Service???Excel%20Service%202010_2b.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/1121._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_2b.png" alt="" border="0" /></a>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><span style="font-size: medium;"><span style="color: #4f81bd;">??<span style="font-family: Cambria;">Excel Service</span>????</span></span></h2>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-family: Calibri; font-size: small;">1.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">????<strong>??????</strong><span style="font-family: Calibri;">-&gt; </span><strong>????????</strong>,??????<strong><span style="font-family: Calibri;">Excel Services</span></strong><strong>????</strong>,??????????????<strong><span style="font-family: Calibri;">Excel Services</span></strong><strong>????</strong>,????<strong>??</strong><span style="font-family: Calibri;">-&gt;<strong>Excel Services</strong></span><strong>????</strong>?</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8865.??Secure%20Store%20Service???Excel%20Service%202010_3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8865._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_3.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8865.??Secure%20Store%20Service???Excel%20Service%202010_3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8865._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_3.png" alt="" width="331" height="400" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">2.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">????<strong>??</strong>,????<strong>???????</strong>(???????????)?<strong>?????????</strong>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">3.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">???<strong>?????</strong>,??????<strong>??????</strong>(?????,???????????)?</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7418.??Secure%20Store%20Service???Excel%20Service%202010_4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7418._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_4.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7418.??Secure%20Store%20Service???Excel%20Service%202010_4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7418._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_4.png" alt="" border="0" /></a>&nbsp;</p>
<p><strong>&nbsp;</strong></p>
<h2><span style="font-size: medium;"><span style="color: #4f81bd;">??<span style="font-family: Cambria;">Secure Store Service</span></span></span></h2>
<p><strong>&nbsp;</strong></p>
<p><span style="font-size: small;">???????<span style="font-family: Calibri;">Secure Store Service</span>,????????<strong><span style="font-family: Calibri;">Secure Store Service</span></strong>???????????????????(???????&ldquo;???<span style="font-family: Calibri;">+DB+ </span>??<span style="font-family: Calibri;">GUID</span>&rdquo;)?</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6866.??Secure%20Store%20Service???Excel%20Service%202010_5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6866._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_5.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6866.??Secure%20Store%20Service???Excel%20Service%202010_5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6866._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_5.png" alt="" border="0" /></a></p>
<p><span style="font-size: small;">??????????,????<strong><span style="font-family: Calibri;">Secure Store Services</span></strong>-&gt;<strong>?????????</strong>-&gt;<strong><span style="font-family: Calibri;">SharePoint Web Services Default</span></strong>?</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8688.??Secure%20Store%20Service???Excel%20Service%202010_6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8688._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_6.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8688.??Secure%20Store%20Service???Excel%20Service%202010_6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8688._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_6.png" alt="" border="0" /></a></p>
<h2><span style="font-size: medium;"><span style="color: #4f81bd;">??<span style="font-family: Cambria;">State Service</span></span></span></h2>
<p><span style="font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;">?????</span></p>
<p><span style="font-size: small;">&nbsp;</span></p>
<h2><span style="font-size: medium;"><span style="color: #4f81bd;">????????????<span style="font-family: Cambria;">Web</span>????</span></span></h2>
<p><span style="font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;">??????????????<span style="font-family: Calibri;">Web</span>????????,?????<strong><span style="font-family: Calibri;">SharePoint</span></strong><strong>????</strong><span style="font-family: Calibri;">-&gt;</span><strong>??????</strong><span style="font-family: Calibri;">-&gt;</span><strong>??????????</strong>?????:</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2311.??Secure%20Store%20Service???Excel%20Service%202010_7.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2311._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_7.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2311.??Secure%20Store%20Service???Excel%20Service%202010_7.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2311._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_7.png" alt="" border="0" /></a></p>
<p><span style="font-size: small;">???????:</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2474.??Secure%20Store%20Service???Excel%20Service%202010_8.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2474._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_8.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2474.??Secure%20Store%20Service???Excel%20Service%202010_8.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2474._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_8.png" alt="" border="0" /></a></p>
<p><span style="font-size: small;">???????,???<strong><span style="font-family: Calibri;">Excel Service</span></strong><strong>????</strong>?<strong><span style="font-family: Calibri;">Secure Store Service</span></strong>?????????</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><span style="font-size: medium;"><span style="color: #4f81bd;">??<span style="font-family: Cambria;">Secure Store Service</span></span></span></h2>
<p><strong>&nbsp;</strong><span style="font-family: Calibri; font-size: small;">1.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">?<strong>????????</strong>???,??<strong><span style="font-family: Calibri;">Secure Store Service</span></strong><strong>????</strong>,??<strong>??</strong>?</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7455.??Secure%20Store%20Service???Excel%20Service%202010_9.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7455._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_9.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7455.??Secure%20Store%20Service???Excel%20Service%202010_9.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7455._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_9.png" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">2.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong>?????</strong>,?????????,???????????<strong><span style="font-family: Calibri;">Secure Store Service</span></strong>?????</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4452.??Secure%20Store%20Service???Excel%20Service%202010_10.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4452._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_10.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4452.??Secure%20Store%20Service???Excel%20Service%202010_10.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4452._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_10.png" alt="" border="0" /></a>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">3.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">????<strong>????</strong>??,??<strong>??</strong>?</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/0118.??Secure%20Store%20Service???Excel%20Service%202010_11.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/0118._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_11.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/0118.??Secure%20Store%20Service???Excel%20Service%202010_11.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/0118._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_11.png" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">4.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong>??</strong>?????<strong>??????</strong>?</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3441.??Secure%20Store%20Service???Excel%20Service%202010_12.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3441._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_12.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3441.??Secure%20Store%20Service???Excel%20Service%202010_12.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3441._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_12.png" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">5.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">????<strong>??????</strong><strong>ID</strong>?<strong>????</strong>?<strong>?????</strong>?<strong>????????</strong>:</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3007.??Secure%20Store%20Service???Excel%20Service%202010_13.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3007._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_13.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3007.??Secure%20Store%20Service???Excel%20Service%202010_13.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3007._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_13.png" alt="" border="0" /></a>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">6.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong>???</strong>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">7.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??????????ID???????????<span style="font-family: Calibri;">Windows</span>??,????????????:<strong><span style="font-family: Calibri;">Windows</span></strong><strong>???</strong>?<strong><span style="font-family: Calibri;">Windows</span></strong><strong>??</strong>???????,??<strong>???</strong>?</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/5706.??Secure%20Store%20Service???Excel%20Service%202010_14.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/5706._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_14.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/5706.??Secure%20Store%20Service???Excel%20Service%202010_14.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/5706._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_14.png" alt="" border="0" /></a></span></p>
<p>&nbsp;<span style="font-family: Calibri; font-size: small;">8.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">????????????????????<strong><span style="font-family: Calibri;">v9\report viewers group</span></strong>??????????</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2117.??Secure%20Store%20Service???Excel%20Service%202010_15.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2117._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_15.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2117.??Secure%20Store%20Service???Excel%20Service%202010_15.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2117._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_15.png" alt="" border="0" /></a></span></p>
<p><span style="font-size: small;">?:<strong>?????????</strong>???????????????????????</span></p>
<p><span style="font-size: small;"><strong>??</strong>??????????????????????,????????????????</span></p>
<p><span style="font-family: Calibri; font-size: small;">9.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">?<strong>??</strong>?,?????<strong>??????</strong>??????????????<strong>??????</strong>,????<strong>??</strong>?</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/1033.??Secure%20Store%20Service???Excel%20Service%202010_16.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/1033._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_16.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/1033.??Secure%20Store%20Service???Excel%20Service%202010_16.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/1033._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_16.png" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">10.</span>&nbsp;&nbsp; <span style="font-size: small;">????,??<strong>?????</strong>?<strong><span style="font-family: Calibri;">report viewers group</span></strong>,???????,????,?</span><span style="font-size: small;">??????<strong>??????</strong>????????<strong>??</strong>??????????,<span style="font-family: Calibri;">v9\projdataaccess</span>???????,<strong><span style="font-family: Calibri;">report viewers group</span></strong>??<strong><span style="font-family: Calibri;">v9\projdataaccess</span></strong>????????????????</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4466.??Secure%20Store%20Service???Excel%20Service%202010_17.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4466._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_17.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4466.??Secure%20Store%20Service???Excel%20Service%202010_17.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4466._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_17.png" alt="" border="0" /></a>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">11.</span>&nbsp;&nbsp; <span style="font-size: small;">??<strong>??</strong>??,<strong><span style="font-family: Calibri;">Secure Store Service</span></strong>???????</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><span style="font-size: medium;"><span style="color: #4f81bd;">??<span style="font-family: Cambria;">Excel Service</span>????????</span></span></h2>
<p><span style="font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;">?????<span style="font-family: Calibri;">Excel Service</span>???<span style="font-family: Calibri;">Excel</span>??????????(?????<span style="font-family: Calibri;">SQL Server</span>???),?????????<span style="font-family: Calibri;">1-3</span>????<span style="font-family: Calibri;">Excel</span>????????????,????????</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-family: Calibri; font-size: small;">1.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">????</span></p>
<p><span style="font-family: Calibri; font-size: small;">a.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong>????????</strong>??</span></p>
<p><span style="font-family: Calibri; font-size: small;">b.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong><span style="font-family: Calibri;">Excel Service</span></strong><strong>????</strong><span style="font-family: Calibri;">-&gt;</span><strong>????</strong>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">c.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">?<strong>????</strong>?,??<strong>????</strong><strong><span style="font-family: Calibri;">ID</span></strong>,?????????<strong><span style="font-family: Calibri;">ExcelServiceTest</span></strong>,???????</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2664.??Secure%20Store%20Service???Excel%20Service%202010_18.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2664._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_18.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2664.??Secure%20Store%20Service???Excel%20Service%202010_18.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2664._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_18.png" alt="" border="0" /></a></span></p>
<p>&nbsp;<span style="font-family: Calibri; font-size: small;">2.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">???????</span></p>
<p><span style="font-family: Calibri; font-size: small;">a.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong><span style="font-family: Calibri;">Excel Service</span></strong><strong>????</strong><span style="font-family: Calibri;">-&gt;</span><strong>???????</strong>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">b.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong>?????????</strong>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">c.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<span style="font-family: Calibri;">Excel</span>????????????,???????????<strong>????????</strong>??<strong>??????</strong>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">d.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">???????</span></p>
<p><span style="font-family: Calibri; font-size: small;">3.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">????????</span></p>
<p><span style="font-family: Calibri; font-size: small;">a.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong><span style="font-family: Calibri;">Excel Service</span></strong><strong>????</strong><span style="font-family: Calibri;">-&gt;</span><strong>????????</strong>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">b.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong>???????????</strong>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">c.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">???????????,???<strong>??</strong>?</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2475.??Secure%20Store%20Service???Excel%20Service%202010_19.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2475._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_19.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2475.??Secure%20Store%20Service???Excel%20Service%202010_19.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2475._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_19.png" alt="" border="0" /></a></span></p>
<p>&nbsp;<span style="font-family: Calibri; font-size: small;">4.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">?<span style="font-family: Calibri;">Excel</span>?????<span style="font-family: Calibri;">SharePoint</span>???</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-family: Calibri; font-size: small;">a.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">?????????????????????????</span></p>
<p><span style="font-family: Calibri; font-size: small;">b.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<span style="font-family: Calibri;">Excel</span>,??????????????</span></p>
<p><span style="font-family: Calibri; font-size: small;">c.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">?????????????????,?????</span></p>
<p><span style="font-family: Calibri; font-size: small;">d.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">????????????,???????????</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6076.??Secure%20Store%20Service???Excel%20Service%202010_20.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6076._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_20.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6076.??Secure%20Store%20Service???Excel%20Service%202010_20.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6076._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_20.png" alt="" border="0" /></a></span></p>
<p><span style="font-family: Calibri; font-size: small;">e.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">?<strong>???????????</strong>?????,??<strong>??????</strong>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">f.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong><span style="font-family: Calibri;">SSS</span></strong>,??<strong><span style="font-family: Calibri;">SSS ID</span></strong>,??????<strong><span style="font-family: Calibri;">ExcelServiceTest</span></strong>,???<strong>??</strong>?</span></p>
<p><span style="font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/1007.??Secure%20Store%20Service???Excel%20Service%202010_21.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/1007._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_21.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/1007.??Secure%20Store%20Service???Excel%20Service%202010_21.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/1007._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_21.png" alt="" border="0" /></a></span></p>
<p><span style="font-family: Calibri; font-size: small;">g.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong>??</strong>?</span></p>
<p><span style="font-family: Calibri; font-size: small;">h.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">????????,???<span style="font-family: Calibri;">SharePoint</span>???????(??<strong>?????</strong>??????)?</span>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4466.??Secure%20Store%20Service???Excel%20Service%202010_22.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4466._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_22.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4466.??Secure%20Store%20Service???Excel%20Service%202010_22.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4466._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_22.png" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">i.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-size: small;">??<strong>??</strong>?</span></p>
<p><span style="font-size: small;">&nbsp;</span></p>
<h2><span style="font-size: medium;"><span style="color: #4f81bd;">????!</span></span></h2>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;">??????????<strong><span style="font-family: Calibri;">report viewers group</span></strong>????,?????????????????<span style="font-family: Calibri;">report viewers group</span>????????????<span style="font-family: Calibri;">Excel</span>???,?????:</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4024.??Secure%20Store%20Service???Excel%20Service%202010_23.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4024._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_23.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4024.??Secure%20Store%20Service???Excel%20Service%202010_23.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4024._4D916E7F_Secure-Store-Service_E54EBF8BEE95_Excel-Service-2010_5F00_23.png" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<h2><span style="font-size: medium;"><span style="color: #4f81bd;">????</span></span></h2>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Excel Services </span>??<span style="font-family: Calibri;"> (SharePoint Server 2010)</span></span></p>
<p><a href="https://technet.microsoft.com/zh-cn/library/ee424405.aspx"><span style="color: #0000ff; font-family: Calibri; font-size: small;">https://technet.microsoft.com/zh-cn/library/ee424405.aspx</span></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Excel Services </span>??????</span></p>
<p><a href="https://technet.microsoft.com/zh-cn/library/ff604006.aspx"><span style="color: #0000ff; font-family: Calibri; font-size: small;">https://technet.microsoft.com/zh-cn/library/ff604006.aspx</span></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;">??<span style="font-family: Calibri;"> Excel Services </span>????????</span></p>
<p><a href="https://technet.microsoft.com/zh-cn/library/ff604007.aspx"><span style="color: #0000ff; font-family: Calibri; font-size: small;">https://technet.microsoft.com/zh-cn/library/ff604007.aspx</span></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;">??<span style="font-family: Calibri;"> Excel Services </span>????<span style="font-family: Calibri;"> (SharePoint Server 2010)</span></span></p>
<p><a href="https://technet.microsoft.com/zh-cn/library/ee662541.aspx#section4"><span style="color: #0000ff; font-family: Calibri; font-size: small;">https://technet.microsoft.com/zh-cn/library/ee662541.aspx#section4</span></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;">??<span style="font-family: Calibri;"> Project Server 2010 </span>??(??<span style="font-family: Calibri;">Excel Service 2010</span>)</span></p>
<p><a href="https://technet.microsoft.com/zh-cn/library/ee662106.aspx"><span style="color: #0000ff; font-family: Calibri; font-size: small;">https://technet.microsoft.com/zh-cn/library/ee662106.aspx</span></a></p>
<p>&nbsp;</p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>配置SharePoint Server使Office文档默认在客户端打开</title>
      <link>https://docs.microsoft.com/archive/blogs/officeasia/sharepoint-serveroffice</link>
      <pubDate>Mon, 07 May 2012 22:14:00 GMT</pubDate>
      <dc:creator><![CDATA[OfficeAsia]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/officeasia/2012/05/07/sharepoint-serveroffice/</guid>
      <description><![CDATA[??SharePoint Server?Office??????????
&nbsp;[??:????????? , &nbsp;Office/Project????, ?????????????...]]></description>
      <content:encoded><![CDATA[<h1>??SharePoint Server?Office??????????</h1>
<p>&nbsp;[??:????????? , &nbsp;Office/Project????, ????????????? ]</p>
<p>Office Web Apps????SharePoint&nbsp; Server&nbsp; 2010?????,?????????????Word?Excel?PowerPoint??????????????? ????office??????SharePoint?? ???/?? Office&nbsp; ??,????????Office??????????,?????????????????????</p>
<p>?????Office Web Apps?,??SharePoint????Office??,??????????,?????????????:?????Office Web Apps,?????????????????,???????Office???????????,??????????&nbsp;</p>
<h2>????</h2>
<p>?????????(Client Integration)????:</p>
<ol>
<li>?SharePoint?????,??&rdquo;??????&rdquo;,????&rdquo;????????&rdquo;,??????????????<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4456.??SharePoint%20Server?Office??????????_1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4456._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_1.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4456.??SharePoint%20Server?Office??????????_1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4456._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_1.png" alt="" border="0" /></a></li>
<li>??&rdquo;??????&rdquo;(Authentication Providers),??????,???&rdquo;?????????&rdquo;?????&rdquo;?&rdquo;?<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2860.??SharePoint%20Server?Office??????????_2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2860._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_2.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2860.??SharePoint%20Server?Office??????????_2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2860._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_2.png" alt="" width="486" height="151" border="0" /></a></li>
</ol>
<p>&nbsp;</p>
<p>????????????:</p>
<ol>
<li>? SharePoint ?????,??&ldquo;????&rdquo;,????&ldquo;????&rdquo;?</li>
<li>?&ldquo;????&rdquo;???&ldquo;?????&rdquo;?,??&ldquo;?????&rdquo;?</li>
<li>?&ldquo;??&rdquo;??,?&ldquo;?????,?????????????&rdquo;??,&ldquo;????&rdquo;?</li>
<li>?&ldquo;Office Web Apps&rdquo;??&ldquo;??&rdquo;(Deactivate)?</li>
</ol>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3250.??SharePoint%20Server?Office??????????_3.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3250._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_3.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3250.??SharePoint%20Server?Office??????????_3.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3250._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_3.jpg" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>?????,?????????Office?????????,????&ldquo;???????&rdquo;(View in Browser)?&rdquo;???????&rdquo;(Edit in Browser)?????,???&ldquo;?Microsoft Word???&rdquo;(Edit in Microsoft Word)?</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8422.??SharePoint%20Server?Office??????????_4.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8422._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_4.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8422.??SharePoint%20Server?Office??????????_4.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8422._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_4.jpg" alt="" width="430" height="231" border="0" /></a></p>
<h2>??&ldquo;????&rdquo;????</h2>
<p>&ldquo;????&rdquo;???????????,?????????????&ldquo;????&rdquo;??????</p>
<p>??????SharePoint?Application Server,???????:C:\Program Files\Common Files\Microsoft Shared\Web Server Extension\14\Template\XML(??????????Program Files), ???????xml??:</p>
<p>serverfilesword.xml</p>
<p>serverfilespowerpoint.xml</p>
<p>serverfileexcelserver.xml</p>
<p>???????????SharePoint??,???????Office?????,??????Office Web App???????????????????xml??,?serverfilespowerpoint.xml??(??PowerPoint???????):</p>
<p><span style="font-family: courier new,courier;">&lt;?xml version="1.0" encoding="utf-8" ?&gt;</span></p>
<p><span style="font-family: courier new,courier;">&lt;!-- Copyright (c) Microsoft Corporation. All rights reserved. --&gt;</span></p>
<p><span style="font-family: courier new,courier;">&lt;ServerFiles&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;Mapping FileExtension="pptx" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" CreateRedirectUrlTemplate= "/_layouts/CreateNewDocument.aspx?id=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;Mapping FileExtension="potx" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;Mapping FileExtension="ppsx" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;Mapping FileExtension="pptm" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;Mapping FileExtension="potm" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;Mapping FileExtension="ppsm" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;Mapping FileExtension="ppt" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;Mapping FileExtension="pot" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;Mapping FileExtension="pps" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" NoGetRedirect="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&lt;Mapping FileExtension="odp" RedirectUrlTemplate= "/_layouts/PowerPoint.aspx?PowerPointView=ReadingView&amp;PresentationId=|0" CreateRedirectUrlTemplate= "/_layouts/CreateNewDocument.aspx?id=|0" NoGetRedirect ="TRUE"/&gt;</span></p>
<p><span style="font-family: courier new,courier;">&lt;/ServerFiles&gt;</span></p>
<p>???xml????,??FileExtension??????????????????PowerPoint.aspx,??Office Web Apps????&ldquo;????&rdquo;??????,??xml?????????????????????????:</p>
<ol>
<li>???????Web Application???</li>
<li>??Office Web App??????? SharePoint application server,???????</li>
<li>????</li>
</ol>
<p>???Office????????,???????&ldquo;&lt;!-?????-&gt;&rdquo;??????&lt;ServerFiles&gt;&hellip;&lt;/ServerFiles&gt;?????, ?????xml?????????????????Office Web App ?????</p>
<h2>&ldquo;????&rdquo;?&ldquo;????&rdquo;</h2>
<p>??????????Office Web Apps,??&ldquo;????????&rdquo;(Manage Service Application)??,?Word Viewing&nbsp; Service, PowerPoint Viewing Service??????</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7043.??SharePoint%20Server?Office??????????_5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7043._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_5.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7043.??SharePoint%20Server?Office??????????_5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7043._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_5.png" alt="" width="720" height="22" border="0" /></a></p>
<p>?????,?????????????????,?????:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2656.??SharePoint%20Server?Office??????????_6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2656._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_6.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/2656.??SharePoint%20Server?Office??????????_6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/2656._4D916E7F_SharePoint-Server_7F4F_Office_87656368D89EA48B2857A25B3762EF7A5362005F5F00_6.png" alt="" width="429" height="163" border="0" /></a></p>
<h2>????</h2>
<p><strong>???????????????????(Office Web Apps)</strong></p>
<p><a href="https://technet.microsoft.com/zh-cn/library/ee837425.aspx">https://technet.microsoft.com/zh-cn/library/ee837425.aspx</a></p>
<p><strong>????????????????</strong></p>
<p><a href="https://office.microsoft.com/zh-cn/sharepoint-server-help/change-how-to-open-a-document-in-a-library-with-one-click-HA101729873.aspx">https://office.microsoft.com/zh-cn/sharepoint-server-help/change-how-to-open-a-document-in-a-library-with-one-click-HA101729873.aspx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Office 2010 KMS激活原理和案例分享</title>
      <link>https://docs.microsoft.com/archive/blogs/officeasia/office-2010-kms</link>
      <pubDate>Tue, 06 Mar 2012 23:26:00 GMT</pubDate>
      <dc:creator><![CDATA[OfficeAsia]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/officeasia/2012/03/06/office-2010-kms/</guid>
      <description><![CDATA[[??:????????? , &nbsp;Office/Project????, ????????????? ]
????????(??????????????????)????,Office...]]></description>
      <content:encoded><![CDATA[<p>[??:????????? , &nbsp;Office/Project????, ????????????? ]</p>
<p>????????(??????????????????)????,Office 2010?????????????????:KMS?MAK????????????Windows Vista/7/2008/2008 R2?????MAK???????????????,???50???????????;?KMS????????????????????,???50??????????????????????????Windows?Office????(product key)??</p>
<p>???????????????Office 2010,KMS????????????????????????,???????????????,?????????????,??????????????????Office 2010?KMS????,???????????????????,????????????????</p>
<h2><strong>????Office 2010??????</strong></h2>
<p>????:</p>
<p>1. ?????,??Office 2010????:</p>
<p><span style="font-family: courier new,courier;">C:\Program Files\Microsoft Office\Office14</span></p>
<p>(32-bit??+32-bit Office 2010,??64-bit??+64-bitOffice 2010)</p>
<p><span style="font-family: courier new,courier;">C:\Program Files (x86)\Microsoft Office\Office14</span></p>
<p>(64-bit??+32-bitOffice 2010)</p>
<p>2. ??<span style="font-family: courier new,courier;">cscript ospp.vbs /dstatus</span></p>
<p>3. ??LICENSE DESCRIPTION,????????KMS??,??????Office 2010????KMS????;???MAK??,??????Office 2010????MAK????</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/5078.Office%202010%20KMS?????????_1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/5078.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_1.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/5078.Office%202010%20KMS?????????_1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/5078.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_1.png" /></a></p>
<p>??????????MAK?KMS?????,????????????????????,?????Office 2010???????,??????<a href="https://blogs.technet.com/b/officeasia/archive/2011/01/07/how-to-use-command-line-to-change-activate-mak-product-key-for-office-2010-installation.aspx">How to use command line to change/activate MAK product key for Office 2010 installation?</a></p>
<p>&nbsp;</p>
<h2><strong>KMS???????</strong></h2>
<p>???????????KMS???????,???KMS??????????????????????</p>
<p>??KMS?????????Office 2010 KMS Host key???KMS??(?KMS Host),KMS????????????,??????Windows Server 2003(????????,??<a href="https://technet.microsoft.com/zh-cn/library/ee624357.aspx#BKMK_InstKMSWinS2K3">??</a>), Windows Server 2008 R2?Windows 7??????Windows 7???KMS??????????Windows 7 KMS????</p>
<p>?KMS?????,KMS???DNS????????(SRV)????(RR, Resource Record)???KMS?????KMS??????????????DNS (Dynamic DNS)??,KMS???(??Office 2010??? KMS?????)?????????????</p>
<p>KMS???????&ldquo;????&rdquo;????Office 2010??????????????,??????Office 2010????????KMS???,???????????????5?,??Office 2010??????????????,??????KMS???????</p>
<p>??????A~C??KMS????,??1~4??KMS???????????KMS ???????(????????)???????<a href="https://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=18154">??</a>??:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/5078.Office%202010%20KMS?????????_1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/5078.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_1.png"></a>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7360.Office%202010%20KMS?????????_2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7360.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_2.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7360.Office%202010%20KMS?????????_2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7360.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_2.png" /></a></p>
<p>A. ?KMS?????Office 2010 KMS Host key</p>
<p>B. ??Internet????????KMS??</p>
<p>C. KMS??????????DNS????????? (SRV record)</p>
<p>&nbsp;</p>
<p>1. KMS???????DNS??KMS?????,???DNS???SRV???????????KMS????????KMS??????,KMS??????????SRV????????KMS????,????????????KMS???</p>
<p>2. ????????TCP????????? (RPCs over TCP)???KMS??,?????1688(???????????)?????????KMS??????TCP????,?????????????? (CMID)???KMS?????????????????AES??????????????????7??????????????,????????2?????????????</p>
<p><b>?:</b>????KMS?????????????????,??KMS??????????DNS?KMS SRV??????KMS???</p>
<p>3. KMS?????????(CMID)???KMS?????????????????????????30??????????????,?????????CMID??????,??????????,????????30??????KMS??????30?????????,??????CMID????????????????1?</p>
<p>4. KMS??????????????</p>
<p>5. ??????????????????????(????????)???????????7???????</p>
<p>??,KMS??????????180??,?????KMS???????,???????30?????(Grace Period),?30???,????(Volume License)?Office 2010???????????????,??????(Retail)?Office 2010????Reduced Functionality Mode,??????????????,?????</p>
<h2><strong>?????(??KMS??)</strong></h2>
<p><b>????:</b></p>
<p>??????Office 2010?,????Office KMS Host,?????????</p>
<p><b>????:</b></p>
<p>1. ????<a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=97b7b710-6831-4ce5-9ff5-fdc21fe8d965&amp;displaylang=en">Office 2010 KMS Host License Pack</a></p>
<p>2. ????,??KMS???? (KMS Host key)??????,????:</p>
<p>3. ???0x80072ee7???????????,????????????????Internet??????????,???<span style="font-family: courier new,courier;">c:\windows\system32</span>,??<span style="font-family: courier new,courier;">cscript slmgr.vbs /ipk &lt;Office 2010 KMS host key&gt;</span>,????????,License Status??Unlicensed (???)?</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6886.Office%202010%20KMS?????????_4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6886.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_4.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6886.Office%202010%20KMS?????????_4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6886.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_4.png" /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6886.Office%202010%20KMS?????????_4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6886.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_4.png"></a></p>
<p>?????????,??????Network Monitor???????????????????,??????????</p>
<p>4. ??????????<span style="font-family: courier new,courier;">c:\windows\system32</span>,??<span style="font-family: courier new,courier;">cscript slmgr.vbs /dti bfe7a195-4f8f-4f0b-a622-cf13c7d16864</span>,???Office 2010??????(Installation ID)?</p>
<p>5. ??<span style="font-family: courier new,courier;">slui.exe 4</span>,?????????? ?</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7510.Office%202010%20KMS?????????_5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7510.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_5.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7510.Office%202010%20KMS?????????_5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7510.Office-2010-KMS_C06F3B6D9F5306748C5448688B4F0652AB4E5F00_5.png" /></a></p>
<p><b>?:</b>????????????Installation ID,?????????????????,???????????9? 6???(????)</p>
<p>6. ??????????,???????(Confirmation ID)?</p>
<p>7. ???????<span style="font-family: courier new,courier;">cscript slmgr.vbs /atp &lt;Confirmation ID&gt; bfe7a195-4f8f-4f0b-a622-cf13c7d16864</span></p>
<p>8. ??Office 2010 KMS Host?????,???????:<b></b></p>
<p><span style="font-family: courier new,courier;">cscript slmgr.vbs /dlv bfe7a195-4f8f-4f0b-a622-cf13c7d16864</span> (??Office 2010)</p>
<p><span style="font-family: courier new,courier;">cscript slmgr.vbs /dlv all</span> (??????KMS Host,??Windows?Office)</p>
<p>????????,?????????????(License status??Licensed):</p>
<p><span style="font-family: courier new,courier;">Name: Microsoft Office 2010, KMSHost edition</span></p>
<p><span style="font-family: courier new,courier;">Description: Microsoft Office 2010 KMS, VOLUME_KMS channel</span></p>
<p><span style="font-family: courier new,courier;">Activation ID: bfe7a195-4f8f-4f0b-a622-cf13c7d16864</span></p>
<p><span style="font-family: courier new,courier;">Application ID: 59a52881-a989-479d-af46-f275c6370663</span></p>
<p><span style="font-family: courier new,courier;">Extended PID: 55041-00096-199-000004-03-1033-7600.0000-3632009</span></p>
<p><span style="font-family: courier new,courier;">Installation ID: 008585014214769124199722184000850026888810090785321136</span></p>
<p><span style="font-family: courier new,courier;">Processor Certificate URL: https://go.microsoft.com/fwlink/p/?LinkID=88342</span></p>
<p><span style="font-family: courier new,courier;">Machine Certificate URL: https://go.microsoft.com/fwlink/p/?LinkID=88343</span></p>
<p><span style="font-family: courier new,courier;">Use License URL: https://go.microsoft.com/fwlink/p/?LinkID=88345</span></p>
<p><span style="font-family: courier new,courier;">Product Key Certificate URL: https://go.microsoft.com/fwlink/p/?LinkID=88344</span></p>
<p><span style="font-family: courier new,courier;">Partial Product Key: RP3HH</span></p>
<p><span style="font-family: courier new,courier;">License Status: Licensed</span></p>
<p><span style="font-family: courier new,courier;">Remaining Windows rearm count: 1</span></p>
<p><span style="font-family: courier new,courier;">Trusted time: 12/29/2009 1:45:54 PM</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;</span></p>
<p><span style="font-family: courier new,courier;">Key Management Service is enabled on this computer</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Current count: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Listening on Port: 1688</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; DNS publishing enabled</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; KMS priority: Normal</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;</span></p>
<p><span style="font-family: courier new,courier;">Key Management Service cumulative requests received from clients</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Total requests received: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Failed requests received: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Requests with License Status Unlicensed: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Requests with License Status Licensed: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Requests with License Status Initial grace period: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Requests with License Status License expired or Hardware out of tolerance: 0</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;</span></p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; Requests with License Status Non-genuine grace period: 0</span></p>
<p><span style="font-family: courier new,courier;">Requests with License Status Notification: 0</span></p>
<p>9.??????????5?????????Office 2010,??????????????????????KMS??,??????Current count(????)?????,??5?????Office 2010????????</p>
<p>&nbsp;</p>
<h2><strong>?????(?????????????KMS??)</strong></h2>
<p><b>????:</b></p>
<p>??????????????????,???????????????Office KMS???</p>
<p><b>????:</b></p>
<p>?????????????????????KMS???,????????IP??????????,??DNS???,????IP??????????????????????,???????ping?KMS???,???????????:</p>
<p>1. ?????,???Office????</p>
<p><span style="font-family: courier new,courier;">C:\Program Files\Microsoft Office\Office14</span></p>
<p>(32-bit??+32-bit Office 2010,??64-bit??+64-bitOffice 2010)</p>
<p><span style="font-family: courier new,courier;">C:\Program Files (x86)\Microsoft Office\Office14</span></p>
<p>(64-bit??+32-bitOffice 2010)</p>
<p>2. ??KMS???:</p>
<p><span style="font-family: courier new,courier;">cscript ospp.vbs /sethst: &lt;KMS????IP??&gt;</span></p>
<p>3. ??Office 2010:</p>
<p><span style="font-family: courier new,courier;">cscript ospp.vbs /act</span>&nbsp;</p>
<p>&nbsp;</p>
<h2><strong>????</strong></h2>
<p>????Office 2010 KMS????(??):<b></b></p>
<p><a href="https://blogs.technet.com/b/odsupport/archive/2010/06/01/office-2010-kms-installation-and-troubleshooting.aspx"><b>Office 2010 KMS installation and troubleshooting</b></a><b></b></p>
<p>????????Office 2010 KMS??:</p>
<p><a href="https://blogs.technet.com/b/odsupport/archive/2010/07/29/activate-office-2010-kms-host-via-phone-activation.aspx"><b>Activate Office 2010 KMS host via phone activation</b></a><b> </b></p>
<p>??Office 2010 KMS/MAK???????????:</p>
<p><a href="https://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=18154"><b>Volume Activation of Microsoft Office 2010</b></a><b> </b></p>
<p>??Office 2010?????????:<b></b></p>
<p><a href="https://support.microsoft.com/kb/313683/en-us"><b>Plan volume activation of Office 2010</b></a><b> </b></p>
<p>KMS????????:</p>
<p><a href="https://technet.microsoft.com/en-us/library/ff793419.aspx"><b>KMS Activation</b></a><b></b></p>
<p>????Office 2010?????????:<b></b></p>
<p><a href="https://technet.microsoft.com/en-us/library/ee624357.aspx"><b>Deploy volume activation of Office 2010</b></a></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>DO NOT install the Office Web Apps in the DC, Office Web Apps would not work and Word Automation Service would crash</title>
      <link>https://docs.microsoft.com/archive/blogs/officeasia/do-not-install-the-office-web-apps-in-the-dc-office-web-apps-would-not-work-and-word-automation-service-would-crash</link>
      <pubDate>Fri, 20 Jan 2012 22:32:48 GMT</pubDate>
      <dc:creator><![CDATA[OfficeAsia]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/officeasia/2012/01/20/do-not-install-the-office-web-apps-in-the-dc-office-web-apps-would-not-work-and-word-automation-service-would-crash/</guid>
      <description><![CDATA[[??: ?????? , Office/Project????, ?????????????]
[Author: Keith Lin, Office/Project Support Team,...]]></description>
      <content:encoded><![CDATA[<p>[??: ?????? , Office/Project????, ?????????????]</p>
<p>[Author: Keith Lin, Office/Project Support Team, Microsoft Asia Pacific Global Support Center]</p>
<p>This would happened after you install SharePoint 2010 SP1.</p>
<p>&nbsp;</p>
<p><b>Symptom</b></p>
<p>======================</p>
<ol>
<li>Word Automation Service never generate the destination file (maybe pdf, may be xps or other if the convertor support)</li>
<li>When the Word Automation Service Timer Jobs runs, WordServerWorker.exe would keep crashing in the task manager.</li>
<li>CPU might keep high consuming (but I did not verify, I only see this in the customer environment, I have few resource to research why).</li>
</ol>
<p>&nbsp;</p>
<p>You would see the below symptom in the ULS log and this will keep generating:</p>
<p>&nbsp;</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="1242">
<p>01/13/2012 16:06:12.18&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x151C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; f2yg&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Medium&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CreateSandBoxedProcessWorker() is called&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>01/13/2012 16:06:12.18&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x151C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bl3q&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Verbose&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddILToken():&nbsp; fIntegritySet:1, dilDesiredIntegrity:2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>01/13/2012 16:06:12.18&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x151C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c12c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Verbose&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddILAce(): fIntegritySet:1, dilDesiredIntegrity:2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>01/13/2012 16:06:12.20&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x151C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b10e&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Medium&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Created desktop: Service-0x0-98ddc741$\Microsoft Office Isolated Environment&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>01/13/2012 16:06:12.20&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x151C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c12c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Verbose&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddILAce(): fIntegritySet:1, dilDesiredIntegrity:2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>01/13/2012 16:06:12.20&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x151C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2brt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Medium&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AppWorker:94581f17-cc42-4dc8-8816-222ca926057a worker process is started Exe: WordServerWorker.exe Args: /id 94581f17-cc42-4dc8-8816-222ca926057a /convertingService net.pipe://127.0.0.1/WordServer7237b2b7-ef89-4fcd-9ef0-4cff03f29287 /assembly WdsrvWorker.dll /type WACWS /IsBatchedTracing True /LogQuota 100 WorkerType: WorkerType1 Directory: c:\windows\system32\inetsrv, pid : 6432, IsSandBoxed: True, UniqueSandBoxSid: S-1-5-26473-19571-45394-2039</p>
<p>01/13/2012 16:06:12.20&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x151C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vioz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Medium&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RemoveWorker isRemoved: True session id : uuid:98279299-9ed6-4f72-8c36-12498adf2d0e;id=2038, Guid: 712a4087-1169-4d3e-b282-e194e094b3e8</p>
<p>01/13/2012 16:06:12.20&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x2F90&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4sig&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Medium&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ChildProcess WordServerWorker.exe is launched inside worker 94581f17-cc42-4dc8-8816-222ca926057a. Pid 6432&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>01/13/2012 16:06:12.20&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x2F90&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; d9hn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Medium&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NotifyNewChildProcessInWorker has seen WordServerWorker.exe in worker 94581f17-cc42-4dc8-8816-222ca926057a&nbsp;&nbsp;&nbsp;</p>
<p>01/13/2012 16:06:12.68&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x36A4 Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; viou&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Medium&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... registering worker 94581f17-cc42-4dc8-8816-222ca926057a&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>01/13/2012 16:06:12.73&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x36A4 Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; viox&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Medium&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Worker 94581f17-cc42-4dc8-8816-222ca926057a is now initialized.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>01/13/2012 16:06:12.87&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x36A4 Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vipx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Monitorable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="background-color: #ffff00;">AppWorker:94581f17-cc42-4dc8-8816-222ca926057a application server host exited unexpectedly&nbsp; (thread: 682)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>&nbsp;</p>
<p>01/13/2012 16:06:12.87&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x36A4 Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c78j&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unexpected&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="background-color: #ffff00;">AppWorker:94581f17-cc42-4dc8-8816-222ca926057a ProcessRequestDone() received error response WorkerCrashed, restarting the worker&nbsp;&nbsp;</span></p>
<p>01/13/2012 16:06:12.87&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x36A4 Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; d1z7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Verbose&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; StopProcess() guid=94581f17-cc42-4dc8-8816-222ca926057a, thread=682&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>01/13/2012 16:06:12.88&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x36A4 Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xpre&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Medium&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Removing worker 94581f17-cc42-4dc8-8816-222ca926057a, thread: 682&nbsp;</p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>And the AppWorker would crash every second:</p>
<p>&nbsp;</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="1242">
<p>01/13/2012 16:05:55.45&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x266C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c78j&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unexpected&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AppWorker:732b937f-33e2-4815-bb30-4435d4607bf8 ProcessRequestDone() received error response <span style="background-color: #ffff00;">WorkerCrashed</span>, restarting the worker&nbsp;&nbsp;</p>
<p>01/13/2012 16:05:56.15&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x151C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c78j&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unexpected&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AppWorker:a88c1161-e36e-42c8-b3ed-082c1dc1aab5 ProcessRequestDone() received error response <span style="background-color: #ffff00;">WorkerCrashed</span>, restarting the worker&nbsp;&nbsp;</p>
<p>01/13/2012 16:05:56.92&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x266C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c78j&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unexpected&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AppWorker:4d374cd6-9316-4261-84ff-40c4cf8101c5 ProcessRequestDone() received error response <span style="background-color: #ffff00;">WorkerCrashed</span>, restarting the worker&nbsp;&nbsp;</p>
<p>01/13/2012 16:05:57.63&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x151C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c78j&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unexpected&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AppWorker:2cbca247-f527-4d5a-8d4e-e388400f8031 ProcessRequestDone() received error response WorkerCrashed, restarting the worker&nbsp;&nbsp;</p>
<p>01/13/2012 16:05:58.40&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x266C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c78j&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unexpected&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AppWorker:5bc6e6ef-59ca-4398-bcbd-4460cba9ab1d ProcessRequestDone() received error response WorkerCrashed, restarting the worker&nbsp;&nbsp;</p>
<p>01/13/2012 16:05:59.13&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x151C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c78j&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unexpected&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AppWorker:659b2c18-3d98-4b72-96f3-12aea0c81231 ProcessRequestDone() received error response WorkerCrashed, restarting the worker&nbsp;&nbsp;</p>
<p>01/13/2012 16:05:59.82&nbsp; w3wp.exe (0x2CA4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x266C&nbsp; Word Automation Services&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office Viewing Architecture&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c78j&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unexpected&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AppWorker:9f0e400d-e5a0-4ce8-a3ee-65246b74114d ProcessRequestDone() received error response WorkerCrashed, restarting the worker&nbsp;&nbsp;</p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><b>Reference</b></p>
<p>=======================</p>
<p>Here is the Office Web Apps deployment guide, and it emphasize that DO NOT install with DC.</p>
<p><a href="https://technet.microsoft.com/en-us/library/ff431687.aspx">https://technet.microsoft.com/en-us/library/ff431687.aspx</a></p>
<p>&nbsp;</p>
<p>Here is another article, possible workaround when the Office Web apps is installed on the DC (I test this and it only works for Office Web App, the Word automation service symptom is still not resolving. We DON&rsquo;T suggest customer to do this. If customer really insist, we could provide but make statement very clearly, take own risks).</p>
<p><a href="https://gallery.technet.microsoft.com/scriptcenter/44ac3193-e7cc-4428-ae14-98177b5feab2">https://gallery.technet.microsoft.com/scriptcenter/44ac3193-e7cc-4428-ae14-98177b5feab2</a></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Office2003的VSTO插件无法加载，但是在调试时正常</title>
      <link>https://docs.microsoft.com/archive/blogs/officeasia/office2003vsto</link>
      <pubDate>Wed, 14 Dec 2011 00:36:00 GMT</pubDate>
      <dc:creator><![CDATA[OfficeAsia]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/officeasia/2011/12/14/office2003vsto/</guid>
      <description><![CDATA[[??:??????, Office/Project????, ?????????????]
[English version:...]]></description>
      <content:encoded><![CDATA[<p><strong>[??:??????, Office/Project????, ?????????????]</strong></p>
<p><strong>[English version: <a href="https://blogs.technet.com/b/officeasia/archive/2013/01/04/office-2003-vsto-add-in-can-run-in-debug-mode-but-cannot-load-after-installation.aspx">https://blogs.technet.com/b/officeasia/archive/2013/01/04/office-2003-vsto-add-in-can-run-in-debug-mode-but-cannot-load-after-installation.aspx]</a></strong></p>
<p>?????VSTO??????Office??????????</p>
<p><span style="text-decoration: underline;"><strong></strong></span></p>
<p><span style="text-decoration: underline;"><strong>????:</strong><strong></strong></span></p>
<p>??Visual Studio 2008???Office 2003??(????add-in??),??????(?F5)??????????,????????????????????,????????,??????????/???????</p>
<p><span style="text-decoration: underline;"><strong>????</strong><strong>:</strong></span></p>
<p>???????????,?????<a href="https://msdn.microsoft.com/en-us/library/ms269003(v=VS.90).aspx" target="_blank">https://msdn.microsoft.com/en-us/library/ms269003(v=VS.90).aspx</a> ?????? VSTO_SUPPRESSDISPLAYALERTS=0 ? VSTO_LOGALERTS=1,????????????????(???????)????????????????</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>?????????Office2003?VSTO????????????(<a href="https://msdn.microsoft.com/en-us/library/bb332051(office.12).aspx">https://msdn.microsoft.com/en-us/library/bb332051(office.12).aspx</a>):</p>
<p>&nbsp;</p>
<p><strong>Table 1. Summary of bootstrapper packages that accompany the article</strong></p>
<p>&nbsp;</p>
<table style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">
<p><strong>Bootstrapper package</strong></p>
</td>
<td valign="top">
<p><strong>Dependent packages</strong></p>
</td>
<td valign="top">
<p><strong>Other conditions</strong></p>
</td>
</tr>
<tr>
<td valign="top">
<p>VSTO 2005 SE runtime</p>
</td>
<td valign="top">
<p>The .NET Framework 2.0</p>
</td>
<td valign="top">&nbsp;</td>
</tr>
<tr>
<td valign="top">
<p>Visual Studio Tools for Office Language Pack</p>
</td>
<td valign="top">
<p>VSTO 2005 SE runtime</p>
</td>
<td valign="top">&nbsp;</td>
</tr>
<tr>
<td valign="top">
<p>Primary interop assemblies redistributable package for the 2003 release of Office</p>
</td>
<td valign="top">
<p>.NET Framework 2.0</p>
</td>
<td valign="top">
<p>Installs all primary interop assemblies if Office 2003 is installed.</p>
</td>
</tr>
<tr>
<td valign="top">
<p>Primary interop assemblies redistributable package for the 2007 release of Office</p>
</td>
<td valign="top">
<p>.NET Framework 2.0</p>
</td>
<td valign="top">
<p>Installs all primary interop assemblies if the 2007 release of Office is installed.</p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>????Visual Studio 2005??Office 2003???,????????????<strong>????</strong>??????????????????Visual Studio 2008??????Office 2007?????????,??Visual Studio Tools for Office system 3.0 Runtime?Primary Interop Asseblies 2007?,???Office 2003?????????,??????????????</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>????????Visual Studio 2008??Office 2003????:</p>
<p>1. ??<strong>Microsoft Visual Studio 2005 Tools for Office SE Resources</strong> <a href="https://www.microsoft.com/downloads/details.aspx?familyid=6991E869-8D5B-45F4-91E7-B527BD236F4C&amp;displaylang=en">Visual Studio 2005 Tools for Office Second Edition Sample: Deploying Office Solutions Using Windows Installer Version 3</a></p>
<p>2. ??&ldquo;<strong>C:\Program Files\Microsoft Visual Studio 2005 Tools for Office SE Resources\VSTO2005SE Windows Installer Sample Version 3\packages</strong>&rdquo;,??<strong>VSTOSERuntime</strong>?<strong>Office2003PIA</strong>????&rdquo;<strong>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages</strong>&rdquo;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6305.2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6305.2.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6305.2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6305.2.png" alt="" border="0" /></a></p>
<p>3. ??<strong>Download VSTO 2005 SE Runtime</strong> <a href="https://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=2392">https://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=2392</a>,??? &ldquo;<strong>C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\VSTOSERuntime</strong>&rdquo;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4544.3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4544.3.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4544.3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4544.3.png" alt="" border="0" /></a></p>
<p>4.??Visual Studio 2008???,??&ldquo;<strong>C:\Program Files\Microsoft Visual Studio 2005 Tools for Office SE Resources\VSTO2005SE Windows Installer Sample Version 3\Projects\Checks&rdquo;</strong></p>
<p><strong></strong>5. ??????:</p>
<p>cl.exe /Oxs /MT /GS ComponentCheck.cpp advapi32.lib</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7558.4.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7558.4.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/7558.4.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/7558.4.jpg" alt="" border="0" /></a></p>
<p>6.?????, ???<strong>ComponentCheck.exe</strong>?<strong>ComponentCheck.obj</strong></p>
<p><strong><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/0407.5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/0407.5.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/0407.5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/0407.5.png" alt="" border="0" /></a></strong></p>
<p>7. ?ComponentCheck.exe???&ldquo;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\VSTOSERuntime&rdquo;?C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\Office2003PIA&rdquo;</p>
<p>8.????setup??,?Prerequisites?????:</p>
<p>&nbsp;</p>
<ul>
<li>.NET Framework 2.0</li>
<li>Windows Installer 3.1</li>
<li>Microsoft Office 2003 Primary Interop Assemblies</li>
<li>Microsoft Visual Studio 2005 Tools for Office Second Edition runtime</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6371.6.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6371.6.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/6371.6.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/6371.6.png" alt="" border="0" /></a></p>
<p>9. ??<a href="https://msdn.microsoft.com/en-us/library/bb332052(v=office.12).aspx#officevstowindowsinstallerwalkthrough_creatinginstallerpackagestodeploysolutions">https://msdn.microsoft.com/en-us/library/bb332052(v=office.12).aspx#officevstowindowsinstallerwalkthrough_creatinginstallerpackagestodeploysolutions</a> ,?<strong>Adding a Custom Action to Grant Trust to the Assembly</strong>???????,??<strong>To add a launch condition for the VSTO 2005 SE runtime</strong></p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; 1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?????,???????????,???.NET Framework 2.0??CASPOL.EXE??????????????,???????????????????<strong>&rdquo;C:\Program Files\Microsoft Visual Studio 2005 Tools for Office SE Resources\VSTO2005SE Windows Installer Sample Version 3\projects\SetSecurity</strong>&rdquo;??</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/5773.1.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/5773.1.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/5773.1.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/5773.1.PNG" alt="" border="0" /></a></p>
<p>??SetSecurity????<strong>CaspolSecurityPolicyCreator.cs</strong>:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/0358.2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/0358.2.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/0358.2.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/0358.2.jpg" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>????????(??????),????????????(???????????):</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Add the solution code group. Grant no permission at this level.</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;string arguments = policyLevel + " -q -ag " + parentCodeGroup + " -url \"" + solutionInstallationUrl + "\" <span style="background-color: #ffff00;">FullTrust</span> -n \"" + solutionCodeGroupName + "\" -d \"" + solutionCodeGroupDescription + "\"";</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RunCaspolCommand(frameworkFolder, arguments);</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch (Exception ex)</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string error = String.Format("Cannot create the security code group '{0}'.", solutionCodeGroupName);</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; throw new Exception(error, ex);</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //// Add the assembly code group. Grant FullTrust permissions to the main assembly.</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //try</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //{</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; // Use the assembly strong name as the membership condition.</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; // Ensure that the assembly is strong-named to give it full trust.</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; AssemblyName assemblyName = Assembly.LoadFile(assemblyPath).GetName();</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; arguments = policyLevel + " -q -ag \"" + solutionCodeGroupName + "\" -strong -file \"" + assemblyPath + "\" \"" + assemblyName.Name + "\" \"" + assemblyName.Version.ToString(4) + "\" FullTrust -n \"" + assemblyCodeGroupName + "\" -d \"" + assemblyCodeGroupDescription + "\"";</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; RunCaspolCommand(frameworkFolder, arguments);</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //}</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //catch (Exception ex)</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //{</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; try</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; {</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Clean the solutionCodeGroupName.</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RemoveSecurityPolicy(machinePolicyLevel, solutionCodeGroupName);</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; }</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; catch { }</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; string error = String.Format("Cannot create the security code group '{0}'.", assemblyCodeGroupName);</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; throw new Exception(error, ex);</span></p>
<p>&nbsp;</p>
<p><span style="background-color: #ffff00;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //}</span></p>
<p><strong></strong>Custom Action???Primary output from SetSecurity</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3162.3.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3162.3.jpg"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/3162.3.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/3162.3.jpg" alt="" border="0" /></a></p>
<p>&nbsp;&nbsp;&nbsp; 3)&nbsp;Install???CustomActionData????:</p>
<p>/assemblyName="&lt;add-in name&gt;.dll" /targetDir="[TARGETDIR]\" /solutionCodeGroupName="&lt;corp name&gt;.&lt;add-in name&gt;.dll" /solutionCodeGroupDescription="Code group for &lt;add-in name&gt;" /assemblyCodeGroupName="&lt;add-in name&gt;" /assemblyCodeGroupDescription="Code group for &lt;add-in name&gt;" /allUsers=[ALLUSERS]</p>
<p>&nbsp;&nbsp; 4) Uninstall?Rollback???CustomActionData????:</p>
<p>/solutionCodeGroupName="&lt;corp name&gt;.&lt;add-in name&gt;.dll"</p>
<p>&nbsp;&nbsp;&nbsp; 5) ??Launch Conditions</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8880.3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8880.3.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8880.3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8880.3.png" alt="" border="0" /></a></p>
<p>10. ?????????<strong>????</strong>??,?????????????????????Office 2003?2007?????</p>
<p><span style="text-decoration: underline;"><strong>????</strong><strong>:</strong></span></p>
<p>??????????(Visual Studio 2008 + Office 2003??????????)?Visual Studio 2008 + Office 2007?????,????????????,???????Office 2003?VSTO runtime?PIA????????Office 2007????????<strong>????</strong>????????,?????????</p>
<p>??????????Office 2007?????????Manifest?????[TARGETDIR]&lt;add-in name&gt;.vsto|vstolocal,?Office 2003???Manifest?????[TARGETDIR]&lt;add-in name&gt;.dll.manifest???????????:</p>
<p>1. ????Office 2007?????,????????????</p>
<p>2. ?????????????&lt;add-in name&gt;.dll.manifest?&lt;add-in name&gt;.vsto,??????????-&gt;Add-&gt;File,????????</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4456.4.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4456.4.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/4456.4.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/4456.4.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>?????????-&gt;View-&gt;Registry,??Manifest,???[TARGETDIR]&lt;add-in name&gt;.dll.manifest,???[TARGETDIR]&lt;add-in name&gt;.vsto|vstolocal</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8103.5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8103.5.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/86/20/8103.5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-86-20/8103.5.png" alt="" border="0" /></a></p>
<p><strong></strong>&nbsp;</p>
<p>&nbsp;</p>
<p>???????,?Office 2007??????????????????Office 2003????</p>
<p>&nbsp;</p>
<p>???????:</p>
<p>&nbsp;</p>
<p><a href="https://social.msdn.microsoft.com/Forums/en-US/vsto/thread/75dbff40-181b-434f-87fe-7fa7e21a5828">https://social.msdn.microsoft.com/Forums/en-US/vsto/thread/75dbff40-181b-434f-87fe-7fa7e21a5828</a></p>
<p><span style="text-decoration: underline;"><strong>????</strong><strong>:</strong></span></p>
<p><strong>Deploying Visual Studio 2005 Tools for the Office System SE Solutions Using Windows Installer (Part 1 of 2)</strong></p>
<p><a href="https://msdn.microsoft.com/en-us/library/bb332051(office.12).aspx">https://msdn.microsoft.com/en-us/library/bb332051(office.12).aspx</a></p>
<p>&nbsp;</p>
<p><strong>Deploying Visual Studio 2005 Tools for the Office System SE Solutions Using Windows Installer: Walkthroughs (Part 2 of 2)</strong></p>
<p><a href="https://msdn.microsoft.com/en-us/library/bb332052(v=office.12).aspx">https://msdn.microsoft.com/en-us/library/bb332052(v=office.12).aspx</a></p>
<p>&nbsp;</p>
<p><strong>Troubleshooting COM Add-In load failures</strong></p>
<p><a href="https://blogs.msdn.com/b/vsod/archive/2008/04/22/troubleshooting-com-add-in-load-failures.aspx">https://blogs.msdn.com/b/vsod/archive/2008/04/22/troubleshooting-com-add-in-load-failures.aspx</a></p>
<p>&nbsp;</p>
<p>VSOD (CSS) team blog:</p>
<p><strong><a href="https://blogs.msdn.com/b/vsod/">Visual Studio Office Development (VSOD) Support Team</a></strong></p>
<p><a href="https://blogs.msdn.com/b/vsod/">https://blogs.msdn.com/b/vsod/</a></p>
<p>&nbsp;</p>
<p>VSTO (Product team) team blog:</p>
<p><strong><a href="https://blogs.msdn.com/b/vsto/">Office Development with Visual Studio</a></strong></p>
<p><a href="https://blogs.msdn.com/b/vsto/">https://blogs.msdn.com/b/vsto/</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Office 2007 Service Pack 3 is now published (Office 2007 SP3 正式发布)</title>
      <link>https://docs.microsoft.com/archive/blogs/officeasia/office-2007-service-pack-3-is-now-published-office-2007-sp3</link>
      <pubDate>Mon, 31 Oct 2011 02:14:50 GMT</pubDate>
      <dc:creator><![CDATA[OfficeAsia]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/officeasia/2011/10/31/office-2007-service-pack-3-is-now-published-office-2007-sp3/</guid>
      <description><![CDATA[Service Pack 3 has RTW&rsquo;d for Office 2007 and SharePoint 2007. Service Pack 3 contains a...]]></description>
      <content:encoded><![CDATA[<p>Service Pack 3 has RTW&rsquo;d for Office 2007 and SharePoint 2007. Service Pack 3 contains a roll-up of all 2007 Cumulative and Public Updates since Service Pack 2 for both Office client suites and applications as well as SharePoint Servers, in addition to some new fixes for issues discovered during the lifecycle of SP2.</p>
<ul>
<li><a href="https://blogs.technet.com/b/office_sustained_engineering/archive/2011/10/06/announcing-service-pack-3-for-office-2007-and-sharepoint-server-2007.aspx">Announcing Service Pack 3 for Office 2007 and SharePoint 2007</a></li>
<li><a href="https://support.microsoft.com/kb/2526086">Description of the 2007 Office suite SP3 and of Office Language Pack 2007 SP3</a></li>
<li><a href="https://support.microsoft.com/kb/2591039">Technical details about the 2007 Office system SP3 releases</a></li>
<li><a href="https://support.microsoft.com/kb/2591054">Technical details about the Windows SharePoint Services 3.0 SP3 releases</a></li>
<li><a href="https://support.microsoft.com/kb/2591050">Technical details about the 2007 Office Servers SP3 releases</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Office 2010 and Office 2007 Feb CU has been released (Office 2010 和 Office 2007 二月份补丁胜利发布!)</title>
      <link>https://docs.microsoft.com/archive/blogs/officeasia/office-2010-and-office-2007-feb-cu-has-been-released-office-2010-office-2007</link>
      <pubDate>Wed, 23 Feb 2011 21:07:56 GMT</pubDate>
      <dc:creator><![CDATA[OfficeAsia]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/officeasia/2011/02/23/office-2010-and-office-2007-feb-cu-has-been-released-office-2010-office-2007/</guid>
      <description><![CDATA[2493730&nbsp;Office 2010 Cumulative Update for February...]]></description>
      <content:encoded><![CDATA[<p>2493730&nbsp;Office 2010 Cumulative Update for February 2011<br /><a href="https://support.microsoft.com/default.aspx?scid=kb;en-US;2493730">https://support.microsoft.com/default.aspx?scid=kb;en-US;2493730</a></p>
<p>2493732&nbsp;Office 2007 Cumulative Update for February 2011<br /><a href="https://support.microsoft.com/default.aspx?scid=kb;en-US;2493732">https://support.microsoft.com/default.aspx?scid=kb;en-US;2493732</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>