System.TypeInitializationException: 'The type initializer for 'Microsoft.EntityFrameworkCore.Query.QueryableMethods' threw an exception.'

Pawan Mehta 0 Reputation points
2023-02-11T15:35:40.6966667+00:00

InvalidOperationException: Sequence contains more than one matching element , While update the .net core version 3.1 to 6.0 using abp Framework, the FirstOrDeafult, toList any extension not working

Community Center Not monitored
{count} votes

1 answer

Sort by: Most helpful
  1. Sharad Salunkhe 0 Reputation points
    2024-01-10T06:39:55.2766667+00:00

    I had also the same issue, I was using the Azure function and shared library for SQL operation but the Nuget package for both projects was different so causing this issue.

    this may happen due to differences in Nuget packages.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.