내가 비주얼 스튜디오 2008을 사용하고 SQL Server 데이터베이스에 연결할 수 없습니다, MS SQL 서버 2008 익스프레스웹 사이트 관리 도구 :
는SQL 서버 : zeroonea의 \의 SQL2008EXPRESS는
나는 webproject을 만들 수있어, 만든 App_Data의 dbtest.mdf가 일부 테이블을 만들었으며 aspnet_regsql을 사용하여 멤버십 테이블을 만들었습니다. 모든 것이 정상적으로 작동합니다. Web.config의에서
내 연결 문자열 : 내가 웹 사이트 관리 도구를 실행할 때
하지만, 클릭 내가 웹 응용 프로그램을 실행할 때
<connectionStrings>
<add name="dbtestConnectionString" connectionString="Data Source=zeroonea\SQL2008EXPRESS;Initial Catalog=dbtest;Persist Security Info=True;User ID=***;Password=***"
providerName="System.Data.SqlClient" />
</connectionStrings>
그것은 여전히 작동 코드는 SQL 서버에 연결할 수 있습니다 보안 탭에서 오류가 발생했습니다.
There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.
The following message may help in diagnosing the problem: Unable to connect to SQL Server database.
의견이 있습니까?
나는 "dbtestConnectionString"이라는 이름을 "LocalSqlServer"로 바꿔야한다. 문제는 – complez