Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Octopus-Cmdlets\Octopus-Cmdlets.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) #4

Open
mcfly722 opened this issue Oct 14, 2016 · 3 comments

Comments

@mcfly722
Copy link

PS C:\Windows\system32> Import-Module Octopus-Cmdlets
Import-Module : Could not load file or assembly
'file:///C:\Users\mukhin_s\Documents\WindowsPowerShell\Modules\Octopus-Cmdlets\Octopus-Cmdlets.dll' or one of its
dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
At line:1 char:1

  • Import-Module Octopus-Cmdlets
  • - CategoryInfo          : NotSpecified: (:) [Import-Module], FileLoadException
    - FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.ImportModuleCommand
    
    

Tried with both 0.1.0 and 0.2.24 versions.

PS C:\Windows\system32> $PSVersionTable.PSVersion
Major Minor Build Revision


4 0 -1 -1

@Swoogan
Copy link
Owner

Swoogan commented Oct 22, 2016

Hello,

How did you install the module? Did you compile it from source or get it from PSGet or the PowerShell Gallery?

@mcfly722
Copy link
Author

I tried both methods with both versions. Same error every time.

I recorded *.pml (ProcMon log from Sysinternals Suite) during this error, it contains several errors that some files or registry hives could not be found (here link to this log: https://drive.google.com/open?id=0B6f_kTQWQkRgT2xxSHFlNDc4Y00).

Such as:
C:\Users\mukhin_s\Documents\WindowsPowerShell\Modules\Octopus-Cmdlets\Sprache.xml
C:\Windows\assembly*\Sprache
HKCU\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell

and so on.

Possibly it will helps to debug this error.

@JBashford
Copy link

I have this issue too. It has only started happening since one of my machines has needed a calamari update. The issue goes away when the calamari update is applied.

James

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants