Solved

Problems to get communicate between 2 SQL 2000 Servers.

Posted on 2006-10-24
6
536 Views
Last Modified: 2012-05-05
Hi..


This is the scenario.

in 1 server I have windows 2003 Server Standard with SQL 2000 SP4 (let´s called Server1) in another server I have Windows 2000 Server Standard with SQL 2000 SP4 (Server2)

both server try to run a query in the query analyzer.

this is the command: select * from aero_sif.dbsifaero.dbo.tblclientes

and when I ran it on Server2 works, but in Server1 I got this error message.

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'SQLOLEDB' reported an error. The provider did not give any information about the error.
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' IUnknown::QueryInterface returned 0x80004005:  The provider did not give any information about the error.].

I recreate the link server, and add in the hosts file the IP address and the name, but still the same..

can someone help me on this..

thanks.

Roberto Tamez
0
Comment
Question by:Realhawk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 9

Accepted Solution

by:
gpompe earned 500 total points
ID: 17796811
On the server1 you have a Linked Server called aero_sif pointing to server2. In the security tab you have de server1 is using to access Server2.

Have you try login into Server2 with that user and try select * from dbsifaero.dbo.tblclientes ?

Let me know
0
 

Author Comment

by:Realhawk
ID: 17797213
I already tried the command select * from frisa_sim.dbo.tblclientes on server2 to server1 and works..

I used the sa account, just for permissions issue.. but still the same..

Regards..

RTL

0
 

Author Comment

by:Realhawk
ID: 17805959
I found the answer,

to fix the error:

Server: Msg 7399, Level 16, State 1, Line 1
OLE DB provider 'SQLOLEDB' reported an error. The provider did not give any information about the error.
OLE DB error trace [OLE/DB Provider 'SQLOLEDB' IUnknown::QueryInterface returned 0x80004005:  The provider did not give any information about the error.].

in the query analyzer go to HKLM\Software\Microsoft\Mssqlserver\providers\SQL OLEDB using Regedit command

Check all the parameters except AllowInProcess , they must have 0 in the value field and just the AllowInProcess must to have the value of 1.

And works..

Regards..

RTL
0
 

Author Comment

by:Realhawk
ID: 17805968
Question to Expert Exchange Administrator:

What happen if I found myself the answer.. what about the points?

Regards

RTL
0
 

Author Comment

by:Realhawk
ID: 17968124
Venabili:

You doesn´t answer my question..

I said, I found the answer.. and I added here..

anyway.. I will take the answer from gpompe because he was the only person to answer my question, but I got the answer from myself..

for anyone who has the same problem like me.. here is the Answer..

Regards..

RTL
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question