Razor runtime error - Invalid column name 'HostedById'

Nov 6, 2011 at 10:48 PM

When I download the latest Nerd dinner changeset (70027 and run the VS2010-MVC3-Razor solution, the GetMostPopularDinners ActionMethod of the "Search" controller throws a run time error.  The message is  {"Invalid column name 'HostedById'."}   Line 94 triggers the error.  The statement is:

  return Json(jsonDinners.ToList());

To reproduce this error, simply launch the application.


Dec 23, 2011 at 8:16 PM

I am also having a same issue...

Dec 24, 2011 at 12:33 AM

I will continue trying to fix this. If I'm able to, I'll submit my solution here. Please you do the same too. 

P.S. I'm running IIS7, otherwise everything is the same as in the download zip. 

Dec 24, 2011 at 12:59 AM

The solution

Ok! I found the solution. My webhotel was running IIS 7.0 in classic mode, so I changed it to integrated mode. Now it's working :)

I got the solution from : http://forums.asp.net/p/1502332/4747821.aspx/1?p=True&t=634602706661366171



Dec 24, 2011 at 10:15 AM

by click the link...i am getting this You don't have permission to access this group, forum, or thread.