Redian新闻
>
error .mdf file unable to attach in Visual Studio 2013 win (转载)
avatar
error .mdf file unable to attach in Visual Studio 2013 win (转载)# Programming - 葵花宝典
y*i
1
如果签证通过后,从沈阳寄到大连需多长时间呀?谢谢
avatar
l*9
2
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: error .mdf file unable to attach in Visual Studio 2013 win 7
发信站: BBS 未名空间站 (Mon Feb 16 19:26:34 2015, 美东)
I am working on RESTful Web services design in Visual Studio 2013 on Windows
7.
I need to run the command of Update-Database to create the database in code-
first migrations in a project.
But I get an error:
System.Data.SqlClient.SqlException : Cannot attach the file 'C:MyPathApp
_DataProductReview_newContext-20150216131927.mdf' as database 'ProductReview
_newContext-20150216131927'.
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(
DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean
allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions
, DbConnectionInternal& connection)
Thanks !
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。