Click here to Skip to main content
15,896,153 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I installed mvc in my system.Am using Model First and Entity Framework 4.1. And when i am creating controller it shows an error message "UNSUPPORTED CONTEXT TYPE" .I searched in google but i didnt find the actual solution. Is it installation problem or problem from me..

i think the problem regarding the entity framework version . my os is xp.so that we add extra powershellpackage to run mvc
When am trying to install mvcscaffolding the message showing like this..
Install-Package MvcScaffolding
Attempting to resolve dependency 'T4Scaffolding'.
Attempting to resolve dependency 'EntityFramework (≥ 4.1.10311.0)'.
You are downloading EntityFramework from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkId=224682. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'EntityFramework 4.1.10715.0'.
Successfully installed 'T4Scaffolding 1.0.5'.
Successfully installed 'MvcScaffolding 1.0.6'.
Successfully removed 'EntityFramework 4.1.10331.0' from MvcApplication2.
Successfully added 'EntityFramework 4.1.10715.0' to MvcApplication2.
Successfully added 'T4Scaffolding 1.0.5' to MvcApplication2.
Successfully added 'MvcScaffolding 1.0.6' to MvcApplication2.
Successfully uninstalled 'EntityFramework 4.1.10331.0'.


and when amtrying to add controller the error "UNSUPPORTED CONTEXT TYPE" is showing.


Expecting your reply..


Thanks,

Aswathi Narayan.
Posted
Updated 25-Apr-12 20:42pm
v4
Comments
Kizax 30-Aug-15 23:30pm    
Hi Aswathi Narayan,
when I 'm trying to add controller the error "UNSUPPORTED CONTEXT TYPE" same You.
If you resolved problem reply and help me, Thank!

1 solution

Have a look at this discussion: Similar discussion resolved[^]
 
Share this answer
 
Comments
Aswathi Narayan 23-Apr-12 0:21am    
I saw that discussion. but it didnt help me to solve my problem..
Rabbil 21-Jan-13 3:55am    
Hi Aswathi !! did u resolved your query??please, let me knw as i'm also facing the same problem but my os is win7.reply soon

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900