1
Vote

Problem to load module with the TypeAccelerators

description

Hello,

we migrate to FIM 2010 R2 and have installed the Software on a Windows Server 2012 R2.

When I installed the FIM module there was a Syntax Error in Line 102 where there was a missing $ at the beginning of the line. Afther having this fixed I have encountered another error, regarding loading the TypeAccellerators starting in Line 967.

They are not loaded as the following Error is raiesed:

Method invocation failed because [System.Management.Automation.TypeAccelerators] does not contain a method named
'AddReplace'.
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\FIM\FIM.psm1:22 char:3
  • $PSTypeAccelerators::AddReplace($Name, $Type)
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : MethodNotFound
It seems that there is no AddReplace function existing for the types (see function Add-PSTypeAccelerator) you want to Register).

We have also installed the FIMAutomation 2.0 library as required by the FIM module?

So what is the Problem, is there a "fix" available for it?

Thanks Andreas

comments

enayathulla wrote Aug 25, 2014 at 12:25 PM

Hi Andreas,

I am facing same issue. Did you find the solution?

Regards,
Enayathulla