Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/59.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql “/”应用程序中出现服务器错误。编译代码时出错_Mysql_Asp.net Mvc - Fatal编程技术网

Mysql “/”应用程序中出现服务器错误。编译代码时出错

Mysql “/”应用程序中出现服务器错误。编译代码时出错,mysql,asp.net-mvc,Mysql,Asp.net Mvc,我经常犯这样的错误 我的代码中有没有遗漏什么 Error 6 The type or namespace name 'Data' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?)C:\Users\Administrator\documents\visual studio 2012\Projects\xxx\xxx\

我经常犯这样的错误

我的代码中有没有遗漏什么

Error   6   The type or namespace name 'Data' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?)C:\Users\Administrator\documents\visual studio 2012\Projects\xxx\xxx\Controllers\BaseController.cs    7   45  xxx

任何帮助都将不胜感激。

在BaseController.cs中查找类型或命名空间数据,并确保引用的程序集正确。 另外,在VisualStudio中右键单击该项目并确保该项目中的所有引用都正常,您将在找不到的任何引用旁边看到警告标志。如果缺少任何引用,请打开项目属性>引用路径>将文件夹添加到相关程序集