473,396 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

URGENT - Link server 2005 to 2000

I've a database in 2000 which needs to be accessed from 2005 via linked
server. I've tried the GUI options and it is failing. One thins is that our
both servers have hyphen('-' not underscore, could that be a problem) in the
names, like 2k-srv and 2k5-srv as hosts, but the instances are default.

Can anyone give me the steps please.

TIA
Nasir
Jul 18 '06 #1
4 5226
Am Tue, 18 Jul 2006 10:34:21 -0500 schrieb Nasir:
I've a database in 2000 which needs to be accessed from 2005 via linked
server. I've tried the GUI options and it is failing. One thins is that our
both servers have hyphen('-' not underscore, could that be a problem) in the
names, like 2k-srv and 2k5-srv as hosts, but the instances are default.

Can anyone give me the steps please.

TIA
Nasir
have you tried [2k-srv] instead 2k-srv ??

bye, Helmut
Jul 18 '06 #2
No, I have not tried that. Can you give me the sequnce of the steps. Do I
need to do anything on 2k-srv server side or everything needed to be done is
on 2005 server side (just add link server on the 2k5-srv server side)?
"Helmut Woess" <us****@inode.atwrote in message
news:1l******************************@40tude.net.. .
Am Tue, 18 Jul 2006 10:34:21 -0500 schrieb Nasir:
>I've a database in 2000 which needs to be accessed from 2005 via linked
server. I've tried the GUI options and it is failing. One thins is that
our
both servers have hyphen('-' not underscore, could that be a problem) in
the
names, like 2k-srv and 2k5-srv as hosts, but the instances are default.

Can anyone give me the steps please.

TIA
Nasir

have you tried [2k-srv] instead 2k-srv ??

bye, Helmut

Jul 18 '06 #3
Nasir (nm*****@prosrm.com) writes:
I've a database in 2000 which needs to be accessed from 2005 via linked
server. I've tried the GUI options and it is failing. One thins is that
our both servers have hyphen('-' not underscore, could that be a
problem) in the names, like 2k-srv and 2k5-srv as hosts, but the
instances are default.
It could be as simple as:

sp_addlinkedserver [2k-srv]

and then you can say things like:

SELECT * FROM [2k_srv].Northwind.dbo.Customers

But it can also be more complicated if the service account for the SQL 2005
service cannot log into the SQL 2000 instance. In this case, you need to
set up login mapping with sp_addlinkedsrvlogin. You find documenation of
the latter in Books Online.


--
Erland Sommarskog, SQL Server MVP, es****@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
Jul 18 '06 #4
I'll answer my question my self:

SQL 2005 cannot connect to SQL 2000 via linked server unless SQL2k is up to
SP3 or SP4 (service pack). After applying the SP3 or 4 run the following
script:

osql -UAnAdminLogin -PAdminPassword -SComputerName -ilocation\instcat.sql
Then you can conenct after adding the linked server via sp_addlinkedserver
or GUI.

See for ref: http://support.microsoft.com/default...b;en-us;906954

Thanks,
Nasir

"Nasir" <nm*****@prosrm.comwrote in message
news:44**********************@news.twtelecom.net.. .
No, I have not tried that. Can you give me the sequnce of the steps. Do I
need to do anything on 2k-srv server side or everything needed to be done
is on 2005 server side (just add link server on the 2k5-srv server side)?
"Helmut Woess" <us****@inode.atwrote in message
news:1l******************************@40tude.net.. .
>Am Tue, 18 Jul 2006 10:34:21 -0500 schrieb Nasir:
>>I've a database in 2000 which needs to be accessed from 2005 via linked
server. I've tried the GUI options and it is failing. One thins is that
our
both servers have hyphen('-' not underscore, could that be a problem) in
the
names, like 2k-srv and 2k5-srv as hosts, but the instances are default.

Can anyone give me the steps please.

TIA
Nasir

have you tried [2k-srv] instead 2k-srv ??

bye, Helmut


Jul 19 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: riz | last post by:
We get the following error message. "a floating point exception occured in the user process. current transaction is cancelled". this message comes when trying to excute a stored procedure. This...
6
by: CM | last post by:
Hi, I need to create a box for software development. The following should be installed to the box: Windows 2000 Server Hardware such as Network card, printer, Modem,USB,Graphic card, Video card...
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
6
by: varkey.mathew | last post by:
Dear all, Bear with me, a poor newbie(atleast in AD).. I have to authenticate a user ID and password for a user as a valid Active Directory user or not. I have created the IsAuthenticated...
17
by: Danieltbt05 | last post by:
just installed SQL server 2000 and using my client , i can't locate the server. I used SQL query analyzer to search but no servers were found. Error message is as below Server : Msg17,level...
0
by: IT Recruiter | last post by:
*Very Urgent Rek - SQL Server DBA from Direct Client: Full time* @ New Jersey ***Please send your resumes IMMEDIATELY to nslakshmi@eprocorp.com*** Job Title: SQL Server Developer with...
7
by: Niyazi | last post by:
Hi, I am developing small insurance application using VB.NET and SQL server 2000. My tables in SQL server are: tbl_Customer (stores the custmer information) tbl_CustImage ...
3
by: Nasir | last post by:
What is the best way to resolve these collation errors: My server is installed as - Latin1_General_CS_AS, but one of the important 50GB databases migrated from another server has -...
14
by: Developer | last post by:
Hello All, i have recently installed VS2005 and was trying to install SQL sever 2000. I have Win XP' SP2. But when I tried installing, it only installed client tools and not the database. Can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.