-
Notifications
You must be signed in to change notification settings - Fork 133
Description
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 F:\Downloads\ConvertOneNote2MarkDown-master\ConvertOneNote2MarkDown.ps1:47 char:14
- $OneNote = New-Object -ComObject OneNote.Application
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : ResourceUnavailable: (:) [New-Object], COMException
- FullyQualifiedErrorId : NoCOMClassIdentified,Microsoft.PowerShell.Commands.NewObjectCommand
Unable to find type [Microsoft.Office.InterOp.OneNote.HierarchyScope].
At F:\Downloads\ConvertOneNote2MarkDown-master\ConvertOneNote2MarkDown.ps1:50 char:29
- ... erarchy("", [Microsoft.Office.InterOp.OneNote.HierarchyScope]::hsPage ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (Microsoft.Offic....HierarchyScope:TypeName) [], RuntimeException
- FullyQualifiedErrorId : TypeNotFound
Exception calling "ReleaseComObject" with "1" argument(s): "Object reference not set to an instance of an object."
At F:\Downloads\ConvertOneNote2MarkDown-master\ConvertOneNote2MarkDown.ps1:248 char:3
- [System.Runtime.Interopservices.Marshal]::ReleaseComObject($OneNote ...
-
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : NullReferenceException
Remove-Variable : Cannot find a variable with the name 'OneNote'.
At F:\Downloads\ConvertOneNote2MarkDown-master\ConvertOneNote2MarkDown.ps1:249 char:3
- Remove-Variable OneNote
-
+ CategoryInfo : ObjectNotFound: (OneNote:String) [Remove-Variable], ItemNotFoundException + FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand