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

Error while creating DBLINK Oracle - SQL Server

I created DB Link as follows.
But when I run select statement

Select * from TableName@XXX_EH

I get following error message

ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from XXX_EH

I am stuck, not sure what to do. Any help would really appreciated.

1. Created System DSN = ICTXXXSCRATCH02DSN

2. Created initSIDICTXXXSCRATCH02.ora file in ORACLE_HOME\hs\admin as below

HS_FDS_CONNECT_INFO = ICTXXXSCRATCH02DSN
HS_FDS_TRACE_LEVEL = OFF

3. Updated tnsnames.ora in ORACLE_HOME\NETWORK\ADMIN as

XXXSQLSVR =
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=TCP)(HOST=SCRATCHSVR) # Oracle Server Name
(PORT=1521)
)
)
(CONNECT_DATA=(SID=SIDICTXXXSCRATCH02))
(HS=OK)
)

4. Updated Listener.ora in ORACLE_HOME\NETWORK\ADMIN as

(SID_DESC=
(SID_NAME=SIDICTXXXSCRATCH02)
(ORACLE_HOME=D:\oracle\product\10.2.0\db_1)
(PROGRAM=hsodbc)
)

Restarted the listener

5. CREATE public DATABASE LINK XXX_EH
CONNECT TO SA IDENTIFIED BY <PWD>
USING 'XXXSQLSVR'
Sep 13 '10 #1
0 1566

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Cherrish Vaidiyan | last post by:
hello, I am been getting mad with so many doubts and errors.. I have posted some doubts,test cases regarding listener,replication and standby database.But i havent got any response..(I am...
0
by: Mark Townsend | last post by:
Following is a summary of articles spanning a 7 day period, beginning at 23 Feb 2004 05:29:19 GMT and ending at 01 Mar 2004 04:12:14 GMT. Notes ===== - A line in the body of a post is...
7
by: Murtix Van Basten | last post by:
Hi all, I will deploy a database project to an Oracle server, but I could not figure out which version of Oracle should I get. Here is my configuration: Hardware: Dell 1750 Dual Xeon 3.2Ghz,...
6
by: owen | last post by:
Generally speaking, what does it mean when I see a "button" with red text showing this message instead of the control I've dragged onto the web form in Design View.? (But the page works fine at...
3
by: J | last post by:
Hi, I have setup a test server with the following installed: 1) Windoes Server 2003 - Latest SPs applied. 2) Ms_SQL Server 2000 - Latest SPs applied 3) Visual Studio 2003 I have Admin...
2
by: blackdog | last post by:
I have Oracle client in my system, like to use csharp to communicate with Oracle server to retrieve data. I am very new in csharp, would anyone please give me an example codes or web pointer....
1
by: Dave | last post by:
When I drop my custom control on my webform, I get "Error creating control..Unknown server tag 'cc1:MyGridView'" Here's the code, any suggestions would be appreciated. dave. <%@ Register...
0
by: sanil | last post by:
Hello, I have an oracle 9i server in win 2000 server and win98 clients. I want to connect oracle database using odbc driver in vb on a win 98 machine their is no oracle client is installed on it....
1
by: Kumarswamy | last post by:
hi, While updateing a column in a table,using rowid as references i am getting error like "ORA-00603: ORACLE server session terminated by fatal". Please can anyone tell me reason for this. ...
1
by: xuki | last post by:
Hi every one! I need your help to solve this problems. I'm trying to creat a wsdl file to a webservice but i'm getting an erros. "Error creating WSDL document:Error creating WSDL: no class...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.