2017-12-09 72 views
2

데이터 입력을 위해 SQL Server로 첫 번째 웹 사이트를 개발했습니다.godaddy에서 VB.NET 사이트 (로컬 IIS 및 SQL Server 사용) : connectionstring을 설정하는 방법은 무엇입니까?

로컬 PC에서 완벽하게 작동하며 사이트를 Godaddy에 업로드하는 것에 대한 질문이 있습니다.

그것은 열려 있지만 로그인 (또는 새 로그인을 만들 수)려고 할 때, 다음과 같은 오류 메시지가 나타납니다

<connectionStrings> 
    <add name="ConnectionString" 
     connectionString="Data Source=n1nwvsddcsdb023.shr.prod.ams1.secureserver.net;User ID=testUser;Password=test57;Initial Catalog=DataB" 
     providerName="System.Data.SqlClient" /> 

    <remove name="LocalSqlServer"/> 
    <add name="LocalSqlServer" 
     providerName="System.Data.SqlClient" 
     connectionString="Data Source=n1nwvsddcsdb023.shr.prod.ams1.secureserver.net;User ID=testUser;Password=test57;Initial Catalog=DatabaseB" /> 
</connectionStrings> 
:

Exception Details: System.ComponentModel.Win32Exception: The user name or password is incorrect

[Win32Exception (0x80004005): The user name or password is incorrect]

[SqlException (0x80131904): 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)] System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential creden ....

나는이 연결 문자열에 의해 발생하고 있다고 생각

어떻게 설정해야하는지 조언 해 주시겠습니까?

+0

이 설치 MS SQL은 고대 디는 연결 문자열 당신에게 신속한 피드백을 –

+0

많은 감사를 제공, 내 기본 DataB에 대한 명확한 모습을 (여기서 테이블입니다 입력 된 데이터와 함께), 나는 중요한 질문 DatabaseB, 내가 어디에 (어떻게 웹 서버 관리 도구를 통해) 사용자 로그인, 그룹, 절차를 배치, 연결되어야한다고 생각하십니까? – Alexander

+0

질문은 간단해야합니다. – Alexander

답변