Visual Studio 2010から、Windows認証を指定することでSQL ServerExpress2005インスタンスに接続できます。ただし、機能しないようなコマンドを使用すると、次のようになります。
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>osql -S SQLEXPRESS -U Quixote
nt -P Password.0
[SQL Native Client]Named Pipes Provider: Could not open a connection to SQL
Server [53].
[SQL Native Client]Login timeout expired
[SQL Native Client]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.
ちなみに、上記は実際には私のウィンドウの名前とパスワードをリストしていません-私は例を置き換えただけです。私は何が間違っているのですか?