로컬 개발 환경에서 작동하는 로그인 페이지가 있습니다. 웹 서버에 사이트를 푸시하면 asp.net 로그인 컨트롤에서 로그인 할 때이 오류가 발생합니다.로그인 할 때 SQL 연결 오류가 발생합니다.
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
왜 서버에서 작동하지 않는지 알 수 없습니다. web.config에 아무 것도 추가하거나 변경해야합니까?
내가 app_Data 로컬 연결 ./SQLEXPRESS의 내부 aspnetdb.mdf 인스턴스를 사용하고 연결 얻을 것이다. 이것이 변경되어야합니까? –
TCP/IP 확인을 시도했지만 켜져 있습니다. 나는 그 문제가 무엇인지 파악할 수 없다. –