Bug记录
Bug记录
L_Darker
这个作者很懒,什么都没留下…
展开
-
HTTP 错误 500.19 - Internal Server Error
项目场景:将.net 5项目部署到IIS问题描述:原因分析:没有安装dotnet-hosting-5.0.1-win.exe解决方案:下载安装dotnet-hosting-5.0.1-win.exe原创 2021-03-10 10:32:51 · 169 阅读 · 0 评论 -
Unable to determine the relationship represented by navigation ‘XXX‘ of type ‘XXX‘.
项目场景:ABP项目执行数据库迁移问题描述:Unable to determine the relationship represented by navigation 'XXX' of type 'XXX'. Either manually configure the relationship, or ignore this property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in '原创 2021-03-10 09:42:16 · 1358 阅读 · 0 评论 -
Newtonsoft.Json.JsonSerializationException: Self referencing loop detected with type
项目场景:ABP 级联查询序列化时循环引用报错问题描述:[Table("School")]public class School : Entity<int>{ public string Name { get; set; } public virtual List<Student> Students { get; set; } } [Table("Student")] public class Student : Entity<int> {原创 2021-02-23 17:33:07 · 4439 阅读 · 0 评论 -
Cannot access a disposed context instance.
项目场景:ABP领域层 - 领域事件问题描述:实体创建后执行_respority.GetAll()方法时出错,错误信息:Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same contex原创 2021-02-23 17:15:01 · 6178 阅读 · 0 评论