Unix Technical Forum

Connecting SQL 2000 using SQL 2005

This is a discussion on Connecting SQL 2000 using SQL 2005 within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi, I have installed SQL 2005 in my PC and am trying to connect to SQL Server 2000 installed ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2008, 01:16 PM
Taw
 
Posts: n/a
Default Connecting SQL 2000 using SQL 2005

Hi,

I have installed SQL 2005 in my PC and am trying to connect to SQL
Server 2000 installed in a different machine. Both the server are
installed in mixed mode.

I can connect to the 2000 server from 2005's SSMS using windows
authentication mode but fail to connect using SQL authentication.

The follwoing message is displayed.

Cannot connect to <servername>.
Additional information:
Login failed for user 'username'. (Microsoft SQL Server, Error: 18456)

TIA,
Taw.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 01:16 PM
Erland Sommarskog
 
Posts: n/a
Default Re: Connecting SQL 2000 using SQL 2005

Taw (tawfiq.choudhury@grameenphone.com) writes:
> I can connect to the 2000 server from 2005's SSMS using windows
> authentication mode but fail to connect using SQL authentication.
>
> The follwoing message is displayed.
>
> Cannot connect to <servername>.
> Additional information:
> Login failed for user 'username'. (Microsoft SQL Server, Error: 18456)


Seems like you should verify that you have the correct username and
password. Also check that SQL authnetication is enabled on the SQL 2000
instance.

You can also try to connect with SQLCMD from the command line.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-01-2008, 01:16 PM
pb648174
 
Posts: n/a
Default Re: Connecting SQL 2000 using SQL 2005

On Feb 7, 4:43 pm, Erland Sommarskog <esq...@sommarskog.se> wrote:
> Taw (tawfiq.choudh...@grameenphone.com) writes:
> > I can connect to the 2000 server from 2005's SSMS using windows
> > authentication mode but fail to connect using SQL authentication.

>
> > The follwoing message is displayed.

>
> > Cannot connect to <servername>.
> > Additional information:
> > Login failed for user 'username'. (Microsoft SQL Server, Error: 18456)

>
> Seems like you should verify that you have the correct username and
> password. Also check that SQL authnetication is enabled on the SQL 2000
> instance.
>
> You can also try to connect with SQLCMD from the command line.
>
> --
> Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se
>
> Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books...
> Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx


Actually I have seen this - 2005 is case sensitive, 2000 is not. Check
the case on the password, probably first char is capital or something.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-01-2008, 01:18 PM
Taw
 
Posts: n/a
Default Re: Connecting SQL 2000 using SQL 2005

On Feb 8, 4:43 am, Erland Sommarskog <esq...@sommarskog.se> wrote:
> Taw (tawfiq.choudh...@grameenphone.com) writes:
> > I can connect to the 2000 server from 2005's SSMS using windows
> > authentication mode but fail to connect using SQL authentication.

>
> > The follwoing message is displayed.

>
> > Cannot connect to <servername>.
> > Additional information:
> > Login failed for user 'username'. (Microsoft SQL Server, Error: 18456)

>
> Seems like you should verify that you have the correct username and
> password. Also check that SQL authnetication is enabled on the SQL 2000
> instance.
>
> You can also try to connect with SQLCMD from the command line.
>
> --
> Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se
>
> Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books...
> Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx


The problem is fixed. Just restarted the server. Dont know where the
problem was, though.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-01-2008, 01:18 PM
Erland Sommarskog
 
Posts: n/a
Default Re: Connecting SQL 2000 using SQL 2005

Taw (tawfiq.choudhury@grameenphone.com) writes:
> The problem is fixed. Just restarted the server. Dont know where the
> problem was, though.


Problem might have been that the server had not been restarted since
SQL authentication was enabled.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:19 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com