Solved

Problems to get communicate between 2 SQL 2000 Servers.

Posted on 2006-10-24
6
535 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
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
understanding output of mysql version 2 67
Update in Sql 7 38
Question about DB Schema 27 61
Creating a record in a database with static data from MVC to SQL (Entity) 2 29
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
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…

830 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