PowerShell script exchange
Post Reply
Pupp3tm4st3r
Lurker
Posts: 1
Liked: never
Joined: Aug 04, 2015 8:42 am
Full Name: Simon K.
Contact:

Can´t register PowerShell SnapIn

Post by Pupp3tm4st3r »

Hi there,

I´ve been trying to install the PowerShell SnapIn for some hours now but still no success.
I´m using a Windows Server 2012 R2, Powershell 4.0 virtual machine. I´ve already installed the package (even reinstalled via BPS_x64.msi but I´m unable to load the SnapIn. When I try to register it via:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe "C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll"

I get an exception. I´ve got the fill code only in german, I´m sorry:

Code: Select all

PS C:\Users\Administrator> C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe "C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll"
Microsoft (R) .NET Framework-Installationsprogramm, Version 4.0.30319.17929
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.


Eine transaktive Installation wird ausgefhrt.

Die Installationsphase wird gestartet.
Die Protokolldatei enth„lt den Fortschritt der Assembly C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll.
Die Datei befindet sich in C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.InstallLog.
Assembly C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll wird installiert.
Betroffene Parameter:
   logtoconsole = 
   assemblypath = C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll
   logfile = C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.InstallLog
Ausnahmefehler beim Suchen der Installer in der Assembly C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll.
System.Reflection.ReflectionTypeLoadException: Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn Sie weitere Informationen ben
”tigen.
Die Installation von C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll wird abgebrochen.

W„hrend der Installationsphase ist eine Ausnahme aufgetreten.
System.InvalidOperationException: Die Installertypen in der Assembly C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll k”nnen nicht abgefragt werden.
Die interne Ausnahme System.Reflection.ReflectionTypeLoadException wurde mit folgender Fehlermeldung ausgel”st: Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die Lo
aderExceptions-Eigenschaft ab, wenn Sie weitere Informationen ben”tigen..

Die Rollbackphase der Installation wird gestartet.
Die Protokolldatei enth„lt den Fortschritt der Assembly C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll.
Die Datei befindet sich in C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.InstallLog.
Assembly C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll wird zurckgesetzt.
Betroffene Parameter:
   logtoconsole = 
   assemblypath = C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll
   logfile = C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.InstallLog
Ausnahmefehler beim Suchen der Installer in der Assembly C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll.
System.Reflection.ReflectionTypeLoadException: Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn Sie weitere Informationen ben
”tigen.
Die Installation von C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll wird abgebrochen.
W„hrend der Rollbackphase des Installers System.Configuration.Install.AssemblyInstaller ist eine Ausnahme aufgetreten.
System.InvalidOperationException: Die Installertypen in der Assembly C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll k”nnen nicht abgefragt werden.
Die interne Ausnahme System.Reflection.ReflectionTypeLoadException wurde mit folgender Fehlermeldung ausgel”st: Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die Lo
aderExceptions-Eigenschaft ab, wenn Sie weitere Informationen ben”tigen..
W„hrend der Rollbackphase der Installation ist eine Ausnahme aufgetreten. Diese Ausnahme wird ignoriert, und der Rollback wird fortgesetzt. Der ursprngliche Zustand des Computers wird jedoc
h m”glicherweise nicht vollst„ndig wiederhergestellt, nachdem der Rollback beendet ist.

Die Rollbackphase wurde erfolgreich abgeschlossen.

Die transaktive Installation ist abgeschlossen.
Fehler bei der Installation, und der Rollback wurde ausgefhrt.
Maybe someone knows anything about that?

Regards
Simon
PTide
Product Manager
Posts: 6431
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Can´t register PowerShell SnapIn

Post by PTide »

Hi,

I believe that this thread addresses your problem, please take a look. If that does not help, please open a case with support team - I am sure that some of them know German :wink:

Thank you.
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Can´t register PowerShell SnapIn

Post by veremin »

Also, sometimes re-installing update 2b might be needed. Thanks.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 25 guests