Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / March 2007

Tip: Looking for answers? Try searching our database.

Error with Linked Servers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MikeD - 28 Mar 2007 02:49 GMT
From time to time the linked servers we have set up cannot be accessed. When
I click on the tables node under the linked server within enterprise manager
the session hangs and no error message is displayed. When querying the data
via an openquery no error is thrown, the query simply runs until manually
aborted.

I've created a linked server OK but immediately cannot open it. The only way
around this problem we have is a reboot of the server. Does anyone know how
to resolve this problem and also what would cause this.

Thanks

Mike
Uri Dimant - 28 Mar 2007 08:28 GMT
MikeD
Do you have ping to linked server?

> From time to time the linked servers we have set up cannot be accessed.
> When
[quoted text clipped - 14 lines]
>
> Mike
MikeD - 28 Mar 2007 08:52 GMT
I can ping the server that sql is on if that's what you mean. I can see and
create linked servers but cannot query them - see below.

> MikeD
> Do you have ping to linked server?
[quoted text clipped - 17 lines]
> >
> > Mike
Uri Dimant - 28 Mar 2007 09:42 GMT
MikeD
Do you  run the query in this way?
SELECT <> FROM Server.dbname.dbo.table

>I can ping the server that sql is on if that's what you mean. I can see and
> create linked servers but cannot query them - see below.
[quoted text clipped - 22 lines]
>> >
>> > Mike
MikeD - 28 Mar 2007 09:54 GMT
No - it's an openquery so it's :
SELECT * FROM OPENQUERY[linked_server_name], 'Select * from table_name'

But the problem isn't so much in the query it's the fact that when you
select the linked server the system hangs with no error message and the only
way we have of resolving the issue is a server reboot

> MikeD
> Do you  run the query in this way?
[quoted text clipped - 26 lines]
> >> >
> >> > Mike
Uri Dimant - 28 Mar 2007 10:14 GMT
Well, is it large set data you want to return?

exec sp_serveroption 'servername','data access','true'

> No - it's an openquery so it's :
> SELECT * FROM OPENQUERY[linked_server_name], 'Select * from table_name'
[quoted text clipped - 38 lines]
>> >> >
>> >> > Mike
MikeD - 28 Mar 2007 10:32 GMT
It's nothing to do with the query or the size of data. the problem is that
the linked server cannot be accessed until a reboot is done.

> Well, is it large set data you want to return?
>
[quoted text clipped - 42 lines]
> >> >> >
> >> >> > Mike
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.