Wednesday, April 20, 2011

Faster XAML editing in VS2010

If you are working with the XAML Editor in VS2010 you’ve maybe realized that it’s much better than with VS2008.

You can even be faster if you change the editor from default XAML Editor to “Source Code (Text) Editor”.

You not only have VS IntelliSense, XML collapsing and the XAML context menu support, also you have full ReSharper support!

How to change the default editor:

  1. Right-click on a XAML file in the Solution Explorer
  2. Select "Open With..."
  3. Select "Source Code (Text) Editor"
  4. Click on "Set as Default"
  5. Click OK
  6. You're done!

image

With SHIFT + F7 you can change from “Source Code (Text) Editor” to the default XAML editor with its split view, navigator, etc.

Source: http://weblogs.asp.net/fmarguerie/archive/2009/01/29/life-changer-xaml-tip-for-visual-studio.aspx

Thursday, April 7, 2011

TFS2010–Single Server Installation COM Error

After installing a new TFS2010 single server instance I had the following error in my event log:

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{61738644-F196-11D0-9953-00C04FD919C1}
and APPID
{61738644-F196-11D0-9953-00C04FD919C1}
to the user VB-TFS2010\WSSSERVICE SID (S-1-5-21-1484069085-12520411-2351891930-1013) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.

The problem was that SharePoint Administration Service was running under Local System Account. I realized I forgot to set the appropriate service account.

How to find out that the problem was coming from SharePoint?
Source: http://geekswithblogs.net/mhamilton/archive/2006/12/19/101568.aspx