Showing posts with label connection. Show all posts
Showing posts with label connection. Show all posts

Tuesday, March 20, 2012

3 Login failed every second

Hi.
In my system since 27th april every second appears in event\application
three failed connection with sa.

How can is possible ?

On this server there are all my website.

Can you help me ?

Saimon(Florence)Saimon (saimon181072@.supereva.it) writes:
> In my system since 27th april every second appears in event\application
> three failed connection with sa.
> How can is possible ?
> On this server there are all my website.

Is the server exposed on the Internet? In such case be glad as long as
the connection attempts fails.

--
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.aspsql

Thursday, March 8, 2012

25 MSDE Connections

In the MSDE Edition of Sql Server 2000 there is a limit of 25 connections.
What is the definition of a "connection"? For example, if I create a
connection pool of 5 connections in an application, does that count as 5
against the 25?
-Thanks
-Tom
hi Tom,
Tom Celica wrote:
> In the MSDE Edition of Sql Server 2000 there is a limit of 25
> connections. What is the definition of a "connection"? For
> example, if I create a connection pool of 5 connections in an
> application, does that count as 5 against the 25?
there's not such a limit of "25 connection"... this magic number is just a
guess about the probably supported load of an MSDE instance.. and it fo
course is influenced by your architectural design, both within the db and
the app...
please have a look at
http://msdn.microsoft.com/library/?u...asp?frame=true
for all available info about the built in Workload Governor..
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.14.0 - DbaMgr ver 0.59.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply

25 MSDE Connections

In the MSDE Edition of Sql Server 2000 there is a limit of 25 connections.
What is the definition of a "connection"? For example, if I create a
connection pool of 5 connections in an application, does that count as 5
against the 25?
-Thanks
-Tom
I didn't know there was a hard limit but the soft limit was actually 5.
Over 5 concurrent connections and it would start to throttle back your
performance. I don't know for sure but the license probably states a limit
of 5 concurrent connections. It was not intended to be used for that many
connections. That is what the standard edition is for. A connection is
anytime someone is connected to the server. If the pool has 5 open
connections then it is 5 connections.
Andrew J. Kelly SQL MVP
"Tom Celica" <tom@.dontreply.com> wrote in message
news:V1%Ae.1617$_%4.505@.newssvr14.news.prodigy.com ...
> In the MSDE Edition of Sql Server 2000 there is a limit of 25 connections.
> What is the definition of a "connection"? For example, if I create a
> connection pool of 5 connections in an application, does that count as 5
> against the 25?
> -Thanks
> -Tom
>
|||AFAIK there is no such limit. What makes you say that the limit is 25?
MSDE is optimized for 5 connections or less so if you want 25
connections you should probably be considering Standard or Workgroup
edition.
David Portas
SQL Server MVP

25 MSDE Connections

In the MSDE Edition of Sql Server 2000 there is a limit of 25 connections.
What is the definition of a "connection"? For example, if I create a
connection pool of 5 connections in an application, does that count as 5
against the 25?
-Thanks
-TomIndependently answered to many of the independently posted questions.
Please refrain from posting the same question independently to multiple
newsgroups.
"Tom Celica" <tom@.dontreply.com> wrote in message
news:s3%Ae.1619$_%4.824@.newssvr14.news.prodigy.com...
> In the MSDE Edition of Sql Server 2000 there is a limit of 25 connections.
> What is the definition of a "connection"? For example, if I create a
> connection pool of 5 connections in an application, does that count as 5
> against the 25?
> -Thanks
> -Tom
>

25 MSDE Connections

In the MSDE Edition of Sql Server 2000 there is a limit of 25 connections.
What is the definition of a "connection"? For example, if I create a
connection pool of 5 connections in an application, does that count as 5
against the 25?
-Thanks
-TomI didn't know there was a hard limit but the soft limit was actually 5.
Over 5 concurrent connections and it would start to throttle back your
performance. I don't know for sure but the license probably states a limit
of 5 concurrent connections. It was not intended to be used for that many
connections. That is what the standard edition is for. A connection is
anytime someone is connected to the server. If the pool has 5 open
connections then it is 5 connections.
Andrew J. Kelly SQL MVP
"Tom Celica" <tom@.dontreply.com> wrote in message
news:V1%Ae.1617$_%4.505@.newssvr14.news.prodigy.com...
> In the MSDE Edition of Sql Server 2000 there is a limit of 25 connections.
> What is the definition of a "connection"? For example, if I create a
> connection pool of 5 connections in an application, does that count as 5
> against the 25?
> -Thanks
> -Tom
>|||AFAIK there is no such limit. What makes you say that the limit is 25?
MSDE is optimized for 5 connections or less so if you want 25
connections you should probably be considering Standard or Workgroup
edition.
David Portas
SQL Server MVP
--

25 MSDE Connections

In the MSDE Edition of Sql Server 2000 there is a limit of 25 connections.
What is the definition of a "connection"? For example, if I create a
connection pool of 5 connections in an application, does that count as 5
against the 25?
-Thanks
-Tom
Independently answered to many of the independently posted questions.
Please refrain from posting the same question independently to multiple
newsgroups.
"Tom Celica" <tom@.dontreply.com> wrote in message
news:s3%Ae.1619$_%4.824@.newssvr14.news.prodigy.com ...
> In the MSDE Edition of Sql Server 2000 there is a limit of 25 connections.
> What is the definition of a "connection"? For example, if I create a
> connection pool of 5 connections in an application, does that count as 5
> against the 25?
> -Thanks
> -Tom
>

25 MSDE Connections

In the MSDE Edition of Sql Server 2000 there is a limit of 25 connections.
What is the definition of a "connection"? For example, if I create a
connection pool of 5 connections in an application, does that count as 5
against the 25?
-Thanks
-TomIndependently answered to many of the independently posted questions.
Please refrain from posting the same question independently to multiple
newsgroups.
"Tom Celica" <tom@.dontreply.com> wrote in message
news:s3%Ae.1619$_%4.824@.newssvr14.news.prodigy.com...
> In the MSDE Edition of Sql Server 2000 there is a limit of 25 connections.
> What is the definition of a "connection"? For example, if I create a
> connection pool of 5 connections in an application, does that count as 5
> against the 25?
> -Thanks
> -Tom
>

25 Concurrent Connections

Hey,

MSDE 2000 allows 25 concurrent connections.

If these are all used up, and a 26th connection comes in. What happens? is the connection rejected? or does it sit in a queue, waiting to be given a connection?

Thanks,
-Ashleigh::Hey,

Hey

::MSDE 2000 allows 25 concurrent connections

Wrong.

MSDE allows more than 32000 concurrent connections, as any SQL Server.|||Bunch of info here

http://dbforums.com/arch/30/2002/12/630637

2008 Kids not playing well together?

I have Orcas (VisualStudio 2008) and Katmai (SQL Server 2008) installed on the same machine, but Orcas will not allow me to add a data connection to the Katmai database. It goes through the wizard and the connection tests okay, but then I get a message saying it doesn't support anything above SQL Server 2005.

Is there some sort of update for Orcas that will allow me to use my Katmai databases?

Thanks,
Todd
Did you try using an OLEDB connection ? I did not try that on my own, but it should be worth a try.

Jens K. Suessmeyer

http://www.sqlserver2005.de
|||Orcas will support Katmai in a later Orcas CTP. For now, you cannot connect with Orcas to Katmai.

2008 Kids not playing well together?

I have Orcas (VisualStudio 2008) and Katmai (SQL Server 2008) installed on the same machine, but Orcas will not allow me to add a data connection to the Katmai database. It goes through the wizard and the connection tests okay, but then I get a message saying it doesn't support anything above SQL Server 2005.

Is there some sort of update for Orcas that will allow me to use my Katmai databases?

Thanks,
Todd
Did you try using an OLEDB connection ? I did not try that on my own, but it should be worth a try.

Jens K. Suessmeyer

http://www.sqlserver2005.de
|||Orcas will support Katmai in a later Orcas CTP. For now, you cannot connect with Orcas to Katmai.

Tuesday, March 6, 2012

2005/2005Express SQLOLEDB Provider problem

When creating a connection string in ADO (using Delphi7), I insert the provider like this:

Provider=SQLOLEDB;Data Source=.;Initial Catalog=master;Integrated Security=SSPI;User ID=sa;Password=masterkey

Now, when I try to run this on a SQL Server 2005 or SQL2005 Express database, it won't create the connection
unless I use the SQLNCLI provider.

Is there a way to force them to use the OLEDB provider?
I have MDAC2.8-SP1 installed.Try explicitly adding the server name

Provider=SQLOLEDB;Data Source=<Server Name>;Initial Catalog=master;Integrated Security=SSPI;User ID=sa;Password=masterkey

Friday, February 24, 2012

2005 Reporting Services Connection Error...

I have had this error on three different machines that I have tried to setup
reporting services on:
- 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. (provider: Named Pipes Provider, error: 40 - Could not
open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
And I have yet to find a solution posted that resolves it. Any advice - I
can't get past step 3 of my first tutorial.
Thanks!
Hi
The first obvious question is the Allow Remote Connections to this Server
check box on the Databse engine properties connections tab ticked?
What is the OS, Windows 2003, 2000 and what is the Service pack level?
Nik Marshall-Blank MCSD/MCDBA
Linz, Austria
"Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>I have had this error on three different machines that I have tried to
>setup reporting services on:
> - 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. (provider: Named Pipes Provider, error: 40 - Could
> not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
> And I have yet to find a solution posted that resolves it. Any advice - I
> can't get past step 3 of my first tutorial.
> Thanks!
>
|||Also,
Have you enabled remote connections in the SQL 2005 Surface Area
Configuration utility? You should select TCP and Named pipes.
Nik Marshall-Blank MCSD/MCDBA
Linz, Austria
"Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>I have had this error on three different machines that I have tried to
>setup reporting services on:
> - 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. (provider: Named Pipes Provider, error: 40 - Could
> not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
> And I have yet to find a solution posted that resolves it. Any advice - I
> can't get past step 3 of my first tutorial.
> Thanks!
>
|||1 - Yes the Allow Remote Connection is checked.
2 - Windows XP sp2 (up to date)
3 - Yes, I ran the Surface Scan and checked the remote connections for both
tcp and named pipes.
For the install I just accepted the defaults and added all the
AdventureWorks database options in a new instance called "SQL2005".
This is getting rather frustrating
"Nik Marshall-Blank" <Nik@.here.com> wrote in message
news:kPegf.7091$aM1.591@.fe01.news.easynews.com...
> Hi
> The first obvious question is the Allow Remote Connections to this Server
> check box on the Databse engine properties connections tab ticked?
> What is the OS, Windows 2003, 2000 and what is the Service pack level?
> --
> Nik Marshall-Blank MCSD/MCDBA
> Linz, Austria
> "Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
> news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>
|||I have finally figured it out. The good old permissions with the SQL
Database - I had not setup SQL User Security Role and that was the trick.
"Nik Marshall-Blank" <Nik@.here.com> wrote in message
news:kPegf.7091$aM1.591@.fe01.news.easynews.com...
> Hi
> The first obvious question is the Allow Remote Connections to this Server
> check box on the Databse engine properties connections tab ticked?
> What is the OS, Windows 2003, 2000 and what is the Service pack level?
> --
> Nik Marshall-Blank MCSD/MCDBA
> Linz, Austria
> "Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
> news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>
|||Great.
Nik Marshall-Blank MCSD/MCDBA
Linz, Austria
"Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
news:eCmVNPq7FHA.3636@.TK2MSFTNGP09.phx.gbl...
>I have finally figured it out. The good old permissions with the SQL
>Database - I had not setup SQL User Security Role and that was the trick.
> "Nik Marshall-Blank" <Nik@.here.com> wrote in message
> news:kPegf.7091$aM1.591@.fe01.news.easynews.com...
>

2005 Reporting Services Connection Error...

I have had this error on three different machines that I have tried to setup
reporting services on:
- 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. (provider: Named Pipes Provider, error: 40 - Could not
open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
And I have yet to find a solution posted that resolves it. Any advice - I
can't get past step 3 of my first tutorial.
Thanks!Hi
The first obvious question is the Allow Remote Connections to this Server
check box on the Databse engine properties connections tab ticked?
What is the OS, Windows 2003, 2000 and what is the Service pack level?
Nik Marshall-Blank MCSD/MCDBA
Linz, Austria
"Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>I have had this error on three different machines that I have tried to
>setup reporting services on:
> - 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. (provider: Named Pipes Provider, error: 40 - Could
> not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
> And I have yet to find a solution posted that resolves it. Any advice - I
> can't get past step 3 of my first tutorial.
> Thanks!
>|||Also,
Have you enabled remote connections in the SQL 2005 Surface Area
Configuration utility? You should select TCP and Named pipes.
Nik Marshall-Blank MCSD/MCDBA
Linz, Austria
"Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>I have had this error on three different machines that I have tried to
>setup reporting services on:
> - 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. (provider: Named Pipes Provider, error: 40 - Could
> not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
> And I have yet to find a solution posted that resolves it. Any advice - I
> can't get past step 3 of my first tutorial.
> Thanks!
>|||1 - Yes the Allow Remote Connection is checked.
2 - Windows XP sp2 (up to date)
3 - Yes, I ran the Surface Scan and checked the remote connections for both
tcp and named pipes.
For the install I just accepted the defaults and added all the
AdventureWorks database options in a new instance called "SQL2005".
This is getting rather frustrating
"Nik Marshall-Blank" <Nik@.here.com> wrote in message
news:kPegf.7091$aM1.591@.fe01.news.easynews.com...
> Hi
> The first obvious question is the Allow Remote Connections to this Server
> check box on the Databse engine properties connections tab ticked?
> What is the OS, Windows 2003, 2000 and what is the Service pack level?
> --
> Nik Marshall-Blank MCSD/MCDBA
> Linz, Austria
> "Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
> news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>|||I have finally figured it out. The good old permissions with the SQL
Database - I had not setup SQL User Security Role and that was the trick.
"Nik Marshall-Blank" <Nik@.here.com> wrote in message
news:kPegf.7091$aM1.591@.fe01.news.easynews.com...
> Hi
> The first obvious question is the Allow Remote Connections to this Server
> check box on the Databse engine properties connections tab ticked?
> What is the OS, Windows 2003, 2000 and what is the Service pack level?
> --
> Nik Marshall-Blank MCSD/MCDBA
> Linz, Austria
> "Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
> news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>|||Great.
Nik Marshall-Blank MCSD/MCDBA
Linz, Austria
"Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
news:eCmVNPq7FHA.3636@.TK2MSFTNGP09.phx.gbl...
>I have finally figured it out. The good old permissions with the SQL
>Database - I had not setup SQL User Security Role and that was the trick.
> "Nik Marshall-Blank" <Nik@.here.com> wrote in message
> news:kPegf.7091$aM1.591@.fe01.news.easynews.com...
>

2005 Reporting Services Connection Error...

I have had this error on three different machines that I have tried to setup
reporting services on:
- 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. (provider: Named Pipes Provider, error: 40 - Could not
open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
And I have yet to find a solution posted that resolves it. Any advice - I
can't get past step 3 of my first tutorial.
Thanks!Hi
The first obvious question is the Allow Remote Connections to this Server
check box on the Databse engine properties connections tab ticked?
What is the OS, Windows 2003, 2000 and what is the Service pack level?
--
Nik Marshall-Blank MCSD/MCDBA
Linz, Austria
"Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>I have had this error on three different machines that I have tried to
>setup reporting services on:
> - 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. (provider: Named Pipes Provider, error: 40 - Could
> not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
> And I have yet to find a solution posted that resolves it. Any advice - I
> can't get past step 3 of my first tutorial.
> Thanks!
>|||Also,
Have you enabled remote connections in the SQL 2005 Surface Area
Configuration utility? You should select TCP and Named pipes.
--
Nik Marshall-Blank MCSD/MCDBA
Linz, Austria
"Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>I have had this error on three different machines that I have tried to
>setup reporting services on:
> - 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. (provider: Named Pipes Provider, error: 40 - Could
> not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
> And I have yet to find a solution posted that resolves it. Any advice - I
> can't get past step 3 of my first tutorial.
> Thanks!
>|||1 - Yes the Allow Remote Connection is checked.
2 - Windows XP sp2 (up to date)
3 - Yes, I ran the Surface Scan and checked the remote connections for both
tcp and named pipes.
For the install I just accepted the defaults and added all the
AdventureWorks database options in a new instance called "SQL2005".
This is getting rather frustrating:(
"Nik Marshall-Blank" <Nik@.here.com> wrote in message
news:kPegf.7091$aM1.591@.fe01.news.easynews.com...
> Hi
> The first obvious question is the Allow Remote Connections to this Server
> check box on the Databse engine properties connections tab ticked?
> What is the OS, Windows 2003, 2000 and what is the Service pack level?
> --
> Nik Marshall-Blank MCSD/MCDBA
> Linz, Austria
> "Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
> news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>>I have had this error on three different machines that I have tried to
>>setup reporting services on:
>> - 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. (provider: Named Pipes Provider, error: 40 - Could
>> not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
>> And I have yet to find a solution posted that resolves it. Any advice -
>> I can't get past step 3 of my first tutorial.
>> Thanks!
>|||I have finally figured it out. The good old permissions with the SQL
Database - I had not setup SQL User Security Role and that was the trick.
"Nik Marshall-Blank" <Nik@.here.com> wrote in message
news:kPegf.7091$aM1.591@.fe01.news.easynews.com...
> Hi
> The first obvious question is the Allow Remote Connections to this Server
> check box on the Databse engine properties connections tab ticked?
> What is the OS, Windows 2003, 2000 and what is the Service pack level?
> --
> Nik Marshall-Blank MCSD/MCDBA
> Linz, Austria
> "Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
> news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>>I have had this error on three different machines that I have tried to
>>setup reporting services on:
>> - 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. (provider: Named Pipes Provider, error: 40 - Could
>> not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
>> And I have yet to find a solution posted that resolves it. Any advice -
>> I can't get past step 3 of my first tutorial.
>> Thanks!
>|||Great.
--
Nik Marshall-Blank MCSD/MCDBA
Linz, Austria
"Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
news:eCmVNPq7FHA.3636@.TK2MSFTNGP09.phx.gbl...
>I have finally figured it out. The good old permissions with the SQL
>Database - I had not setup SQL User Security Role and that was the trick.
> "Nik Marshall-Blank" <Nik@.here.com> wrote in message
> news:kPegf.7091$aM1.591@.fe01.news.easynews.com...
>> Hi
>> The first obvious question is the Allow Remote Connections to this Server
>> check box on the Databse engine properties connections tab ticked?
>> What is the OS, Windows 2003, 2000 and what is the Service pack level?
>> --
>> Nik Marshall-Blank MCSD/MCDBA
>> Linz, Austria
>> "Chris Marsh" <cmarsh@.synergy-intl.com> wrote in message
>> news:uqRXzbm7FHA.2092@.TK2MSFTNGP12.phx.gbl...
>>I have had this error on three different machines that I have tried to
>>setup reporting services on:
>> - 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. (provider: Named Pipes Provider, error: 40 - Could
>> not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
>> And I have yet to find a solution posted that resolves it. Any advice -
>> I can't get past step 3 of my first tutorial.
>> Thanks!
>>
>

Sunday, February 19, 2012

2005 remote connection problem (yes, I have enabled TCP/IP)

I've gone through about 30+ google results looking for the magic answer to
this problem. I have a brand new machine with a brand new install of Sql
Server 2005 express. I am trying to connect via SQLCMD in a command window
with the following info: SQLCMD -S 192.168.1.103 -U **** -P ******!
the ip is my local machine and the machine that SS2005 Express is installed
on.
-U is a login that I created. I have set authentication to mixed mode
Not sure what else to try. Anyone have any hints?"sklett" <sklett@.mddirect.com> wrote in message
news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
> I've gone through about 30+ google results looking for the magic answer to
> this problem. I have a brand new machine with a brand new install of Sql
> Server 2005 express. I am trying to connect via SQLCMD in a command
> window with the following info: SQLCMD -S 192.168.1.103 -U **** -P ******!
> the ip is my local machine and the machine that SS2005 Express is
> installed on.
> -U is a login that I created. I have set authentication to mixed mode
>
By default SqlExpress uses an instance name of SQLEXPRESS. Your connection
info would be correct for the default instance, not a named instance.
Try
SQLCMD -S 192.168.1.103\SQLEXPRESS -U **** -P ******!
How to: Connect to the Database Engine Using sqlcmd.exe
http://msdn2.microsoft.com/en-us/library(d=robot)/ms188247.aspx
Also to user the instance name you need the SQL Browser service started.
And double check in Computer Management\SQL Server Configuration
Manager\Protocols for SQLEXPRESS TCP/IP is enabled for that IP interface.
David|||Have you enabled remote connections? Yes, you have to explicitly enable it
to accept connections from external machines. Doesn't matter what libraries
or connection strings you are sending. If remote connections are not
enabled, the only thing that any SQL Server 2005 database will respond to is
something from the machine it resides on.
--
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"sklett" <sklett@.mddirect.com> wrote in message
news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
> I've gone through about 30+ google results looking for the magic answer to
> this problem. I have a brand new machine with a brand new install of Sql
> Server 2005 express. I am trying to connect via SQLCMD in a command
> window with the following info: SQLCMD -S 192.168.1.103 -U **** -P ******!
> the ip is my local machine and the machine that SS2005 Express is
> installed on.
> -U is a login that I created. I have set authentication to mixed mode
> Not sure what else to try. Anyone have any hints?
>|||Hi Michael,
I have enabled them the only way I know how, what I did was use "SQL Server
Surface Are Configuration" app and checked the "Using TCP/IP only" option
under the "Local and remote connections" section. This is one of the first
things that I did. I should have mentioned that in my original post,
apologies.
Any other ideas?
"Michael Hotek" <mike@.solidqualitylearning.com> wrote in message
news:u%23XwyS0NGHA.3144@.TK2MSFTNGP11.phx.gbl...
> Have you enabled remote connections? Yes, you have to explicitly enable
> it to accept connections from external machines. Doesn't matter what
> libraries or connection strings you are sending. If remote connections
> are not enabled, the only thing that any SQL Server 2005 database will
> respond to is something from the machine it resides on.
> --
> Mike
> http://www.solidqualitylearning.com
> Disclaimer: This communication is an original work and represents my sole
> views on the subject. It does not represent the views of any other person
> or entity either by inference or direct reference.
>
> "sklett" <sklett@.mddirect.com> wrote in message
> news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
>> I've gone through about 30+ google results looking for the magic answer
>> to this problem. I have a brand new machine with a brand new install of
>> Sql Server 2005 express. I am trying to connect via SQLCMD in a command
>> window with the following info: SQLCMD -S 192.168.1.103 -U **** -P
>> ******!
>> the ip is my local machine and the machine that SS2005 Express is
>> installed on.
>> -U is a login that I created. I have set authentication to mixed mode
>> Not sure what else to try. Anyone have any hints?
>>
>|||Hi David,
I have tried to specify the name in the address, it doesn't make a
difference I'm afraid.
"David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
message news:OmHC9Q0NGHA.2668@.tk2msftngp13.phx.gbl...
> "sklett" <sklett@.mddirect.com> wrote in message
> news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
>> I've gone through about 30+ google results looking for the magic answer
>> to this problem. I have a brand new machine with a brand new install of
>> Sql Server 2005 express. I am trying to connect via SQLCMD in a command
>> window with the following info: SQLCMD -S 192.168.1.103 -U **** -P
>> ******!
>> the ip is my local machine and the machine that SS2005 Express is
>> installed on.
>> -U is a login that I created. I have set authentication to mixed mode
> By default SqlExpress uses an instance name of SQLEXPRESS. Your
> connection info would be correct for the default instance, not a named
> instance.
> Try
> SQLCMD -S 192.168.1.103\SQLEXPRESS -U **** -P ******!
>
> How to: Connect to the Database Engine Using sqlcmd.exe
> http://msdn2.microsoft.com/en-us/library(d=robot)/ms188247.aspx
> Also to user the instance name you need the SQL Browser service started.
> And double check in Computer Management\SQL Server Configuration
> Manager\Protocols for SQLEXPRESS TCP/IP is enabled for that IP interface.
> David
>|||why I can't remember this after 15 years using a computer: "When things
don't seem right, reboot"
Sure enough, although I restarted SQL Server several times, apparently it
took a full reboot to make things operate correctly.
Thanks for the suggestions guys, I'm up and running now :)
"sklett" <sklett@.mddirect.com> wrote in message
news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
> I've gone through about 30+ google results looking for the magic answer to
> this problem. I have a brand new machine with a brand new install of Sql
> Server 2005 express. I am trying to connect via SQLCMD in a command
> window with the following info: SQLCMD -S 192.168.1.103 -U **** -P ******!
> the ip is my local machine and the machine that SS2005 Express is
> installed on.
> -U is a login that I created. I have set authentication to mixed mode
> Not sure what else to try. Anyone have any hints?
>

2005 remote connection problem (yes, I have enabled TCP/IP)

I've gone through about 30+ google results looking for the magic answer to
this problem. I have a brand new machine with a brand new install of Sql
Server 2005 express. I am trying to connect via SQLCMD in a command window
with the following info: SQLCMD -S 192.168.1.103 -U **** -P ******!
the ip is my local machine and the machine that SS2005 Express is installed
on.
-U is a login that I created. I have set authentication to mixed mode
Not sure what else to try. Anyone have any hints?
"sklett" <sklett@.mddirect.com> wrote in message
news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
> I've gone through about 30+ google results looking for the magic answer to
> this problem. I have a brand new machine with a brand new install of Sql
> Server 2005 express. I am trying to connect via SQLCMD in a command
> window with the following info: SQLCMD -S 192.168.1.103 -U **** -P ******!
> the ip is my local machine and the machine that SS2005 Express is
> installed on.
> -U is a login that I created. I have set authentication to mixed mode
>
By default SqlExpress uses an instance name of SQLEXPRESS. Your connection
info would be correct for the default instance, not a named instance.
Try
SQLCMD -S 192.168.1.103\SQLEXPRESS -U **** -P ******!
How to: Connect to the Database Engine Using sqlcmd.exe
http://msdn2.microsoft.com/en-us/library(d=robot)/ms188247.aspx
Also to user the instance name you need the SQL Browser service started.
And double check in Computer Management\SQL Server Configuration
Manager\Protocols for SQLEXPRESS TCP/IP is enabled for that IP interface.
David
|||Have you enabled remote connections? Yes, you have to explicitly enable it
to accept connections from external machines. Doesn't matter what libraries
or connection strings you are sending. If remote connections are not
enabled, the only thing that any SQL Server 2005 database will respond to is
something from the machine it resides on.
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"sklett" <sklett@.mddirect.com> wrote in message
news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
> I've gone through about 30+ google results looking for the magic answer to
> this problem. I have a brand new machine with a brand new install of Sql
> Server 2005 express. I am trying to connect via SQLCMD in a command
> window with the following info: SQLCMD -S 192.168.1.103 -U **** -P ******!
> the ip is my local machine and the machine that SS2005 Express is
> installed on.
> -U is a login that I created. I have set authentication to mixed mode
> Not sure what else to try. Anyone have any hints?
>
|||Hi Michael,
I have enabled them the only way I know how, what I did was use "SQL Server
Surface Are Configuration" app and checked the "Using TCP/IP only" option
under the "Local and remote connections" section. This is one of the first
things that I did. I should have mentioned that in my original post,
apologies.
Any other ideas?
"Michael Hotek" <mike@.solidqualitylearning.com> wrote in message
news:u%23XwyS0NGHA.3144@.TK2MSFTNGP11.phx.gbl...
> Have you enabled remote connections? Yes, you have to explicitly enable
> it to accept connections from external machines. Doesn't matter what
> libraries or connection strings you are sending. If remote connections
> are not enabled, the only thing that any SQL Server 2005 database will
> respond to is something from the machine it resides on.
> --
> Mike
> http://www.solidqualitylearning.com
> Disclaimer: This communication is an original work and represents my sole
> views on the subject. It does not represent the views of any other person
> or entity either by inference or direct reference.
>
> "sklett" <sklett@.mddirect.com> wrote in message
> news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
>
|||Hi David,
I have tried to specify the name in the address, it doesn't make a
difference I'm afraid.
"David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
message news:OmHC9Q0NGHA.2668@.tk2msftngp13.phx.gbl...
> "sklett" <sklett@.mddirect.com> wrote in message
> news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
> By default SqlExpress uses an instance name of SQLEXPRESS. Your
> connection info would be correct for the default instance, not a named
> instance.
> Try
> SQLCMD -S 192.168.1.103\SQLEXPRESS -U **** -P ******!
>
> How to: Connect to the Database Engine Using sqlcmd.exe
> http://msdn2.microsoft.com/en-us/library(d=robot)/ms188247.aspx
> Also to user the instance name you need the SQL Browser service started.
> And double check in Computer Management\SQL Server Configuration
> Manager\Protocols for SQLEXPRESS TCP/IP is enabled for that IP interface.
> David
>

2005 remote connection problem (yes, I have enabled TCP/IP)

I've gone through about 30+ google results looking for the magic answer to
this problem. I have a brand new machine with a brand new install of Sql
Server 2005 express. I am trying to connect via SQLCMD in a command window
with the following info: SQLCMD -S 192.168.1.103 -U **** -P ******!
the ip is my local machine and the machine that SS2005 Express is installed
on.
-U is a login that I created. I have set authentication to mixed mode
Not sure what else to try. Anyone have any hints?"sklett" <sklett@.mddirect.com> wrote in message
news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
> I've gone through about 30+ google results looking for the magic answer to
> this problem. I have a brand new machine with a brand new install of Sql
> Server 2005 express. I am trying to connect via SQLCMD in a command
> window with the following info: SQLCMD -S 192.168.1.103 -U **** -P ******!
> the ip is my local machine and the machine that SS2005 Express is
> installed on.
> -U is a login that I created. I have set authentication to mixed mode
>
By default SqlExpress uses an instance name of SQLEXPRESS. Your connection
info would be correct for the default instance, not a named instance.
Try
SQLCMD -S 192.168.1.103\SQLEXPRESS -U **** -P ******!
How to: Connect to the Database Engine Using sqlcmd.exe
http://msdn2.microsoft.com/en-us/library(d=robot)/ms188247.aspx
Also to user the instance name you need the SQL Browser service started.
And double check in Computer Management\SQL Server Configuration
Manager\Protocols for SQLEXPRESS TCP/IP is enabled for that IP interface.
David|||Have you enabled remote connections? Yes, you have to explicitly enable it
to accept connections from external machines. Doesn't matter what libraries
or connection strings you are sending. If remote connections are not
enabled, the only thing that any SQL Server 2005 database will respond to is
something from the machine it resides on.
Mike
http://www.solidqualitylearning.com
Disclaimer: This communication is an original work and represents my sole
views on the subject. It does not represent the views of any other person
or entity either by inference or direct reference.
"sklett" <sklett@.mddirect.com> wrote in message
news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
> I've gone through about 30+ google results looking for the magic answer to
> this problem. I have a brand new machine with a brand new install of Sql
> Server 2005 express. I am trying to connect via SQLCMD in a command
> window with the following info: SQLCMD -S 192.168.1.103 -U **** -P ******!
> the ip is my local machine and the machine that SS2005 Express is
> installed on.
> -U is a login that I created. I have set authentication to mixed mode
> Not sure what else to try. Anyone have any hints?
>|||Hi Michael,
I have enabled them the only way I know how, what I did was use "SQL Server
Surface Are Configuration" app and checked the "Using TCP/IP only" option
under the "Local and remote connections" section. This is one of the first
things that I did. I should have mentioned that in my original post,
apologies.
Any other ideas?
"Michael Hotek" <mike@.solidqualitylearning.com> wrote in message
news:u%23XwyS0NGHA.3144@.TK2MSFTNGP11.phx.gbl...
> Have you enabled remote connections? Yes, you have to explicitly enable
> it to accept connections from external machines. Doesn't matter what
> libraries or connection strings you are sending. If remote connections
> are not enabled, the only thing that any SQL Server 2005 database will
> respond to is something from the machine it resides on.
> --
> Mike
> http://www.solidqualitylearning.com
> Disclaimer: This communication is an original work and represents my sole
> views on the subject. It does not represent the views of any other person
> or entity either by inference or direct reference.
>
> "sklett" <sklett@.mddirect.com> wrote in message
> news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
>|||Hi David,
I have tried to specify the name in the address, it doesn't make a
difference I'm afraid.
"David Browne" <davidbaxterbrowne no potted meat@.hotmail.com> wrote in
message news:OmHC9Q0NGHA.2668@.tk2msftngp13.phx.gbl...
> "sklett" <sklett@.mddirect.com> wrote in message
> news:%23s3PyC0NGHA.3908@.TK2MSFTNGP10.phx.gbl...
> By default SqlExpress uses an instance name of SQLEXPRESS. Your
> connection info would be correct for the default instance, not a named
> instance.
> Try
> SQLCMD -S 192.168.1.103\SQLEXPRESS -U **** -P ******!
>
> How to: Connect to the Database Engine Using sqlcmd.exe
> http://msdn2.microsoft.com/en-us/library(d=robot)/ms188247.aspx
> Also to user the instance name you need the SQL Browser service started.
> And double check in Computer Management\SQL Server Configuration
> Manager\Protocols for SQLEXPRESS TCP/IP is enabled for that IP interface.
> David
>

2005 Remote Connection Error

Hi,

Hope someone can help with this, having a huge problem connecting to SQL 2005 from a client machine. I get the following error:

"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. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)"

I have SQL 2005 installed on a server containing SQL 2000 (default instance) and then SQL 2005 as the instance SERVER\SQL2005. 2005 is running SP1. I'm connecting via windows authentication, using just using Management Studio. I've also configured the server to accept remote connections.

I can connect locally to the 2005 instance. Does anyone have any ideas why this might be happening?

Thanks

Jeremy

See my Screencast about Remote connections on my site which describes in detail how to enable remote connections.

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de|||

Thanks for the reply Jens,

I have definitely enable remote connections already. Do you have any other ideas?

Thanks

Jeremy

|||Can anyone help with this?|||

Sorry for not coming back earlier, lsot the focus on the post. DO you have SQL Server Browser started on the server ? SQL Browser will redirect the client request to connect to the assigned port without naming explictly the port of the SQL Server. If you don′t start the browser on the server, the client will try to connect to the port 1433 which might not be used by the named instance. If you know the port of the named instance, you can also specify that directly within the connection string using servername\instanceName,Portnumber.

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de

Monday, February 13, 2012

2005 Express Error: Could not open a connection to SQL Server

Hi, I can't connect to my remote SQL Server 2005 Express - can anyone
help?
SETTINGS:
Server Type: Database Engine
Server Name: {my remote IP}
Authentication: SQL Authentication
User Name: {my Username}
Password: {my Password}
ERROR:
Error: Testing the registered server failed. Verify the server name,
login credentials, and database, and then click test again.
Additional Informtion: 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. (provider: Named Piper
Provider, error:40 - Could not open a connection to SQL Server)
(Microsoft SQL Server, Error: 53)
TROUBLESHOOTING:
- Windows firewall is not enabled on the server.
- When I test "telnet {my remote IP} 1433", i get "Could not open
connection to the host, on port 1433: Connect Failed".
- When pinging my ip, I get 0% loss.
- I have established via the SQL Server Surface Area Configuration
tool that Local and remote connections, using both TCP/IP and named
pipes, is enabled.
- The SQL Server Browser service is started.
Cheers.
Sorry, I also established through the SQL Server Configuration Manager
> SQL Server 2005 Network Configuration > Protocols for MSSQLSERVER
that TCP/IP is enabled and Listen All is set to Yes. Under the 'IP
Addresses' tab, TCP Port for IP1 and IP2 (which are different from my
server IP ?) is set to 1433,2433.
|||Do you have \SQLEXPRESS on the end of the server name? Is the SQL Browser
running on the server where SQL Express is running?
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"iporter" <isporter@.gmail.com> wrote in message
news:1175251815.059956.99630@.o5g2000hsb.googlegrou ps.com...
> Sorry, I also established through the SQL Server Configuration Manager
> that TCP/IP is enabled and Listen All is set to Yes. Under the 'IP
> Addresses' tab, TCP Port for IP1 and IP2 (which are different from my
> server IP ?) is set to 1433,2433.
>

2005 Express Error: Could not open a connection to SQL Server

Hi, I can't connect to my remote SQL Server 2005 Express - can anyone
help?
SETTINGS:
Server Type: Database Engine
Server Name: {my remote IP}
Authentication: SQL Authentication
User Name: {my Username}
Password: {my Password}
ERROR:
Error: Testing the registered server failed. Verify the server name,
login credentials, and database, and then click test again.
Additional Informtion: 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. (provider: Named Piper
Provider, error:40 - Could not open a connection to SQL Server)
(Microsoft SQL Server, Error: 53)
TROUBLESHOOTING:
- Windows firewall is not enabled on the server.
- When I test "telnet {my remote IP} 1433", i get "Could not open
connection to the host, on port 1433: Connect Failed".
- When pinging my ip, I get 0% loss.
- I have established via the SQL Server Surface Area Configuration
tool that Local and remote connections, using both TCP/IP and named
pipes, is enabled.
- The SQL Server Browser service is started.
Cheers.Sorry, I also established through the SQL Server Configuration Manager
> SQL Server 2005 Network Configuration > Protocols for MSSQLSERVER
that TCP/IP is enabled and Listen All is set to Yes. Under the 'IP
Addresses' tab, TCP Port for IP1 and IP2 (which are different from my
server IP ?) is set to 1433,2433.|||Do you have \SQLEXPRESS on the end of the server name? Is the SQL Browser
running on the server where SQL Express is running?
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"iporter" <isporter@.gmail.com> wrote in message
news:1175251815.059956.99630@.o5g2000hsb.googlegroups.com...
> Sorry, I also established through the SQL Server Configuration Manager
> that TCP/IP is enabled and Listen All is set to Yes. Under the 'IP
> Addresses' tab, TCP Port for IP1 and IP2 (which are different from my
> server IP ?) is set to 1433,2433.
>