<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Jiange Sun's WebLog</title><subtitle type="html" /><id>http://blogs.msdn.com/jianges/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jianges/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/jianges/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2008-03-19T13:26:00Z</updated><entry><title>You may encounter TF53010 if your TFS 2008 is running on Windows 2008</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jianges/archive/2008/10/29/you-may-encounter-tf53010-if-your-tfs-2008-is-running-on-windows-2008.aspx" /><id>http://blogs.msdn.com/jianges/archive/2008/10/29/you-may-encounter-tf53010-if-your-tfs-2008-is-running-on-windows-2008.aspx</id><published>2008-10-29T20:52:00Z</published><updated>2008-10-29T20:52:00Z</updated><content type="html">&lt;P&gt;
&lt;TABLE class="" cellSpacing=0 cellPadding=0 border=0 minmax_bound="true"&gt;
&lt;TBODY minmax_bound="true"&gt;
&lt;TR minmax_bound="true"&gt;
&lt;TD class="" width="100%" minmax_bound="true"&gt;
&lt;DIV class=BlogPostContent minmax_bound="true"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal" minmax_bound="true"&gt;&lt;B style="mso-bidi-font-weight: normal" minmax_bound="true"&gt;&lt;FONT size=3 minmax_bound="true"&gt;&lt;FONT face=Calibri minmax_bound="true"&gt;Issue:&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p minmax_bound="true"&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal" minmax_bound="true"&gt;&lt;B style="mso-bidi-font-weight: normal" minmax_bound="true"&gt;&lt;FONT size=3 minmax_bound="true"&gt;&lt;FONT face=Calibri minmax_bound="true"&gt;=====&lt;o:p minmax_bound="true"&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal" minmax_bound="true"&gt;&lt;FONT face=Calibri size=3 minmax_bound="true"&gt;Your TFS 2008 is running on Windows 2008 and you noticed this error from w3wp.exe in EventLog:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal" minmax_bound="true"&gt;&lt;o:p minmax_bound="true"&gt;&lt;FONT face=Calibri size=3 minmax_bound="true"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;FONT face=Calibri size=3 minmax_bound="true"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;/FONT&gt;&lt;o:p minmax_bound="true"&gt;&lt;FONT face=Calibri size=3 minmax_bound="true"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;TF53010: The following error has occurred in a Team Foundation component or extension:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;Date (UTC): 10/28/2008 12:19:30 AM&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;Machine: %MachineName%&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;Application Domain: /LM/W3SVC/99096959/ROOT/Services-1-128487152825933232&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;Assembly: Microsoft.TeamFoundation.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;Process Details:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp; Process Name: w3wp&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp; Process Id: 3528&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp; Thread Id: 2896&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp; Account name: %AccountName%&lt;/SPAN&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;FONT face=Calibri size=3 minmax_bound="true"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;Exception: COMException&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;Message: Retrieving the COM class factory for component with CLSID {080D0D78-F421-11D0-A36E-00C04FB950DC} failed due to the following error: 800703fa.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;Stack Trace:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp; at System.DirectoryServices.ActiveDirectory.DirectoryEntryManager..ctor(DirectoryContext context)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp; at System.DirectoryServices.ActiveDirectory.DomainController.FindOneInternal(DirectoryContext context, String domainName, String siteName, LocatorOptions flag)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp; at System.DirectoryServices.ActiveDirectory.DomainController.FindOneWithCredentialValidation(DirectoryContext context, String siteName, LocatorOptions flag)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp; at System.DirectoryServices.ActiveDirectory.DomainController.FindOne(DirectoryContext context, LocatorOptions flag)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp; at Microsoft.TeamFoundation.Server.DomainProperties..ctor(String domain)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp; at Microsoft.TeamFoundation.Server.DomainProperties.GetDomainProperties(String domain)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp; at Microsoft.TeamFoundation.Server.ADAccessor.ExtractIdentity(Boolean includeMembers, IdentitySeen identitySeen, ProcessIdentity processIdentity)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp; at Microsoft.TeamFoundation.Server.ADAccessor.ExtractIdentity(Boolean includeMembers)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp; at Microsoft.TeamFoundation.Server.IdentityStoreAccessor.ReadIdentityFromSource(String sid, Boolean includeMembers)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #1f497d; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp; at Microsoft.TeamFoundation.Server.GroupSecurityService.ReadIdentityFromSource(SearchFactor factor, String factorValue)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal" minmax_bound="true"&gt;&lt;B style="mso-bidi-font-weight: normal" minmax_bound="true"&gt;&lt;FONT size=3 minmax_bound="true"&gt;&lt;FONT face=Calibri minmax_bound="true"&gt;Root Cause:&lt;o:p minmax_bound="true"&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal" minmax_bound="true"&gt;&lt;B style="mso-bidi-font-weight: normal" minmax_bound="true"&gt;&lt;FONT size=3 minmax_bound="true"&gt;&lt;FONT face=Calibri minmax_bound="true"&gt;==========&lt;o:p minmax_bound="true"&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal" minmax_bound="true"&gt;&lt;SPAN style="COLOR: #1f497d" minmax_bound="true"&gt;&lt;FONT size=3 minmax_bound="true"&gt;&lt;FONT face=Calibri minmax_bound="true"&gt;&lt;o:p minmax_bound="true"&gt;&lt;FONT color=#000000&gt;This is due to a design change in Windows 2008. &lt;/FONT&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #1f497d" minmax_bound="true"&gt;&lt;FONT size=3 minmax_bound="true"&gt;&lt;FONT face=Calibri minmax_bound="true"&gt;&lt;o:p minmax_bound="true"&gt;&lt;FONT color=#000000&gt;This wasn’t an issue in Win2k3, because the OS would let us hold onto HKCU after the user logged out.&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal" minmax_bound="true"&gt;&lt;o:p minmax_bound="true"&gt;&lt;FONT face=Calibri size=3 minmax_bound="true"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal" minmax_bound="true"&gt;&lt;B style="mso-bidi-font-weight: normal" minmax_bound="true"&gt;&lt;FONT size=3 minmax_bound="true"&gt;&lt;FONT face=Calibri minmax_bound="true"&gt;Resolution:&lt;o:p minmax_bound="true"&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal" minmax_bound="true"&gt;&lt;B style="mso-bidi-font-weight: normal" minmax_bound="true"&gt;&lt;FONT size=3 minmax_bound="true"&gt;&lt;FONT face=Calibri minmax_bound="true"&gt;=========&lt;o:p minmax_bound="true"&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal" minmax_bound="true"&gt;&lt;SPAN style="COLOR: #1f497d" minmax_bound="true"&gt;&lt;FONT face=Calibri size=3 minmax_bound="true"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Set “Load User Profile” to True for the IIS Application Pool “Microsoft Team Foundation Server Application Pool” .&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9022709" width="1" height="1"&gt;</content><author><name>jianges</name><uri>http://blogs.msdn.com/members/jianges.aspx</uri></author><category term="TFS" scheme="http://blogs.msdn.com/jianges/archive/tags/TFS/default.aspx" /></entry><entry><title>TFS SDK will cause InvalidProgramException while running as 64 bit</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jianges/archive/2008/03/28/tfs-sdk-will-cause-invalidprogramexception-while-running-as-64-bit.aspx" /><id>http://blogs.msdn.com/jianges/archive/2008/03/28/tfs-sdk-will-cause-invalidprogramexception-while-running-as-64-bit.aspx</id><published>2008-03-28T17:18:00Z</published><updated>2008-03-28T17:18:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Issue:&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;=====&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;FONT face=Calibri size=3&gt;You create a C# project that uses TFS SDK. But it crashes when you try to run it on a X64 bit OS machine:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;FONT face=Calibri size=3&gt;Unhandled Exception: System.InvalidProgramException: Common Language Runtime detected an invalid program.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&amp;nbsp; at Microsoft.TeamFoundation.Client.TeamFoundationServerFactory.GetServer(String name)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&amp;nbsp; at TFSTestProject.Program.Main(String[] args)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;This is the code that causes crash:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 8pt; COLOR: #2b91af; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'"&gt;TeamFoundationServer&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'"&gt; tfs = &lt;SPAN style="COLOR: #2b91af"&gt;TeamFoundationServerFactory&lt;/SPAN&gt;.GetServer(&lt;SPAN style="COLOR: blue"&gt;"&lt;A href="http://%3cserver%3e:%3cport%3e" mce_href="http://%3cserver%3e:%3cport%3e"&gt;&lt;FONT color=#0000ff&gt;http://&amp;lt;server&amp;gt;:&amp;lt;port&amp;gt;&lt;/FONT&gt;&lt;/A&gt;"&lt;/SPAN&gt;,);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Root Cause:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;==========&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;The TFS OM is not going to work correctly in a native 64-bit mode. For C# project, it’s default platform target is “Any CPU” (aka,&amp;nbsp; X64 on a 64-bits OS).&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Resolution:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;=========&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;FONT face=Calibri size=3&gt;Go to Project Property of your C# project, click on Build tab, set “Platform Target” to x86, rebuilt. Now the program will run as a 32 bit executable and TFS OM work fine.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8341813" width="1" height="1"&gt;</content><author><name>jianges</name><uri>http://blogs.msdn.com/members/jianges.aspx</uri></author><category term="TFS" scheme="http://blogs.msdn.com/jianges/archive/tags/TFS/default.aspx" /></entry><entry><title>A potential issue when running TFC 2005 and 2008 SxS</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jianges/archive/2008/03/19/a-potential-issue-when-running-tfc-2005-and-2008-sxs.aspx" /><id>http://blogs.msdn.com/jianges/archive/2008/03/19/a-potential-issue-when-running-tfc-2005-and-2008-sxs.aspx</id><published>2008-03-19T20:26:00Z</published><updated>2008-03-19T20:26:00Z</updated><content type="html">&amp;nbsp; 
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;If you have both TFC 2005 and 2008 installed on a Vista box, you may run into this issue with TFC 2008:&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;---------------------------&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Microsoft Visual Studio&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;---------------------------&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;Method 'get_CanEnableIme' on type 'Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.QueryEditor' from assembly 'Microsoft.VisualStudio.TeamFoundation.WorkItemTracking, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is overriding a method that is not visible from that assembly.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;---------------------------&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;OK&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;---------------------------&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;You will also notice:&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;1. TFC 2005 works fine. &lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;2. TFC 2008 still have the&amp;nbsp;same issue after uninstalling TFC 2005.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;3. Installing hotfix from &lt;A href="http://support.microsoft.com/kb/946075" mce_href="http://support.microsoft.com/kb/946075"&gt;http://support.microsoft.com/kb/946075&lt;/A&gt;&amp;nbsp;doesn't help.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;This is a known issue in .net setup. Installing Vista Sp1 should fix the issue. For some users, rebooting/re-installing VS also resolved the problem. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8325964" width="1" height="1"&gt;</content><author><name>jianges</name><uri>http://blogs.msdn.com/members/jianges.aspx</uri></author><category term="TFS" scheme="http://blogs.msdn.com/jianges/archive/tags/TFS/default.aspx" /></entry></feed>