2011-12-21 13 views
0

SQL接続を開こうとしたときはいつでも。私はこの例外を取得:修正方法:ログイン処理中のSQLException

sqlConn.Open()

A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)

私はこれをどのように修正すればよいですか?

答えて

0

このエラーは、SQL Serverが接続を閉じる場合に発生します。どの資格情報を使用しますか? msdn/social net

The best is to check for any messages from SQL Server correlated to the time of the failure - either in the Application EventLog or in the ERRORLOG file (by default located in the C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG directory). There is a chance they provide more information to identify the root cause of the failure.

から