为什么我收到这个错误?

时间:2021-03-22 22:18:37

标签: adfs

我正在尝试按照这篇文章进行操作,但卡在了一个步骤上。我可以知道你的想法吗?

为 Windows Server 中的 AD FS 构建自定义身份验证方法 |微软文档

我正在在 ADFS 中注册您的提供商步骤,并在下面不断收到此错误。

PS C:\Users\Michael.MIKEHALL> $typeName = "MFAadapter.MyAdapter, MFAadapter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6a7ca71c35e5cdfd, processorArchitecture=MSIL”
Register-AdfsAuthenticationProvider -TypeName $typeName -Name “MyMFAAdapter”

Error:
Register-AdfsAuthenticationProvider : The authentication method MyMFAAdapter could not be loaded. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, 
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

注意它说它在错误中尝试加载版本 5.0.0.0 并且错误中的公钥不同,想法?

screenshot

0 个答案:

没有答案
相关问题