Tony-SouthFLVMUG / vDiagram2.0

vDiagram 2.0 based off Alan Renouf's vDiagram
79 stars 17 forks source link

Retrieving the COM class factory for component with CLSID {00000000-0000-0000-0000-000000000000} failed #4

Open janderson2k opened 5 years ago

janderson2k commented 5 years ago

I am running version 2.0.7 of the script and have been getting this:

PS C:\Users\USERNAMEGOESHERE\Desktop\vDiagram2.0-master\vDiagram2.0-master> .\vDiagram_2.0.7.ps1 New-Object : Retrieving the COM class factory for component with CLSID {00000000-0000-0000-0000-000000000000} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). At C:\Users\USERNAMEGOESHERE\Desktop\vDiagram2.0-master\vDiagram2.0-master\vDiagram_2.0.7.ps1:4711 char:14

You cannot call a method on a null-valued expression. At C:\Users\USERNAMEGOESHERE\Desktop\vDiagram2.0-master\vDiagram2.0-master\vDiagram_2.0.7.ps1:4713 char:2

You cannot call a method on a null-valued expression. At C:\Users\USERNAMEGOESHERE\Desktop\vDiagram2.0-master\vDiagram2.0-master\vDiagram_2.0.7.ps1:4714 char:2

You cannot call a method on a null-valued expression. At C:\Users\USERNAMEGOESHERE\Desktop\vDiagram2.0-master\vDiagram2.0-master\vDiagram_2.0.7.ps1:4715 char:2

janderson2k commented 5 years ago

Powershell Ver : 5.1.17134.590 PowerCLI Mod 11.2.0.12780525 Visio 2016 32 bit

Tony-SouthFLVMUG commented 5 years ago

Did you unblock the file prior to unzipping and run as admin? I have been unable to replicate your issue on a test VM.