Skip to content

Error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. #3228

@TheBigBear

Description

@TheBigBear

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.

What You Are Seeing?

When I try to run choco or choco --version or choco list after I upgraded from chocolatey 1.40 to 2.0.0 chocolatey does not see to start up at all. All I get is a single line of output saying:

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

I will include the .NET framework install-info from that Windows server 2016 install.

choco.summary.log

chocolatey.log

asoftreport.txt

dotnetversions.txt

What is Expected?

I expect chocolatey to start up and give me the helpscreen or the version number or the list of installed packages. But instead I get a single line saying:

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

How Did You Get This To Happen?

I ran all of these cmds
choco

choco --version

choco list

System Details

  • Operating System: 10.0.14393.0
  • Windows PowerShell version: 5.1.14393.5582
  • Chocolatey CLI Version: only gives above error
  • Chocolatey Licensed Extension version: only gives above error
  • Chocolatey License type: no license purchased - free edition
  • Terminal/Emulator: windows powershell

Installed Packages

can't show installed packages as it errors out

Output Log

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.


### Additional Context

_No response_

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions