Base solution for your next web application
Open Closed

There is no such an entity , Entity type: 177 #6997


User avatar
0
razkhan78 created

We have 2 DB on a local server and on the live server.

We have one method that fetches data based on primary key id from "Risks" table.

var riskDetail =  _riskRepository.Get(input.Id??0);

It gives me an error when I run on live server with live db but it is working on local server with local db I have checked live server's DB schema is same, a table is there and data is also there in the table, still, it is giving this error.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @razkhan78

    Are you able to run SQL profiler on the live database to see the executed query ?