随笔分类 - abp 常见错误
错误小日记
摘要:场景:abp发布到iis后,发现访问链接数据库的接口,都返回如下: 1 { 2 "Code": 1, 3 "Message": "Instance failure.", 4 "Success": false, 5 "Timestamp": 1624431552715 6 } 初步分析:显示实例错误,
阅读全文
摘要:swagger调试时,api400,查看日志,内容如下: 2021-02-08 15:45:43.614 +08:00 [ERR] The required antiforgery cookie ".AspNetCore.Antiforgery.jqQT4c4FfP4" is not present
阅读全文
摘要:访问swagger时报错,查看日志后如下: 1 2021-02-07 10:42:57.098 +08:00 [ERR] An unhandled exception has occurred while executing the request. 2 Swashbuckle.AspNetCore
阅读全文
摘要:今天想加个自定义的api,页面直接报500,查看日志后,下图: 1 2021-02-07 10:32:54.874 +08:00 [FTL] Host terminated unexpectedly! 2 Autofac.Core.Activators.Reflection.NoConstructo
阅读全文