Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

UE-V PowerShell cmdlets fail on a Windows Server 2008 R2 system


View products that this article applies to.

Symptoms

Consider the following scenario:

  • You have Windows PowerShell version 2 and .NET Framework 4.0 installed on a computer that is running Microsoft Windows Server 2008 R2.
  • At the command prompt, you run the Get-UevTemplate command from Microsoft User Experience Virtualization (UE-V) to retrieve a list of templates.

In this scenario, you receive the following error message:

Get-UevTemplate : The type initializer for 'Microsoft.Uev.Commands.TemplateHelpers' threw an exception.
At line:1 char:23
+ Get-UevTemplate <<<<
+ CategoryInfo : NotSpecified: (:) [Unregister-UevTemplate], TypeInitializationException
+ FullyQualifiedErrorId : System.TypeInitializationException,Microsoft.Uev.Commands.GetUevTemplateCommand

↑ Back to the top


Cause

Microsoft .NET Framework 3.5 SP1 is required for UE-V 1.0.

↑ Back to the top


Resolution

To resolve this problem, install .NET Framework 3.5 SP1 on the Windows Server 2008 R2 system.

↑ Back to the top


Keywords: kb, kbtshoot

↑ Back to the top

Article Info
Article ID : 2769572
Revision : 2
Created on : 3/27/2020
Published on : 3/27/2020
Exists online : False
Views : 151