error .mdf file unable to attach in Visual Studio 2013 win (转载)
error .mdf file unable to attach in Visual Studio 2013 win (转载)# Programming - 葵花宝典
y*i
1 楼
如果签证通过后,从沈阳寄到大连需多长时间呀?谢谢
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 !