[英]Why does Visual Studio tell me that a database exists when it does not?
I get the following error, but I am certain the database does not exist. 我收到以下错误,但是我确定数据库不存在。 Why does Visual Studio tell me that it does ?
为什么Visual Studio告诉我它呢? Maybe it did exist at one time, but I have searched the entire hard drive and it is no where to be found.
也许它确实曾经存在过,但是我已经搜索了整个硬盘,却找不到它。
[SqlException (0x80131904): Database 'C:\Users\develop1\Documents\Visual Studio 2013\Projects\ToolingDevelopmentFolder3\ColdDrawWeb2\App_Data\aspnet-ColdDrawWeb3-20131218105113.mdf' already exists. Choose a different database name.
Don't look for that mdf file. 不要寻找该mdf文件。 Look for another mdf file with a completely different name, but that represents a database with the same name in Sql Server.
查找具有完全不同名称的另一个mdf文件,但该文件表示Sql Server中具有相同名称的数据库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.