ServiceStack Ormlite:System.InvalidProgramException JIT 编译器遇到内部限制 [英] ServiceStack Ormlite: System.InvalidProgramException JIT Compiler encountered an internal limitation

查看:33
本文介绍了ServiceStack Ormlite:System.InvalidProgramException JIT 编译器遇到内部限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Ormlite 运行 ServiceStack,但遇到了这个错误.以前它工作正常.我不确定导致此错误的更改.我只是使用了一个简单的 db.Select() 调用,它抛出了这个错误.我尝试了各种方法,比如更新 nuget 包、清理和重建项目等,但都没有奏效.

Hi i'm running ServiceStack with Ormlite and I encountered this error. Previously it is working fine. I'm not sure what I have changed that caused this error. I just used a simple db.Select() call and it throws this error. I tried various ways, like updating the nuget packages, clean and rebuild the project, etc and none of them works.

System.InvalidProgramException was caught
  _HResult=-2146233030
  _message=JIT Compiler encountered an internal limitation.
  HResult=-2146233030
  IsTransient=false
  Message=JIT Compiler encountered an internal limitation.
  Source=ServiceStack.OrmLite
  StackTrace:
       at ServiceStack.OrmLite.OrmLiteConfig.get_ExecFilter()
       at ServiceStack.OrmLite.ReadConnectionExtensions.Exec[T](IDbConnection dbConn, Func`2 filter)
       at ServiceStack.OrmLite.ReadConnectionExtensions.Select[T](IDbConnection dbConn, Expression`1 predicate)
   InnerException: 

有人可以建议可能出了什么问题吗?

can anyone suggest what might went wrong?

推荐答案

我关闭了 IntelliTrace,它又可以工作了.

I turned off IntelliTrace and it works again.

这篇关于ServiceStack Ormlite:System.InvalidProgramException JIT 编译器遇到内部限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆