Facebook canvas app ASP.NET MVC HttpException: Invalid Model
- by zznq
I am working on a Facebook tab application. I am using asp.net MVC 2 with the "official" Microsoft Facebook SDK.
Most of my views are working just fine.
However, I have one that is causing a huge mess. I am simply returning a List<Tags> to the view and as my ViewModel. This problematic view is simply displaying the list in a foreach loop. Whenever navigate to this view I get a "System.Web.HttpException: Invalid Model" exception.
The most puzzling part of all this is that the same code is running without fail on our regular(non-Facebook) app that works just fine with the same code.
Any insight into why Facebook and asp.net MVC 2 would be causing this behavior would be much appreciated.