LightSwitch가 VS 2012에 설치되었습니다. 로컬 컴퓨터에 SQL Server 2012 Express가 설치되어 있습니다. Lightswitch가 로컬 개발 (VS 2012)에서 데이터베이스에 연결할 수 없습니다.
나는 새 테이블을 추가, 새 프로젝트를 생성하고, 나는 다음과 같은 오류가 프로젝트를 실행하면An error occurred while establishing a connection to SQL Server instance '(LocalDB)\v11.0'.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 50 - Local Database Runtime error occurred. Error occurred during LocalDB instance startup: SQL Server process failed to start.
이것은 나는 또한 겪은 C:\Users\xxx\Documents\Visual Studio 2012\Projects\NightApp\NightApp\NightApp.Server
<add name="_IntrinsicData"
connectionString="Data Source=|SqlExpressInstanceName|;AttachDbFilename=|ApplicationDatabasePath|;Integrated Security=True;Connect Timeout=30;MultipleActiveResultSets=True" />
<add name="2aaf8de2-05e2-49ae-aead-766e8c010988"
connectionString="Data Source=(localdb)\Projects;Initial Catalog=NightDB;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False" />
내 설정이다 how to change the connectionstrings of a lightswitch application in debug mode하지만 끝내지 못했습니다.
BTW, 2012 버전의 SQL Server 탐색기는 localdb에 연결할 수 있습니다.
아이디어가 있으십니까?
많은 솔루션을 다 써 버린 후 이것이 유일한 솔루션입니다. – Kris