MDF (1) 썸네일형 리스트형 System.Data.SqlClient.SqlException: An attempt to attach an auto-named database for file [LocalDB파일 경로] failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. LocalDB 파일로 개발하는 도중 만날 수 있는 예외 메시지입니다. 제가 만난 경우는 메인프로젝트의 App_Data 폴더에 xxxx.mdf local DB가 있고 유닛테스트 프로젝트에서는 참조해서 쓰는 경우에 발생했습니다. 메인 프로젝트의 Web.config 의 Connection String 섹션명과 유닛테스트 프로젝트의 App.config 의 Connection String 섹션 명이 같게 설정되어 있습니다. 관련 내용 검색은 1. localDB data source http://stackoverflow.com/questions/21563940/how-to-connect-to-localdb-in-visual-studio-server-explorer 2. UNC share 관련 http://forum.. 이전 1 다음