473,386 Members | 1,715 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,386 software developers and data experts.

Can't edit Linked Server General Properties after saving

Hi,

When I click on the properties of a linked server, all the General
properties are read - only, which means that if I want to edit any
general properties I have to delete the linked server and recreate it.
Needless to say this is a pain. Is this by design or some kind of bug?
Is there a workaround?

Thanks

Dec 19 '05 #1
8 15670
Oops, forgot to mention SQL Server 2005 Express Edition -- sorry, my
brain is kind of fried messing with this thing

Thanks

Dec 19 '05 #2
OK, I need to be more specific still,

When I click on the properties of a linked server, all the General
properties are read - only, which means that if I want to edit any
general properties I have to delete the linked server and recreate it.
Needless to say this is a pain. Is this by design or some kind of bug?
Is there a workaround?

I'm using SQL Server 2005 Management Studio Express CTP, the latest
edition with SQL Server 2005 Express.

Thanks

Dec 19 '05 #3
Hello, Crazy Cat

Considering that this behaviour was also in Enterprise Manager (for SQL
Server 2000), I'd say that it is "by design". And seeing that the
relevant procedures are only sp_addlinkedserver and
sp_droplinkedserver, I'd say that there isn't any workaround (except
the one that you mentioned: drop the linked server and recreate it).

However, it is interesting to notice that for certain OLEDB Providers,
some properties are not read-only in the General tab (for example, for
the "Microsoft Jet 4.0 OLE DB Provider", the "Product name", "Data
source" and "Provider String" can be modified). Management Studio (and
Enterprise Manager) accomplishes this by directly updating the
sysservers system table. However, I do not recommend trying to update
the system tables yourself. This is unsupported and if they didn't do
it in Management Studio, there are very good reasons why this should
not be done.

Razvan

Dec 20 '05 #4
After looking at this thing a little bit more, I noticed that the
"Product name", "Data
source", etc properties can always be modified for any OLE DB Provider,
including "Microsoft OLE DB Provider for SQL Server". So, if it's
important for you to modify those properties (without dropping and
recreating the linked server), you shoud try creating a linked server
using this OLE DB Provider (select "Other data source", instead of "SQL
Server"). However, I guess that there may be some other differences
between the two methods.

Razvan

Dec 20 '05 #5
Thanks Razvan,

However from what I'm seeing it is not the case that I can modify the
General properties for an OLE DB provider -- my linked server uses the
OLE DB Provider for Oracle. I also experienced the same frustration
with the OLE DB provider for ODBC sources. As soon as I exit the Linked
Server dialog after creating the Linked Server the General Properties
become read-only. Guess it's something I'll just have to live with.

Thanks again

Dec 20 '05 #6
Hmm... you are right. Earlier, I tried using Management Studio Express
(Nov CTP) on a SQL Server 2000 server and I was able to modify the
properties of a linked server, if it is using a OLE DB Provider
(including the OLE DB Provider for Oracle and for ODBC Drivers).
However, if I connect to a server running SQL Server 2005, the
properties are read-only.

Razvan

Dec 20 '05 #7
Hi All,

I came up with a workaround -- if you right click on the link server
then select 'Script Linked Server As/ CREATE to/ New Query Window'
Management Studio will generate the code for creating the linked server
in a Query Window. You can then edit the code to change the desired
properties, delete the existing Linked Server, then execute the code to
recreate the linked server. If you then click the refresh selection for
the linked server folder's popup menu you will then see your newly
edited linked server. I found that this pretty much served the same
need as some of the features I'm surprised are missing from Management
Studio, such as an option to copy and paste a linked server or edit the
general properties. Nonetheless, I found that doing it this way is just
as popular, though not as obvious.

Thanks all

Dec 20 '05 #8
Razvan Socol (rs****@gmail.com) writes:
Hmm... you are right. Earlier, I tried using Management Studio Express
(Nov CTP) on a SQL Server 2000 server and I was able to modify the
properties of a linked server, if it is using a OLE DB Provider
(including the OLE DB Provider for Oracle and for ODBC Drivers).
However, if I connect to a server running SQL Server 2005, the
properties are read-only.


That sonds reasonable. I got a bit puzzled when you talked about direct
update to the syservers table, as in SQL 2005, there are no system tables
visible for direct update - sysservers and all the others are now views
only.
--
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
Dec 22 '05 #9

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

Similar topics

3
by: David Gray | last post by:
Hello all, Having problems connecting to an Oracle 9i database from within SQL/Server 2000 using the Security/Linked Servers feature. Server1 (SQL/Server) ----------- Windows Server 2003,...
1
by: Simon | last post by:
Hi I received the below error when trying to run an update from one SQL Server to another. I can insert and select. I cannot delete or update. The permissions have been changed to allow the...
0
by: lhansen | last post by:
We are attempting to access information in e-directory via a linked server in SQL Server 2000. The problem is, is that we can create a linked server and see the tables, but cannot view their data...
0
by: Justin Michael | last post by:
Hi, I have a linked server in sql 7 that connects to a ms access 2000 database. It has been working for a while, however lately, after we imported a large amount of new data, the database fails...
2
by: Neil | last post by:
I created a stored procedure to update a table on a linked server from a table in my local server. Both servers are SQL 7, and the linked server is accessed through the Internet. When I tried to...
2
by: DaTurk | last post by:
I have three interfaces, lets call them General, Client, Server. public interface General { public Value{get;} } public interface Client : General {}
1
by: BillCo | last post by:
There seems to be a lot of confusion around the groups about linking to an Access mdb with the SQL Server Jet OLE DB provider and I havent been able to find a straight forward solution. Basically,...
7
by: scoots987 | last post by:
Does anyone have a suggestion to do this? I have a table in SQL Server that has it's primary key as Bigint. When viewing directly with ODBC all the fields and rows show "#Deleted". I've tried to...
0
by: johntig | last post by:
need help with a foxpro linked server problem i have some foxpro tables that are part of an app. i have created a mssql linkedserver and can select records from a .aspx page my problem is how...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.