Abp Vnext 部署,System.Security.Cryptography.CryptographicException: 拒绝访问。
Abp Vnext 部署 *.AuthServer项目
System.Security.Cryptography.CryptographicException: 拒绝访问。
错误描述:
在Abp Vnext 授权项目发布到WIndows Server2016 IIS发布后,报:拒绝访问。
错误日志:
1 2099-09-26 11:21:06.427 +08:00 [FTL] *.AuthServer terminated unexpectedly! 2 Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=7.3.3.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. 3 ---> System.Security.Cryptography.CryptographicException: 拒绝访问。 4 at System.Security.Cryptography.X509Certificates.StorePal.FromSystemStore(String storeName, StoreLocation storeLocation, OpenFlags openFlags) 5 at System.Security.Cryptography.X509Certificates.X509Store.Open(OpenFlags flags)
解决方式:
打开IIS ==》应用程序池 ==》高级设置 ==》进程模型 ==》标识:修改为LocalSystem

问题解决,大家共勉
------------剧终------------ 转载请注明出处,谢谢

浙公网安备 33010602011771号