Facebook canvas app ASP.NET MVC HttpException: Invalid Model
Posted
by zznq
on Stack Overflow
See other posts from Stack Overflow
or by zznq
Published on 2010-03-19T23:26:33Z
Indexed on
2010/03/19
23:31 UTC
Read the original article
Hit count: 399
asp.net-mvc
|facebook-application
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.
© Stack Overflow or respective owner