Model compatibility cannot be checked because the database does not contain model metadata. Ensure that IncludeMetadataConvention has been added to the DbModelBuilder conventions
2013-07-15 22:00
691 查看
Model compatibility cannot be checked because the database does not contain model metadata. Ensure that IncludeMetadataConvention has been added to the DbModelBuilder conventions
调试MVC3 web项目出的错。
原因:App_data 中已经存在数据库了,并且数据库正在被各种连接着。
相关文章推荐
- Code First 经常出现 Model compatibility cannot be checked because the database does not contain model metadata. Ensure that IncludeMetadataConvention has
- 解决Entity Framework Code First 的问题——Model compatibility cannot be checked because the database does not contain model metadata
- Online Music Store: EF 4 Code Only方式出错"Model compatibility cannot be checked because the database does not contain"
- 解决MVC EF Code First错误:Model compatibility cannot be checked because the EdmMetadata type was not included in the model.
- SQL恢复备份遇到错误 - his differential backup cannot be restored because the database has not been restored
- The service cannot be activated because it does not support ASP.NET compatibility. ASP.NET compatibility is enabled for this application. Turn off ASP.NET compatibility mode in the web.config or add the AspNetCompatibilityRequirements attribute to the ser
- 奇葩问题:This file could not be checked in because the original version of the file on the server was moved or deleted. A new version of this file has been saved to the server, but your check-in comments were not saved
- xxx couldn't be loaded because it has not been added to the build settings.
- The disk cannot be added to Cluster Shared Volumes because it does not have any suitable partitions
- The service cannot be activated because it does not support ASP.NET compatibility
- cannot be resolved to absolute file path because it does not reside in the file system
- The service cannot be activated because it does not support ASP.NET compatibility
- The service cannot be activated because it does not support ASP.NET compatibility
- cannot be resolved to absolute file path because it does not reside in the file system
- maven构建 出错:cannot be resolved to absolute file path because it does not reside in the file system
- The security settings could not be applied to the database because the connection has failed w
- The service cannot be activated because it does not support ASP.NET compatibility
- Resolve Error: The service cannot be activated because it does not support ASP.NET compatibility.
- cannot be resolved to absolute file path because it does not reside in the file system : jar:file:/D
- SQL Server 对等复制配置失败后无法删除重建,报错:Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be im