ServiceStack Ormlite: System.InvalidProgramException JIT Compiler encountered an internal limitation

匿名 (未验证) 提交于 2019-12-03 01:38:01

问题:

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?

回答1:

I turned off IntelliTrace and it works again.



易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!