I'm trying to connect to the local instance of Sql Server Express which came with VS2005. from the command line I enter [tt]osql -E[/tt] and I get the follow error:
[SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2]. 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 becaused by the fact that under the default settings SQL Server does not allow remote connections.
All configurations are running default values. SQL Server runs under the network account. NamedPipes, TCP/IP & Aliases are all disabled. Remote connections are disabled.
I tried enabling the different connection types and setting the properties (along with restarting the service) but that didn't work. The same exception was thrown. I wouldn't consider my connection to be remote because the service is on my local box and I want to create a database on the local box.
I'm doing this from the command line because I want to use the nant automated build features to build my database.
Has anybody else experienced this problem? Thank you for your assistance.
Jason Meckley
Programmer
Specialty Bakers, Inc.
[SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2]. 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 becaused by the fact that under the default settings SQL Server does not allow remote connections.
All configurations are running default values. SQL Server runs under the network account. NamedPipes, TCP/IP & Aliases are all disabled. Remote connections are disabled.
I tried enabling the different connection types and setting the properties (along with restarting the service) but that didn't work. The same exception was thrown. I wouldn't consider my connection to be remote because the service is on my local box and I want to create a database on the local box.
I'm doing this from the command line because I want to use the nant automated build features to build my database.
Has anybody else experienced this problem? Thank you for your assistance.
Jason Meckley
Programmer
Specialty Bakers, Inc.