System.Security.Cryptography.CryptographicException: 拒绝访问
1.问题描述
在ABPVnext 授权项目发布到WIndows Server2012 发布之后无法访问的问题。
错误信息:
An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=7.1.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
---> System.Security.Cryptography.CryptographicException: 拒绝访问。
2.解决方式
打开应用程序池→高级设置→进程模型→标识 修改为LocalSystem