Friday, March 29, 2013

Resolution: Errors After Installing Update Rollup for Dynamics CRM 2011

After installing an update rollup for Dynamics CRM 2011 ( I was installing UR12, but others have gotten the same error with outher URs), I started getting this error.


Log Name: Application Source: ASP.NET 4.0.30319.0 Date: 3/28/2013 8:40:04 AM Event ID: 1309 Task Category: Web Event Level: Warning Keywords: Classic User: N/A Computer: crm_server.domain.local Description: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 3/28/2013 8:40:04 AM Event time (UTC): 3/28/2013 1:40:04 PM Event ID: 857c1ec3a88c43799878637451e1b3a7 Event sequence: 36389 Event occurrence: 23 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT-1-140088322863478416 Trust level: Full Application Virtual Path: / Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\ Machine name: CRM_SERVER Process information: Process ID: 3508 Process name: w3wp.exe Account name: DOMAIN\service_account Exception information: Exception type: CrmException Exception message: Attribute objecttypecode on Entity PrincipalObjectAccessReadSnapshot is of type picklist but has Child Attributes Count 0 at

Wednesday, March 27, 2013

Filter Security Event Logs by User in Windows 2008 & Windows 7

If you are like me, you probably miss being able to easily filter your security event logs by a specific user like we did in previous versions of Microsoft Windows. Well, it is still possible in Windows 2008 and Windows 7. You just need to use the XML filter option. When you are in the security event logs, click on "Filter Current Log..." from the actions pane. Click the XML tab of the window that opens, and check the box next to "Edit query manually".

Tuesday, March 19, 2013

Dynamics CRM: Authentication is Required - Timing Out and Prompting for Credentials

If you are running Dynamics CRM 4.0 and 2011 with claims based authentication, by default you get a prompt saying "Authentication is Required" after 20 minutes. If you want to extend this timeout, you need to make some changes to the relying party trust in Active Directory Federation Services (ADFS).

List all of the Microsoft Hotfixes Installed on a System

If you need to list all of the Microsoft hotfixes/patches that are installed on a system, you can run the command below from a command prompt. Add/Remove Programs does not list them all.

$10,000 Worth of Microsoft Training Videos For Free

Microsoft puts on a huge training event every once per year, per continent called TechEd. This event is great! It offers hundreds of different focused training sessions every year that you can choose from to further your education. However, the registration fee alone is over $2,000 (standard pricing), then you have travel and hotel expenses on top of that. Because of that, this is not something that everybody can afford to attend.

If you cannot go to Teched, you can still watch the sessions from previous years for free online. These videos won't give you the full conference experience, but they are a great learning resource that's available for free.

Wednesday, March 6, 2013

Fix Event ID# 7043 Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Could not load type

This is an error that's a little misleading. At first it might seem that the file is missing or that there is a permissions issue, but that's not the case. The problem is that there is a bad charater in the template file.

Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Foundation
Date:          3/6/2013 1:07:44 PM
Event ID:      7043
Task Category: Web Controls
Level:         Error
Keywords:     
User:          DOMAIN\farm-admin
Computer:      sharepoint-server.domain.local

Description:

Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Could not load type 'Microsoft.SharePoint.Portal.WebControls.TaxonomyPicker' from assembly 'Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e4bce131e9439c'.

Fix Sharepoint/Powershell Error: The Farm is Unavailable

Below is an error that you can get in PowerShell or via STSADM for SharePoint

PS C:\> Get-SPServiceApplicationProxy
Get-SPServiceApplicationProxy : The farm is unavailable.
At line:1 char:30
+ Get-SPServiceApplicationProxy <<<<
    + CategoryInfo          : ResourceUnavailable: (Microsoft.Share...pplicationProxy:SPCmdletGetServiceApplicationProxy) [Get-SPServiceApplicationProxy], InvalidOperationException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletGetServiceApplicationProxy

Monday, March 4, 2013

The Distributed Transaction Coordinator service terminated with service-specific error 3221229584 (0xC0001010).

If you get the following error in the system event logs while trying to start the Distributed Transaction Coordinator service, we can help.

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7024
Description: The Distributed Transaction Coordinator service terminated with service-specific error 3221229584 (0xC0001010).

The IP Address You Have Entered for this Network Adapter is Already Assigned to Another Adapter

If you have ever replace and NIC card, either virtual or physical, and used the same static IP address as the old card had, you probably recognise the error below.

The IP address XXX.XXX.XXX.XXX you have entered for this network adapter is already assigned to another adapter <Name of adapter>. <Name of adapter> is hidden from the network and Dial-up Connections folder because it is not physically in the computer or is a legacy adapter that is not working. If the same address is assigned to both adapters and they become active, only one of them will use this address. This may result in incorrect system configuration.

Do you want to enter a different IP address for this adapter in the list of IP addresses in the advanced dialog box?

VMWare Console Window Blank

There's an issue with Data Execution Prevention (DEP) in Windows that causes you to get a black empty screen , or a white blank screen while trying to connect to a VMWare console using the VSphere client, or the Virtual Infrastructure Client (VIC). You might also be presented with one of the following errors

  • Unable to get the window handle for the 'AxQuickMksAxCtl' control. Windowless ActiveX controls are not supported.
  • Exception has been thrown by the target of an invocation