<?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>Rexiology@MSDN</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/rextang/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/rextang/feed.xml</link>
    <description>Nothing but Microsoft Technologies...</description>
    <lastBuildDate>Sun, 05 Apr 2015 00:59:34 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>ALM Rangers Guidances localized to Japanese (TFS 2010 Branching Guide and Quick Ref Guide)</title>
      <link>https://docs.microsoft.com/archive/blogs/rextang/alm-rangers-guidances-localized-to-japanese-tfs-2010-branching-guide-and-quick-ref-guide</link>
      <pubDate>Wed, 27 Jun 2012 13:26:43 GMT</pubDate>
      <dc:creator><![CDATA[Rex Tang [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rextang/2012/06/27/alm-rangers-guidances-localized-to-japanese-tfs-2010-branching-guide-and-quick-ref-guide/</guid>
      <description><![CDATA[Just coordinated some regional community efforts to localize the following ALM Rangers Guidances...]]></description>
      <content:encoded><![CDATA[<p>Just coordinated some regional community efforts to localize the following ALM Rangers Guidances into Japanese. feel free to use them!</p>  <p>MSDN VisualStudio ALM + TFS blog:</p>  <ul>   <li><a href="https://blogs.msdn.com/b/visualstudioalm/archive/2012/06/27/visual-studio-2010-branching-guide-localized-for-japan.aspx">Visual Studio 2010 Branching Guide – Localized for Japan</a></li>    <li><a href="https://blogs.msdn.com/b/visualstudioalm/archive/2012/06/27/visual-studio-2010-quick-reference-guide-localised-for-japan.aspx">Visual Studio 2010 Quick Reference Guide – Localised for Japan</a></li> </ul>  <p>Codeplex Download:</p>  <ul>   <li><a href="https://vsarbranchingguide.codeplex.com/releases/view/90253">Visual Studio 2010 Branching Guide – Localized for Japan</a></li>    <li><a href="https://vsarquickguide.codeplex.com/releases/view/90257">Visual Studio 2010 Quick Reference Guide – Localised for Japan</a></li> </ul>  <p>ALM Rangers blog:</p>  <ul>   <li><a href="https://blogs.msdn.com/b/willy-peter_schaub/archive/2012/06/27/rex-tang-drives-alm-ranger-guidance-localization-in-japan.aspx">Rex Tang drives ALM Ranger guidance localization in Japan!</a></li> </ul>]]></content:encoded>
    </item>
    <item>
      <title>Tips of Using Windows 7 – Image Preview Pane and Folder Options</title>
      <link>https://docs.microsoft.com/archive/blogs/rextang/tips-of-using-windows-7-image-preview-pane-and-folder-options</link>
      <pubDate>Thu, 27 Aug 2009 03:38:27 GMT</pubDate>
      <dc:creator><![CDATA[Rex Tang [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rextang/2009/08/27/tips-of-using-windows-7-image-preview-pane-and-folder-options/</guid>
      <description><![CDATA[Here I provide 2 small Windows 7 tips that bothered me days and decided to solve it. well, actually...]]></description>
      <content:encoded><![CDATA[<p>Here I provide 2 small Windows 7 tips that bothered me days and decided to solve it. well, actually they are just setting problems.</p>  <p>First, in Windows 7, now the default option for Windows Explorer is to not show the folder list when you open or get into a folder, which is different with that in Vista. I’ve used to have the folder list in left pane so that I can clearly know where I am, therefore I decided to put it back. it’s on the Tools –&gt; Folder Options menu.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B66%5D_2.png" original-url="https://blogs.msdn.com/blogfiles/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B66%5D_2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image_thumb[66]" border="0" alt="image_thumb[66]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B66%5D_thumb.png" original-url="https://blogs.msdn.com/blogfiles/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B66%5D_thumb.png" width="401" height="484" /></a> </p>  <p>Just check that “Show all folders” and “Automatically expand to current folder” and you got the using experience like when you were in Vista.</p>  <p>Second, which bothered me the most, is that I don’t have Image Preview in Windows Explorer. all I got are thumbnails.</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B65%5D_2.png" original-url="https://blogs.msdn.com/blogfiles/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B65%5D_2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image_thumb[65]" border="0" alt="image_thumb[65]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B65%5D_thumb.png" original-url="https://blogs.msdn.com/blogfiles/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B65%5D_thumb.png" width="504" height="242" /></a> </p>  <p>After a search, found the problem via <a href="https://www.sevenforums.com/general-discussion/20530-image-preview-explorer-not-happening-thing.html" target="_blank">this forum post</a>. Yes, I had tweaked settings in my windows explorer, and I DID CHECKED that “Always show icons, never thumbnails”!!</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B69%5D_2.png" original-url="https://blogs.msdn.com/blogfiles/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B69%5D_2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image_thumb[69]" border="0" alt="image_thumb[69]" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B69%5D_thumb.png" original-url="https://blogs.msdn.com/blogfiles/rextang/WindowsLiveWriter/TipsofUsingWindows7ImagePreviewPaneandFo_E9E8/image_thumb%5B69%5D_thumb.png" width="401" height="484" /></a>&#160;&#160; </p>  <p>Make sure you <strong>UNCHECK</strong> this option if you want preview of your image files!</p>  <p>That’s it, wish it help. :)</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:84a8244d-e818-4a37-8601-6a8acaa8f158" class="wlWriterSmartContent">Technorati Tags: <a href="https://technorati.com/tags/microsoft" rel="tag">microsoft</a>,<a href="https://technorati.com/tags/windows" rel="tag">windows</a>,<a href="https://technorati.com/tags/tips" rel="tag">tips</a>,<a href="https://technorati.com/tags/explorer" rel="tag">explorer</a></div>]]></content:encoded>
    </item>
    <item>
      <title>Convert VS2010 Projects back to VS2008 ones…</title>
      <link>https://docs.microsoft.com/archive/blogs/rextang/convert-vs2010-projects-back-to-vs2008-ones</link>
      <pubDate>Mon, 06 Jul 2009 04:42:45 GMT</pubDate>
      <dc:creator><![CDATA[Rex Tang [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rextang/2009/07/06/convert-vs2010-projects-back-to-vs2008-ones/</guid>
      <description><![CDATA[Long time no blogs. been busy on works, also mostly twittering and plurking except blogging. time to...]]></description>
      <content:encoded><![CDATA[<p>Long time no blogs. been busy on works, also mostly <a href="https://twitter.com/rextang" target="_blank">twittering</a> and <a href="https://www.plurk.com/rextang" target="_blank">plurking</a> except blogging. time to write something.</p>  <p>Before going further, be caution that <strong><font color="#ff0000">this is just personal-experience know-how writing, and use at your own risk</font></strong>. </p>  <p>Being testing <a href="https://msdn.microsoft.com/en-us/vstudio/dd582936.aspx" target="_blank">Visual Studio 2010 beta 1</a>, I am writing some projects under it, also using TFS 2010 beta 1 for source control. when you do this like me, you should experience same problems like me. that is, when you want to hand out your project to your team members, you’ll have to force your team to upgrade to VSTS 2010 beta 1, or you’ll have to manually convert all your vsts 2010 projects/solutions back to vsts2008 ones for exchangeability. when you have tens of projects that compose a solution, it will be tidy to manually create projects and reset the source relationships for vsts2008 again. </p>  <p>so here is the idea, using file-wide string-replacing to convert vsts2010 project/solution files back to vsts2008 ones. I’ve tried it on my own and proved worked. <strong><font color="#ff0000">the pre-requisites are that, you only have class library projects, console projects as well as asp.net web projects</font></strong>.</p>  <p>so, here are the necessary replacing strings you need to go through. use editors that support file-wide string-replacement (like <a href="https://notepad-plus.sourceforge.net/" target="_blank">Notepad++</a>) to do this. don’t replace those in vsts 2010 or vsts 2008 since you are mainly manipulate solution (.sln) and project (.csproj or .vbproj) files.</p>  <p>for all your project and source files, do the following (find first line and replace to second line):</p>  <blockquote>   <p>TargetFrameworkMoniker = &quot;.NETFramework,Version=v2.0&quot;     <br />TargetFramework = &quot;3.5&quot; </p>    <p># Visual Studio 10     <br /># Visual Studio 2008 </p>    <p>Microsoft Visual Studio Solution File, Format Version 11.00     <br />Microsoft Visual Studio Solution File, Format Version 10.00 </p>    <p>&lt;Project ToolsVersion=&quot;4.0&quot;     <br />&lt;Project ToolsVersion=&quot;3.5&quot; </p>    <p>&lt;ProductVersion&gt;10.0.20506&lt;/ProductVersion&gt;     <br />&lt;ProductVersion&gt;9.0.30729&lt;/ProductVersion&gt; </p>    <p>\VisualStudio\v10.0\     <br />\VisualStudio\v9.0\ </p>    <p>&lt;Import Project=&quot;$(MSBuildToolsPath)\Workflow.Targets&quot; /&gt;     <br />&lt;Import Project=&quot;$(MSBuildExtensionsPath)\Microsoft\Windows Workflow Foundation\v3.5\Workflow.Targets&quot; /&gt;</p> </blockquote>  <p>This worked on my solutions, you can try to see if it fit to your cases. </p>  <p>&#160;</p>  <p>FYI.</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0cd9b46b-1624-4a75-b895-1bb9a8e3b71f" class="wlWriterEditableSmartContent">Technorati Tags: <a href="https://technorati.com/tags/microsoft" rel="tag">microsoft</a>,<a href="https://technorati.com/tags/visual+studio" rel="tag">visual studio</a>,<a href="https://technorati.com/tags/2008" rel="tag">2008</a>,<a href="https://technorati.com/tags/2010" rel="tag">2010</a>,<a href="https://technorati.com/tags/project" rel="tag">project</a>,<a href="https://technorati.com/tags/solution" rel="tag">solution</a>,<a href="https://technorati.com/tags/convert" rel="tag">convert</a></div>]]></content:encoded>
    </item>
    <item>
      <title>Install TFS 2008 SP1 with SQL Server 2008 SP1</title>
      <link>https://docs.microsoft.com/archive/blogs/rextang/install-tfs-2008-sp1-with-sql-server-2008-sp1</link>
      <pubDate>Mon, 18 May 2009 11:05:04 GMT</pubDate>
      <dc:creator><![CDATA[Rex Tang [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rextang/2009/05/18/install-tfs-2008-sp1-with-sql-server-2008-sp1/</guid>
      <description><![CDATA[This just spent me couple hours to find out, that you won't be able to install TFS 2008 SP1 on SQL...]]></description>
      <content:encoded><![CDATA[<p>This just spent me couple hours to find out, that you won't be able to install TFS 2008 SP1 on SQL Server 2008 SP1 by just following the Installation Guide. </p>  <p>Even you've installed SQL Server 2008 and applied SP1, and followed Installation Guide to slipstream TFS 2008 Installation media with TFS SP1 bits, you'll still not able to install TFS, installer will keep telling you that your SQL Server is incompatible! </p>  <p>The solution, via <a href="https://blogs.msdn.com/bharry/archive/2009/04/15/using-sql-2008-sp1-with-tfs-2008-sp1.aspx" target="_blank">bharry's blog</a>, directed to this <a href="https://support.microsoft.com/kb/969985" target="_blank">KB article</a>, telling you that you have to modify the version check xml setting file in order to let the installer pass through the version check and install it. </p>  <p>Remember to read this before you install your own TFS 2008 SP1 on SQL Server 2008 SP1!! </p>  <p>the key modification points are (from the KB, for reference here):</p>  <blockquote>   <p>5. Open the <font color="#ff0000">Hcpackage.xml</font> file by using Notepad. </p>    <p>6. Find the following entry: </p>    <p>&lt;WQL namespace=&quot;\\.\root\Microsoft\SqlServer\ComputerManagement10&quot; query=&quot;SELECT * FROM sqlserviceadvancedproperty WHERE ServiceName='[%VSTF_SERVICENAME_MSSQL%]' AND PropertyName='VERSION' AND PropertyStrValue&amp;gt;='10.00.1433' AND PropertyStrValue <font color="#ff0000">LIKE '10.00.%'&quot;</font> action=&quot;=&quot; count=&quot;0&quot; /&gt;</p>    <p>7. Replace the entry that you found in step 6 with the following entry: </p>    <p>&lt;WQL namespace=&quot;\\.\root\Microsoft\SqlServer\ComputerManagement10&quot; query=&quot;SELECT * FROM sqlserviceadvancedproperty WHERE ServiceName='[%VSTF_SERVICENAME_MSSQL%]' AND PropertyName='VERSION' AND PropertyStrValue&amp;gt;='10.00.1433' AND PropertyStrValue <font color="#ff0000">LIKE '10.%'&quot;</font> action=&quot;=&quot; count=&quot;0&quot; /&gt;</p>    <p>8. Find the following entry: </p>    <p>&lt;WQL namespace=&quot;\\.\root\Microsoft\SqlServer\ComputerManagement10&quot; query=&quot;SELECT * FROM sqlserviceadvancedproperty WHERE ServiceName='[%VSTF_SERVICENAME_MSSQL%]' AND PropertyName='VERSION' AND PropertyStrValue&amp;gt;='10.0.1433' AND PropertyStrValue <font color="#ff0000">LIKE '10.0.%'&quot;</font> action=&quot;=&quot; count=&quot;0&quot; /&gt;</p>    <p>9. Replace the entry that you found in step 8 with the following entry: </p>    <p>&lt;WQL namespace=&quot;\\.\root\Microsoft\SqlServer\ComputerManagement10&quot; query=&quot;SELECT * FROM sqlserviceadvancedproperty WHERE ServiceName='[%VSTF_SERVICENAME_MSSQL%]' AND PropertyName='VERSION' AND PropertyStrValue&amp;gt;='10.0.1433' AND PropertyStrValue <font color="#ff0000">LIKE '10.%'&quot;</font> action=&quot;=&quot; count=&quot;0&quot; /&gt;</p>    <p>10. Find the following entry: </p>    <p>&lt;MsiProductVersionCheck prodid=&quot;[%SQLServer2008%]&quot; action=&quot;&amp;lt;&quot; <font color="#ff0000">version=&quot;10.1&quot;</font> /&gt;</p>    <p>11. Replace the entry that you found in step 10 with the following entry: </p>    <p>&lt;MsiProductVersionCheck prodid=&quot;[%SQLServer2008%]&quot; action=&quot;&amp;lt;&quot; <font color="#ff0000">version=&quot;10.2&quot;</font> /&gt;</p>    <p>12. Save the Hcpackage.xml file. </p>    <p>13. Run Setup.exe to install Visual Studio 2008 Team Foundation Server with SP1.</p> </blockquote>  <p>FYI.</p>  <div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:39b4d014-d254-4ebc-b7b3-8f1d903f8454" class="wlWriterEditableSmartContent">Technorati タグ: <a href="https://www.technorati.jp/tag/microsoft" rel="tag">microsoft</a>,<a href="https://www.technorati.jp/tag/visual+studio" rel="tag">visual studio</a>,<a href="https://www.technorati.jp/tag/tfs" rel="tag">tfs</a>,<a href="https://www.technorati.jp/tag/sqlserver" rel="tag">sqlserver</a>,<a href="https://www.technorati.jp/tag/2008" rel="tag">2008</a>,<a href="https://www.technorati.jp/tag/sp1" rel="tag">sp1</a>,<a href="https://www.technorati.jp/tag/kb" rel="tag">kb</a></div>]]></content:encoded>
    </item>
    <item>
      <title>CRM4.0: AutoUpdate Outlook CRM Client Patches</title>
      <link>https://docs.microsoft.com/archive/blogs/rextang/crm4-0-autoupdate-outlook-crm-client-patches</link>
      <pubDate>Wed, 04 Mar 2009 04:10:08 GMT</pubDate>
      <dc:creator><![CDATA[Rex Tang [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rextang/2009/03/04/crm4-0-autoupdate-outlook-crm-client-patches/</guid>
      <description><![CDATA[so we are finally at the stage of service-in our CRM Project to customer. since we did use CRM...]]></description>
      <content:encoded><![CDATA[<p>so we are finally at the stage of service-in our CRM Project to customer. since we did use CRM Outlook Client, when there are official patch updates, we won't be able to manually install them to all the client. thanks to client auto-update features, we can just put patch files on server and let outlook crm client patch itself. When end-users start outlook, crm client will check if there are patches needs to be update, and if got any, it will prompt user to install it.</p>  <p>reference articles:</p>  <blockquote>   <p><a href="https://blog.powerobjects.com/2008/06/19/dr-strangelove-or-how-i-learned-to-stop-worrying-and-love-the-autoupdate-tool/" target="_blank">Dr. Strangelove Or: How I Learned To Stop Worrying and Love The AutoUpdate Tool</a></p>    <p><a href="https://blogs.msdn.com/crm/archive/2008/05/08/crm-client-autoupdate.aspx" target="_blank">CRM Client AutoUpdate</a></p> </blockquote>  <p>will summarize steps here for my later reference.</p>  <p>1. Prepare a web folder to store all the patch exe files.</p>  <p>2. At all client computer, registry path [HKEY_LOCAL_MACHINE\Software\Microsoft\MSCRMClient] with String value key [AutoUpdateDownloadUrl] that point to the patch download http url (be sure to end with back-slash &quot;/&quot;) is needed. using Group Policy or login script to set this will be a good idea. </p>  <p>3. Extract patch exe file with &quot;/x&quot; option and get the [PatchID] GUID from config.xml file.</p>  <p>4. Copy the patch exe file to the web folder for client to install.</p>  <p>5. Prepare AutoUpdate Config xml file of contents like this (save the file and copy to CRM Server):</p>  <blockquote>   <p>&lt;?xml version=&quot;1.0&quot;?&gt;      <br />&lt;ClientPatches&gt;       <br />&lt;Create&gt;       <br />&#160;&#160;&#160; &lt;ClientPatchInfo&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;PatchId&gt;<strong><u><em>[PatchId got from config.xml file]</em></u></strong>&lt;/PatchId&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;Title&gt;<strong><u><em>[Title of the patch]</em></u></strong>&lt;/Title&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;Description&gt;<u><em><strong>[Description of the patch]</strong></em></u>&lt;/Description&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;IsMandatory&gt;true&lt;/IsMandatory&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;IsEnabled&gt;true&lt;/IsEnabled&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;ClientType&gt;OutlookDesktop,OutlookLaptop&lt;/ClientType&gt;       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;LinkId&gt;<u><em><strong>[patch exe file name, http path is not needed since client got it setup at step 2]</strong></em></u>&lt;/LinkId&gt;       <br />&#160;&#160;&#160; &lt;/ClientPatchInfo&gt;       <br />&lt;/Create&gt;       <br />&lt;/ClientPatches&gt;</p> </blockquote>  <p>6. At CRM Server, open a cmd window, go to [c:\Program Files\Microsoft Dynamics CRM\Tools] folder, and run [microsoft.crm.tools.clientpatchconfigurator.exe AutoUpdateConfig.xml] to register the patch. </p>  <p>7. Go to client PC with CRM Outlook Client installed and open Outlook to update the client. </p>  <p>that's it. </p>  <p>&#160; </p>  <p>FYI. </p>  <p></p>  <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:901b8a99-019b-4993-9435-f8b98ba9a8ff" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="https://technorati.com/tags/microsoft" rel="tag">microsoft</a>,<a href="https://technorati.com/tags/dynamics" rel="tag">dynamics</a>,<a href="https://technorati.com/tags/crm" rel="tag">crm</a>,<a href="https://technorati.com/tags/autoupate" rel="tag">autoupate</a>,<a href="https://technorati.com/tags/outlook" rel="tag">outlook</a>,<a href="https://technorati.com/tags/client" rel="tag">client</a>,<a href="https://technorati.com/tags/patch" rel="tag">patch</a></div>]]></content:encoded>
    </item>
    <item>
      <title>CRM 4.0, Data Import and TCP Socket Outage...</title>
      <link>https://docs.microsoft.com/archive/blogs/rextang/crm-4-0-data-import-and-tcp-socket-outage</link>
      <pubDate>Tue, 10 Feb 2009 02:20:24 GMT</pubDate>
      <dc:creator><![CDATA[Rex Tang [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rextang/2009/02/10/crm-4-0-data-import-and-tcp-socket-outage/</guid>
      <description><![CDATA[When doing bulk data import on CRM 4.0 using self-made application that utilizes CRM SDK to...]]></description>
      <content:encoded><![CDATA[<p>When doing bulk data import on CRM 4.0 using self-made application that utilizes CRM SDK to communicate with web server, if the application is running parallel that simultaneously accessing the server, sometimes you may get this kind of error and the import will fail:</p>  <blockquote>   <p>&quot;Only one usage of each socket address (protocol/network address/port) is normally permitted (typically under load).&quot; </p>    <p>or error message in Japanese:</p>    <p>&quot;リモート サーバーに接続できません。 通常、各ソケット アドレスに対してプロトコル、ネットワーク アドレス、またはポートのどれか 1 つのみを使用できます。 10.1.1.1:80&quot;</p> </blockquote>  <p>when encounter this, mostly it's likely that the client side is running out the available TCP connection sockets due to that Windows had the default free available socket amount set to 5000 and fast parallel web requests and 240 seconds default TCP TIME_WAIT settings that just occupied all the available sockets in a short interval of time. refer to <a href="https://www.crowehorwath.com/cs/blogs/crm/archive/2009/01/15/crm-webservice-error-only-one-usage-of-each-socket-address-protocol-network-address-port-is-normally-permitted.aspx" target="_blank">this</a> and <a href="https://blogs.msdn.com/dgorti/archive/2005/09/18/470766.aspx" target="_blank">this</a> for detals.</p>  <p>the solution is to increase the available TCP sockets and decrease the TCP TIME_WAIT interval, at client application machine, via the registry settings.</p>  <p>Increase TCP sockets: add or modify the DWORD key to 65534 (the default is 5000) </p>  <blockquote>   <p>HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort</p> </blockquote>  <p>Decrease the TCP TIME_WAIT time: add or modify the DWORD key to 30 (default is 240 in seconds)</p>  <blockquote>   <p>HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\TCPTimedWaitDelay</p> </blockquote>  <p>remember to restart the client machine to let the settings take effect.</p>  <p>by setting this successfully avoid the error and the data import was done smoothly in a fast powerful production CRM server-farm during our testing. from here we are considering to increase the importing-application parallel rank in order to minimize the initial bulk import time for next step...</p>  <p>the other thing to mention is that, actually the same error also occurred when calling CRM services in Plugins. for this, the CRM Web Server are not only acts as the server, but also a client at consuming itself, and thus for the CRM Web Server that has plugins using CRM web services, it maybe a good idea to also do this workaround to prevent socket outage.</p>  <p>FYI.</p>  <p></p>  <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:86e27840-96b3-4cfa-84b1-47b5fa77b1fc" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="https://technorati.com/tags/microsoft" rel="tag">microsoft</a>,<a href="https://technorati.com/tags/dynamics" rel="tag">dynamics</a>,<a href="https://technorati.com/tags/crm" rel="tag">crm</a>,<a href="https://technorati.com/tags/bulk" rel="tag">bulk</a>,<a href="https://technorati.com/tags/import" rel="tag">import</a>,<a href="https://technorati.com/tags/tcp" rel="tag">tcp</a>,<a href="https://technorati.com/tags/ip" rel="tag">ip</a>,<a href="https://technorati.com/tags/socket" rel="tag">socket</a>,<a href="https://technorati.com/tags/web" rel="tag">web</a>,<a href="https://technorati.com/tags/service" rel="tag">service</a>,<a href="https://technorati.com/tags/networking" rel="tag">networking</a></div>]]></content:encoded>
    </item>
    <item>
      <title>Self-Signed Certificate and Outlook VSTO Add-in Silent Installation</title>
      <link>https://docs.microsoft.com/archive/blogs/rextang/self-signed-certificate-and-outlook-vsto-add-in-silent-installation</link>
      <pubDate>Tue, 27 Jan 2009 02:36:25 GMT</pubDate>
      <dc:creator><![CDATA[Rex Tang [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rextang/2009/01/27/self-signed-certificate-and-outlook-vsto-add-in-silent-installation/</guid>
      <description><![CDATA[As in my CRM 4.0 design and deployment project we are reaching the end part of testing deployment...]]></description>
      <content:encoded><![CDATA[<p>As in my CRM 4.0 design and deployment project we are reaching the end part of testing deployment phase. the Outlook Add-in I made using VSTO 3.0 with ClickOnce deployment will finally need to be deployed to client side and it's the time I am facing those digital signing stuffs as well as client machine silent installation without user interference. I'll just leave a summary here of steps to achieve this for later reference.</p>  <p><u>Major Steps:</u></p>  <blockquote>   <p>1. Using a existing digital signing Certificate or creating a self-signed Certificate.</p>    <p>2. Signing the VSTO ClickOnce manifests with the Certificate.</p>    <p>3. Deploy / Import the Certificate to the client PCs.</p>    <p>4. Using command prompt to install VSTO package silently.</p> </blockquote>  <p><u>Details as follows:</u></p>  <p>1. Using a existing digital signing Certificate or creating a self-signed Certificate.</p>  <blockquote>   <p>if you are obtaining certificates from existing CA, you may need to obtain the private/public key pairs in order to build the .pfx keypair file.</p>    <p>I am going to use the self-signed certificate to deploy the solution in testing phase. so I'll go the following steps.</p>    <p>I am referencing this post for most instructions: <a href="https://www.top20toolbar.com/misc/codesigncert.htm" target="_blank">How to create your own code signing certificate and sign an ActiveX component in Windows</a>. will dub a short instructions here for later reference.</p>    <p>a. Get <a href="https://www.openssl.org/" target="_blank">OpenSSL</a>.</p>    <p>b. Create Root CA Certificate.</p>    <p><strong><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160; openssl genrsa -des3 -out ca.key 4096          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; openssl req -new -x509 -days 365 -key ca.key -out ca.crt </em></strong></p>    <p>c. Create Intermediate Server Certificate and signing with Root CA Certificate.</p>    <p><strong><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160; openssl genrsa -des3 -out server.key 4096          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; openssl req -new -key server.key -out server.csr           <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out server.crt </em></strong></p>    <p>d. Create .pfx key pair for VSTO ClickOnce manifests AuthentiCode signing.</p>    <p><strong><em>&#160;&#160;&#160;&#160;&#160;&#160;&#160; openssl pkcs12 -export -out exported.pfx -inkey server.key -in server.crt </em></strong></p>    <p>e. Just in case, create the .snk public key file for later use.</p>    <p><em><strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160; sn.exe -p exported.pfx exported.snk</strong></em></p>    <p>f. You'll now have the following certificate files:</p>    <p><em><strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160; ca.key:</strong></em> Root CA private key file<em><strong>.          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; ca.crt:</strong></em> Root CA public key file<em><strong>.          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; server.key:</strong></em> Server Certificate private key file<em><strong>.          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; server.csr:</strong></em> Server Certificate public key file<em><strong>.          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; server.crt:</strong></em> Server Certificate public key file signed with Root CA key files<em><strong>.          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; exported.pfx:</strong></em> the Serve Certificate key pair file for code signing in Visual Studio 2008.       <br /><em><strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160; exported.snk:</strong></em> optional public key .snk file containing server certificate for later use<em><strong>.</strong></em></p>    <p>g. All you need to later steps are:</p>    <p><em><strong>&#160;&#160;&#160;&#160;&#160;&#160;&#160; ca.crt: </strong></em>Root CA public key file<em><strong>.          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; server.crt: </strong></em>Server Certificate public key file signed with Root CA key files<em><strong>.          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; exported.pfx:</strong></em> the Serve Certificate key pair file for code signing in Visual Studio 2008.</p> </blockquote>  <p>2. Signing the VSTO ClickOnce manifests with the Certificate.</p>  <blockquote>   <p>using the exported.pfx file to setup VSTO ClickOnce Manifests signing. you can also signing the assembly with this keypair to create Strong Named assembly but it's not necessary to make the silent install work. </p> </blockquote>  <p>3. Deploy / Import the Certificate to the client PCs.</p>  <blockquote>   <p>Import those Certificates to every client PC either manually by:</p>    <p>a. Import ca.crt to client PC's Certificate Store, inside &quot;Trusted Root Certificate Authorities&quot;.      <br />b. Import server.crt to client PC's Certificate Store, inside &quot;Intermediate Certification Authorities&quot;.       <br />c. Import server.crt to client PC's Certificate Store, inside &quot;Trusted Publishers&quot;.</p>    <p>or you may also using AD to deploy the Root CA to client PCs. refering to this <a href="https://technet.microsoft.com/en-us/library/cc758128.aspx" target="_blank">TechNet article</a> for steps.</p> </blockquote>  <p>4. Install VSTO 3.0 pre-requisites before installing VSTO package.</p>  <blockquote>   <p>by referencing <a href="https://social.msdn.microsoft.com/Forums/en-US/vsto/thread/bbbb43b2-16af-491d-a65e-0502b76ab0c4/" target="_blank">this thread of posts</a>, in order to install the VSTO package silently, instead of using the Visual Studio published setup.exe file, need to use the VSTOInstaller.exe with /Silent switch. and by using VSTOInstaller.exe, it won't check the pre-requisites thus needs to install those first to every client PC.</p>    <p>a. .NET Framework 3.5 SP1 </p>    <p><a href="https://www.microsoft.com/downloads/details.aspx?familyid=ab99342f-5d1a-413d-8319-81da479ab0d7&amp;displaylang=en">https://www.microsoft.com/downloads/details.aspx?familyid=ab99342f-5d1a-413d-8319-81da479ab0d7&amp;displaylang=en</a></p>    <p>b. VSTO version 3.0 (x86)</p>    <p><a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=54eb3a5a-0e52-40f9-a2d1-eecd7a092dcb&amp;displaylang=en">https://www.microsoft.com/downloads/details.aspx?FamilyID=54eb3a5a-0e52-40f9-a2d1-eecd7a092dcb&amp;displaylang=en</a></p>    <p>c. Office PIA 2007 package</p>    <p>when Visual Studio 2008 published office add-in package, there will be Office 2007 PIA installer at publish\Office2007PIARedist\o2007pia.msi for installation and deployment. locate the installer and install it.</p> </blockquote>  <p>4. Using command prompt to install VSTO package silently.</p>  <blockquote>   <p>open a command prompt manually or using other auto-deployment ways with the following command to install the VSTO package, sliently without user interference:</p>    <p><strong><em>c:\&gt; &quot;%commonprogramfiles%\microsoft shared\VSTO\9.0\VSTOInstaller.exe&quot; /I &quot;https://published.server/outlookaddin/OutlookAddin.vsto&quot;/S</em></strong></p>    <p>the command will return immediately thus you won't know if the installation is succeeded or not. by checking the &quot;Add/Remove Programs&quot; in Control Panel you can see if your VSTO Add-in was installed or not. if it was not installed, remove the /S silent switch and run the VSTOInstaller again to see what's wrong. if there is a warning dialog box appeared saying that you are going to install a component from an &quot;unknown publisher&quot;, your client PC certificate import operations may get something wrong and you need to check or re-import them again. if everything was going well you should only run this command and will see the component installed via the control panel. no other user interference is needed. </p> </blockquote>  <p>5. VSTO ClickOnce AutoUpdate.</p>  <blockquote>   <p>after .NET Framework 3.5 SP1 and VSTO 3.0, now the ClickOnce application have the ability to auto-update itself if new version is published to the server. thus for the first-time install, it's possible to use AD logon script to check and install the VSTO package silently and for later updates, just refresh the server-side file to the latest version and next time when end-user opens Outlook (or other office applications), it will check the latest version from server and install itself if necessary. </p> </blockquote>  <p>FYI.</p>  <p></p>  <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:330d8a66-4751-46df-a8c1-665e89e03ba0" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="https://technorati.com/tags/microsoft" rel="tag">microsoft</a>,<a href="https://technorati.com/tags/offce" rel="tag">offce</a>,<a href="https://technorati.com/tags/vsto" rel="tag">vsto</a>,<a href="https://technorati.com/tags/programming" rel="tag">programming</a>,<a href="https://technorati.com/tags/codesign" rel="tag">codesign</a>,<a href="https://technorati.com/tags/code-signing" rel="tag">code-signing</a>,<a href="https://technorati.com/tags/certificate" rel="tag">certificate</a>,<a href="https://technorati.com/tags/CA" rel="tag">CA</a>,<a href="https://technorati.com/tags/openssl" rel="tag">openssl</a>,<a href="https://technorati.com/tags/x.509" rel="tag">x.509</a>,<a href="https://technorati.com/tags/authenticode" rel="tag">authenticode</a></div>]]></content:encoded>
    </item>
    <item>
      <title>When missing Visual Studio project template...</title>
      <link>https://docs.microsoft.com/archive/blogs/rextang/when-missing-visual-studio-project-template</link>
      <pubDate>Thu, 22 Jan 2009 07:12:17 GMT</pubDate>
      <dc:creator><![CDATA[Rex Tang [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rextang/2009/01/22/when-missing-visual-studio-project-template/</guid>
      <description><![CDATA[One of my dev VM had missing all the project template while trying to new a project from selecting...]]></description>
      <content:encoded><![CDATA[<p>One of my dev VM had missing all the project template while trying to new a project from selecting &quot;New Project&quot;. had found <a href="https://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/8a5ae9e3-be7b-493d-831c-1e49e8103f26/" target="_blank">this forum thread</a> and by running &quot;<strong>DevEnv /InstallVSTemplates</strong>&quot; from elevated VS2008 Command prompt, all the template just came back without problems.</p>  <p>FYI.</p>]]></content:encoded>
    </item>
    <item>
      <title>Some Groove 2007 Tips...</title>
      <link>https://docs.microsoft.com/archive/blogs/rextang/some-groove-2007-tips</link>
      <pubDate>Tue, 09 Dec 2008 01:24:29 GMT</pubDate>
      <dc:creator><![CDATA[Rex Tang [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rextang/2008/12/09/some-groove-2007-tips/</guid>
      <description><![CDATA[# Remove an account in a machine which cannot logged in due to password forgotten  Just tried to...]]></description>
      <content:encoded><![CDATA[<p><u><strong># Remove an account in a machine which cannot logged in due to password forgotten</strong></u></p>  <p>Just tried to re-activate some of my old groove accounts in my other PCs and found that I forget the password set long time ago... (normally inside MS we had internal password policy that we need to change password every few months, this included MSIT managed Groove Server accounts.) As I am able to save my account file from other computers with the latest password set, I am not able to apply that account to my PCs which already got the same account installed. question is how to remove the account which the password is forgotten...</p>  <p>A KB (<a href="https://support.microsoft.com/kb/916375" target="_blank">KB916375</a>) addressed this problem. As a result, you have to delete all the Groove data on that computer and setup all the account again!! follow <a href="https://support.microsoft.com/kb/907854/" target="_blank">KB907854</a> for the instructions of using GrooveClean.exe to clean all the Groove data in a machine and re-setup the accounts you need.</p>  <p>&#160;</p>  <p><u><strong># Re-Get / Transfer the Synchronizer role of a SharePoint File Sync tool</strong></u></p>  <p>Been searching for a long time, that when you setup a Groove File Sync Tool and syncing files around multiple PCs, how do you transfer the role of Synchronizer around computers? </p>  <p>In this help <a title="https://office.microsoft.com/en-us/groove/HA102242471033.aspx" href="https://office.microsoft.com/en-us/groove/HA102242471033.aspx">https://office.microsoft.com/en-us/groove/HA102242471033.aspx</a> it described the functionality of a SharePoint File Sync tool and how to use it. although it did explained how to change the sync mode between manual and auto, and the concept of synchronizer, it didn't tell us how to change synchronizer between computers. the answer is that when you want to change synchronizer between computers, you go to the menu in Edit -&gt; Synchronize Now command to force a sync in current computer. if current computer is not in a synchronizer role, it will prompt you that it is going to request the synchronizer role, and once the current synchronizer approved it , the computer who request the role will get the role and become the new synchronizer. If the computer and account who is in the admin role of the workspace, it can also forcefully get the synchronizer role without notice the current synchronizer. </p>  <p>&#160;</p>  <p>FYI.</p>  <p>   <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:52afc33d-c05e-47ab-b264-c7586138ca5b" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="https://technorati.com/tags/microsoft" rel="tag">microsoft</a>,<a href="https://technorati.com/tags/office" rel="tag">office</a>,<a href="https://technorati.com/tags/2007" rel="tag">2007</a>,<a href="https://technorati.com/tags/groove" rel="tag">groove</a>,<a href="https://technorati.com/tags/synchronize" rel="tag">synchronize</a>,<a href="https://technorati.com/tags/tips" rel="tag">tips</a></div></p>]]></content:encoded>
    </item>
    <item>
      <title>Dynamically Loading Scripts Files on Dynamics CRM</title>
      <link>https://docs.microsoft.com/archive/blogs/rextang/dynamically-loading-scripts-files-on-dynamics-crm</link>
      <pubDate>Sat, 29 Nov 2008 15:46:32 GMT</pubDate>
      <dc:creator><![CDATA[Rex Tang [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rextang/2008/11/29/dynamically-loading-scripts-files-on-dynamics-crm/</guid>
      <description><![CDATA[People who are working in customizing Dynamics CRM system should all sooner or later facing this...]]></description>
      <content:encoded><![CDATA[<p>People who are working in customizing <a href="https://www.microsoft.com/dynamics/crm/default.mspx" target="_blank">Dynamics CRM</a> system should all sooner or later facing this problem: what can I do to have my common sharing Javascript library injected in an elegant way so that all the events in all my crmForm can use it without problems?</p>  <p>As now I am engaging in a Dynamics CRM customization project and am building a common base framework for CRM developing of our vendors, I am also facing this problem. (also others though...)</p>  <p>In <a href="https://blog.davidyack.com/" target="_blank">David Yack</a>'s book &quot;<a href="https://www.amazon.com/CRM-as-Rapid-Development-Platform/dp/0981511813" target="_blank">CRM as a Rapid Development Platform</a>&quot;, he is using an OO Javascript writing of base classes to be used in crmForm, and to overcome the offline CRM client problem, paste all the base class code in every entities' form's OnLoad event. the idea of writing Javascript code in VS2008 and utilizing intellisence support are pretty good ideas also.</p>  <p><a href="https://www.stunnware.com/" target="_blank">Michael H&#246;hne from Stunnware.com</a> is using another approach to dynamically load javascript files of common sharing client code to the crmForm. Refer to his excellent articles <a href="https://www.stunnware.com/crm2/topic.aspx?id=JS18" target="_blank">here</a> and <a href="https://www.stunnware.com/crm2/topic.aspx?id=JS19" target="_blank">here</a>.&#160; Although it's modifying the form.css file to add extended logics, which becomes an unsupported custimization. he minimized the impacts of the side effects so that it can be easily recovered after a hotfix patch or version up of CRM system. notice that this approach may not work in CRM offline environment and may need further works to deploy your javascript codes into client machines.</p>  <p>if your solution will only target in online environment, like mine this time, I think Michael's solution will be a good one to implement. base on what you need, choose the proper solution to make your solution work.</p>  <p>FYI.</p>  <p></p>  <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:fa5106e2-812a-4a8d-9b0b-618df10c7924" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="https://technorati.com/tags/microsoft" rel="tag">microsoft</a>,<a href="https://technorati.com/tags/dynamics" rel="tag">dynamics</a>,<a href="https://technorati.com/tags/crm" rel="tag">crm</a>,<a href="https://technorati.com/tags/javascript" rel="tag">javascript</a></div>]]></content:encoded>
    </item>
  </channel>
</rss>