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 / Other Technologies / Full-Text Search / September 2004

Tip: Looking for answers? Try searching our database.

Remote Indexing / Distributed Query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MadMax - 09 Jun 2004 08:26 GMT
Hi guys

I'm trying to access an Indexing Service located on a remote machine usin
the distributed query functionality of MS-SQLServer

On a newsgroup on Goggle I found an old article in which it was describe
a configuration that I replicated but with no lucky

I have two Windows 2000 (SP4) boxes with MS-SQLServer 2000 Enterprise Ed. (SP3)

On the first server (server1), the Indexing Server is up & running
the service is configured using Local System Account and is allowe
to interact with the desktop

On the second box (Server2), the Indexing Service is stopped. I've configure
a linked server using the following system procedure call
 
  sp_addlinkedserver FileSystem, 'Index Server', 'MSIDXS', 'System

Then, using SQL Query Analyzer connected with Server2, I run this statement

SELECT *  FROM OPENQUERY(FileSystem,  'SELECT Directory, FileName
                        DocAuthor, Size, Create, Writ
             FROM server1.System..SCOPE ('' "c:\" '') WHERE CONTAINS(''microsoft'')
         

It fails  providing the following messages

Server: Msg 7399, Level 16, State 1, Line
Provider OLE DB 'MSIDXS' signaled an error.
[OLE/DB provider returned message: Unspecified error
[OLE/DB provider returned message: Invalid catalog name 'SYSTEM'. SQLSTATE=42000
OLE DB Error Trace [OLE/DB Provider 'MSIDXS' ICommandPrepare::Prepare returned 0x80004005:   ]

Note that if I open SQL Query Analyzer on server1 and I run the same statement
(a sort of loop-back ?!?), the query works fine

Do you know what is going on ?

I'm wondering if this kind of configuration is supported. Looking in the documentatio
I wasn't able to find any answer. Do you know if, for MSIDXS OLE/DB provider, the
distributed query facility is limited to the server where both SQLServer and Indexin
Server are running

As you know, indexing is a quite expansive task; so I would like to perfom it on
dedicated server. If distributed query doesn't address this scenario, can I us
something else ? I also tried some ADO programming, but I found no way to specif
a remote source in the connnection string: does the MSIDXS provider support onl
local connection

Many thanks for your kind repl
MadMax - 10 Jun 2004 15:04 GMT
Hi guys,

after many tries I managed to find out a way to make work the
described configuration.

It's a ***very ugly*** work-around but, at least, it helped me the find the origin of the problem: authentication!

From Server2, I make a connection (log to IPC$) to server1 using an administrative
account. After this operation, the query on the remote indexing server works fine!.

Unfortunately I wasn't able to find out a clean solution. Infact, even if I
configured the login info in the Linked Server Properties using the same account
previously used to connect to the IPC$ of server1, I wasn't able to make the query work. I got the same error messages.

Can someone out there give me some help ?

note that server1 and server2 are stand-alone server: they're not attached to any domain.

THX for your kind reply

Max

> Hi guys,
>
[quoted text clipped - 49 lines]
>
> Max
SqlJunkies User - 21 Sep 2004 14:15 GMT
I'm having the same problems.  Have you found a solution to your problem yet?

Ian

---
Hilary Cotter - 21 Sep 2004 18:31 GMT
what error message are you getting?

Signature

Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

> I'm having the same problems.  Have you found a solution to your problem yet?
>
[quoted text clipped - 3 lines]
>
>  Our newsgroup engine
supports Post Alerts, Ratings, and Searching.
 
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.