dbTalk Databases Forums  

Wrong machine name in query designer

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Wrong machine name in query designer in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
W Mason
 
Posts: n/a

Default Wrong machine name in query designer - 11-16-2003 , 12:32 PM






Some time ago, I changed the machine name of my laptop
running WinXP and SQL Server 2000 (SP3).

Now when using the Query designer in DTS, I get an OLEDB
error: "Server <old-name> is not configured for DATA
ACCESS". After clearing the error, the Query designer
opens. <old-name> is the only server in the list.
Refreshing the list, or typing over <old-name> does not
work.

To create this error:
1) I created a new package
2) Created an connection to "(local)"
3) Created an SQL task
4) Clicked on the "Build Query" button.

Why is DTS not using the connection specified in the SQL
task property page, and how do I get rid of <old-name>?

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Wrong machine name in query designer - 11-16-2003 , 01:36 PM






Did you do

Exec sp_dropserver 'previous name'
Exec sp_addserver 'New name','local'


--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"W Mason" <01066 (AT) nospam (DOT) warrenmason.com> wrote

Quote:
Some time ago, I changed the machine name of my laptop
running WinXP and SQL Server 2000 (SP3).

Now when using the Query designer in DTS, I get an OLEDB
error: "Server <old-name> is not configured for DATA
ACCESS". After clearing the error, the Query designer
opens. <old-name> is the only server in the list.
Refreshing the list, or typing over <old-name> does not
work.

To create this error:
1) I created a new package
2) Created an connection to "(local)"
3) Created an SQL task
4) Clicked on the "Build Query" button.

Why is DTS not using the connection specified in the SQL
task property page, and how do I get rid of <old-name>?



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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.