由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - error .mdf file unable to attach in Visual Studio 2013 win (转载)
相关主题
Microsoft Visual C++ 2010 ExpressHow can I find if sp1 is installed for my visual studio 200
node.js大家一般用什么framework?请问 哪里有下microsoft visual studio 2005啊?
Unable to build WeChat API's Sample with Android Studio (转载)一个WinXP下的qt3小问题
VISUAL STUDIO 2005 输出窗口(output) 怎么找不到?Microsoft Visual Studio Expression edition 是万全free的吗?
visual studio 2005怎么code profiling?如何让visual studio缺省以\n结束,而不是以\r\n结束
问个DLL调用问题请问visual studio里怎么能自动加一个文件到project里?
exe file compild by C++ cannot be run by another computervisual studio版本
A Version problem of Visual StudioVisual Studio Express是免费的么?
相关话题的讨论汇总
话题: visual话题: studio话题: database话题: boolean话题: newcontext
进入Programming版参与讨论
1 (共1页)
l******9
发帖数: 579
1
【 以下文字转载自 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 !
1 (共1页)
进入Programming版参与讨论
相关主题
Visual Studio Express是免费的么?visual studio 2005怎么code profiling?
Visual Studio有木这个功能?问个DLL调用问题
熟悉visual studio的朋友请帮一下忙exe file compild by C++ cannot be run by another computer
visual studio 2008学校哪里下载?A Version problem of Visual Studio
Microsoft Visual C++ 2010 ExpressHow can I find if sp1 is installed for my visual studio 200
node.js大家一般用什么framework?请问 哪里有下microsoft visual studio 2005啊?
Unable to build WeChat API's Sample with Android Studio (转载)一个WinXP下的qt3小问题
VISUAL STUDIO 2005 输出窗口(output) 怎么找不到?Microsoft Visual Studio Expression edition 是万全free的吗?
相关话题的讨论汇总
话题: visual话题: studio话题: database话题: boolean话题: newcontext