2013-10-13 2 views
0

내 문제를 해결할 수 있다면 정말 고맙겠습니다. 다른 컴퓨터에서 내 웹 사이트를 열 수 없습니다. 다음 오류가 발생합니다.ASP.NET 관련 오류

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. 

나는 내가 할 수있는 한 구체적으로하고 싶습니다. 고맙습니다!

+0

이 내 연결 문자열 데이터 소스 =입니다 \ SQLEXPRESS; 인 AttachDBFilename =. "C : \ 사용자 \ evisen \ 바탕 화면 \ 에이미 정복자 \ WEBSITE2 \ WEBSITE2 \ App_Data Database.mdf \"; 통합 보안 = TRUE; 연결 시간 초과 = 30, 사용자 인스턴스 = True – Analya

답변

1

이 오류는 일반적으로 연결 문자열에 문제가있을 때 발생합니다. 연결 문자열을 확인하십시오.

관련 항목 forum도 확인하십시오. 희망이 도움이됩니다!