0

如果您能帮我解决我的问题,我将不胜感激。我无法在另一台计算机上打开我的网站,出现以下错误:

 Server Error in '/WebSite2' Application.

An attempt to attach an auto-named database for file C:\Users\evisen\Desktop\Amy the  conqueror\WebSite2\App_Data\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

  Exception Details: System.Data.SqlClient.SqlException: An attempt to attach an auto-named database for file C:\Users\evisen\Desktop\Amy the conqueror\WebSite2\App_Data\Database.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

 Source Error: 

 An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

我希望我已经尽可能具体了。谢谢!

4

1 回答 1

1

当您的连接字符串出现问题时,通常会出现此错误。尝试检查您的连接字符串。

另请查看此相关论坛。希望有帮助!

于 2013-10-13T18:13:39.840 回答