using dbml file in asp.net mvc
Im new to asp.net mvc and learning the mvc in asp.net by implementing small website. I have a sample database with some tables created using SQL express. Now I have created an empty mvc project in web developer 2010 express. To have a datacontext for the database I have used Linq to sql dbml file. 
Then I used the wizard to create a controller, where I have given the context as the datacontext from the dbml file, but this gives me "Unsupported context type".

Can anyone please say whether I can use the dbml file for creating the controller in the wizard.

Sorry if Im not clear in explaining the problem.
using dbml file in asp.net mvc
===

Im new to asp.net mvc and learning the mvc in asp.net by implementing small website. I have a sample database with some tables created using SQL express. Now I have created an empty mvc project in web developer 2010 express. To have a datacontext for the database I have used Linq to sql dbml file. 
Then I used the wizard to create a controller, where I have given the context as the datacontext from the dbml file, but this gives me "Unsupported context type".

Can anyone please say whether I can use the dbml file for creating the controller in the wizard.

Sorry if Im not clear in explaining the problem.