Microsoft Visual Studio 2010控制器创建错误 [英] Microsoft Visual Studio 2010 Controller Creation Error

查看:125
本文介绍了Microsoft Visual Studio 2010控制器创建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!我有一个问题..我只想问一下我的Visual Studio 2010 Ultimate存在什么问题.当我尝试创建一个新的控制器时,这是我要做的第一件事..

我从Model类:WCT2Entities(WCT2.Models)和数据上下文类:customer(WCT2.Models)中键入内容,然后已经发生错误..它表示不受支持的上下文类型.

之后,当我反转模型类和数据上下文类..时,仍然会发生错误,并指出无法加载文件或程序集或其依赖项之一.不支持操作(来自HRESULT的异常:0x80131515)..

(顺便说一句,执行这些操作时我一直在使用MVC3)

修复它的最佳方法是什么?我已经重新安装了它,但仍然给了我同样的错误.由于这个问题,我无法创建控制器.请帮助我..

Hi everyone! I have a question .. I would just like to ask what is the problem with my Visual Studio 2010 Ultimate. When I tried to create a new controller, this was the first thing that I do ..

I typed from the Model class: WCT2Entities (WCT2.Models) and from the Data context class: customer(WCT2.Models), then an error already occur .. it says Unsupported context type.

After that when I reverse the model class and the data context class .. an error still occur and it says that Could not load file or assembly or one of its dependencies. OPeration is not supported (Exception from HRESULT: 0x80131515)..

(BY the way, MVC3 is the one that i been using when performing these)

What is the best way to fix it? I''ve already reinstall it but still it gives me the same error. I can''t create a controller because of this problem. Please help me..

推荐答案

检查这些链接
http://forums.asp.net/t/1672730.aspx/1 [ ^ ]

http://stackoverflow.com/Questions/4762857/using-sql-server-ce-4-on-a-remote-host-with-mvc-3 [
Check theese links
http://forums.asp.net/t/1672730.aspx/1[^]

http://stackoverflow.com/questions/4762857/using-sql-server-ce-4-on-a-remote-host-with-mvc-3[^]


这篇关于Microsoft Visual Studio 2010控制器创建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆