This project is read-only.

Razor runtime error - Invalid column name 'HostedById'

Nov 6, 2011 at 11: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 9:16 PM

I am also having a same issue...

Dec 24, 2011 at 1: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 1: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 :



Dec 24, 2011 at 11:15 AM

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