在未知模块中发生了类型为'System.ExecutionEngineException'的未处理异常。发生

时间:2019-08-25 20:19:34

标签: .net-core odata

我在运行odata 7.1.0的.net core 2.2中收到以下错误。
错误:

  

类型为'System.ExecutionEngineException'的未处理异常   发生在未知模块中。发生

该错误似乎是由countdistinct函数触发的。否则,该应用程序似乎运行正常。当错误发生时,应用程序停止。

这有效

http://localhost:5000/odata/Uploads?$skip=0&$top=10&$count=true&$apply=groupby((uploadStatus))

这会导致错误

http://localhost:5000/odata/Uploads?$skip=0&$top=10&$count=true&$apply=groupby((uploadStatus),aggregate(uploadID%20with%20countdistinct%20as%20total))

1 个答案:

答案 0 :(得分:0)

我升级了odata的版本,错误消失了。