Question: I'm creating a new MVC 3 application.  

Steps taken:  

1. Added new model by right clicking on Models and adding "LINQ to SQL Classes"  

2. Dragged tables from Server Explorer to my new dbml layout and saved  

3. Right click on Controllers->Add->Controller  

4. Enter the following information:  

> 
> **Controller name:** UserController  
> 
> **Template:** Controller with read/write actions and views, using Entity Framework  
> 
> **Model Class:** aspnet\_User (TierPay)  
> 
> **Data Context Class:** AgricultureDataContext (TierPay)  
> 
> **Views:** Razor (VBHTML)  
> 
> 
> 
> 

5.Click Add  

6.Get the following error:  

**Unsupported context type.**

I've Googled around and haven't found any answers.
Thanks!

Answer: 
I got this error message when I had mixed the "model class" and "data context class".
I am not sure if this is exactly what you were looking for.. but I noticed the same error myself..
Google was not much help and I wound up spotting the issue myself.

Possible Solution:

If you are creating a Model that contains an EF (Entity Framework) class that extends to another class.. make sure that you are extending that constructor to the intended EF class and not the Model Class file unintentionally..

I apologize for the poor explanation but I am new to this..
Let me know if this helps.

Regards