2010-11-27 3 views
3

SMS를 받고 분석하고 메시지에 응답하는 SMS 서버를 개발합니다. 이 응용 프로그램은 엔터티 프레임 워크 4.0 및 SQLServer 2008로 개발되었습니다.서버와 성공적으로 연결되었지만 사전 로그인 핸드 셰이크/로그인 프로세스 중에 오류가 발생했습니다.

SMS를 수신하면 해당 메시지와 분석 및 메시지에 대한 응답을 위해 새 스레드를 실행합니다. 각 스레드는 고유 한 개체 컨텍스트 인스턴스를 가지며 모든 스레드는 SQL Server에서 동일한 저장 프로 시저를 호출합니다.

그러나 SMS의 많은 수의 서버와 스레드 증가 수에 도착했을 때, 나는 때마다이 두 오류 중 하나 얻을 : 나는 최대 풀 크기를 증가시키고

The underlying provider failed on Open. A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (Provider: TCP Provider, error: 0 - The specified network name is no longer available.)

또는

The underlying provider failed on Open. A connection was successfully established with the server, but then an error occurred during the login process. (Provider: TCP Provider, error: 0 - The specified network name is no longer available.)

을 시간 제한을 400과 150에 연결하십시오. 아무도 도와 줄 수 있습니까 ?? Thanx

+0

이 문제를 해결할 수 있습니까? 동일한 문제가 있습니다. –

답변

1

이 될 수 있습니다. 이 작업을 수행하려고 : sp_configure 'user connections', 0 go reconfigure with override


는 또한 Connections section에서 서버 속성을 확인, 당신의 매개 변수가 있음 : Maximum number of concurrent connections 0 (무제한)로 설정됩니다.

관련 문제