I have web application with MVC and in my local and other servers it's working proper but today, I am getting 'Internal connection fatal error...' in the code below.
I checked StackOverflow and I think this problem is different than this . Because in that question user solve problem with using block. In my problem I already use 'using' block.
using (DEMOEntities context = new DEMOEntities())
{
var retVal = context.Mg_Definitions();
ViewBag.List = retVal.ToList();// error occurs here
}
I'm using Entity Framework and I can get easily return value a stored procedure but when I attempt ToList I see an error?
Should I post the stack trace an error to get help?
Thanks