473,779 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I got a error when i am establish the connection between oracle and sql server

1 New Member
Hai,

Issue: I am using OEM 10g grid control. I want to establish the connection from oracle to sql server=>I can’t able to connect it. Please help me

I have created the system dsn below steps.
Step 1) Open the odbc data source administrator
Step 2) select the system dsn tab page. And gave the dsnname
Step 3) configure the server and tested the connection
Step 4) connection has COMPLETED SUCCESSFULLY!
Expand|Select|Wrap|Line Numbers
  1. #this code has implemented in the inittest123.ora (this is the copy of inithsodbc.ora) placed at "C:\OracleHomes\db10g\hs\admin" directory.
  2.  
  3. # This is a sample agent init file that contains the HS parameters that are
  4. # needed for an ODBC Agent. 
  5.  
  6. #
  7. # HS init parameters
  8. #
  9. HS_FDS_CONNECT_INFO = test0907==>this is the SYSTEMDSNname
  10. HS_FDS_TRACE_LEVEL = OFF
  11.  
  12. #
  13. # Environment variables required for the non-Oracle system
  14. #
  15. #set <envvar>=<value>
  16.  
Expand|Select|Wrap|Line Numbers
  1. # listener.ora Network Configuration File: C:\OracleHomes\db10g\network\admin\listener.ora
  2. # generated by Oracle configuration tools.  
  3. #it is placed at C:\OracleHomes\db10g\NETWORK\ADMIN
  4.  
  5. #TRACE_LEVEL_LISTENER = ADMIN
  6.  
  7. SID_LIST_LISTENERTEST0707 =
  8.   (SID_LIST =
  9.     (SID_DESC =
  10.       (SID_NAME = test0907)==>systemdsn name
  11.       (ORACLE_HOME = C:\)==>here my OracleHomes dir is there (C:\OracleHomes\db10g)
  12.  
  13.       (PROGRAM = test123)===>this is hs file
  14.     )
  15.   )
  16.  
  17. LISTENERTEST0707 =
  18.   (DESCRIPTION_LIST =
  19.     (DESCRIPTION =
  20.       (ADDRESS_LIST =
  21.         (ADDRESS = (PROTOCOL = TCP)(HOST = "here i have placed my server ip")(PORT = 1522))
  22.       )
  23.       (ADDRESS_LIST =
  24.         (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
  25.       )
  26.     )
  27.   )
  28.  
  29.  

Expand|Select|Wrap|Line Numbers
  1.  
  2. # This is a tnsnames.ora that contains the NET8 parameters that are
  3. # needed to connect to an HS Agent
  4. #it is placed at C:\OracleHomes\db10g\NETWORK\ADMIN
  5.  
  6.  
  7. test0907 =
  8.   (DESCRIPTION=
  9.     (ADDRESS=(PROTOCOL=tcp)(HOST=gsmc-wipro.viking.net)(PORT=1522))
  10.     (CONNECT_DATA=(SERVER = DEDICATED)
  11.                   (SID=test0907))
  12.     (HS=ok)
  13.   ) 
  14.  
  15.  
  16.  

Expand|Select|Wrap|Line Numbers
  1. # sqlnet.ora Network Configuration File: C:\OracleHomes\db10g\network\admin\sqlnet.ora
  2. # generated by Oracle configuration tools.
  3.  
  4. SQLNET.AUTHENTICATION_SERVICES= (NTS)
  5.  
  6. NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
  7.  
After that I have configured the LISTENER (name is LISTENERtest090 7) through net configuation assistent.

Then

I have started the LISTENR through this exe(lsnrctl.exe )=started successfully.
I have tested the tns through the tnsping test0907==>work ing fine.
I have created the dblink like that
create public database link sqldblink connect to "username" by "password" using test0907("dsnna me")==>create d successfully.

after that when i am executing this script
("select * from EMP1@sqldblink" )
it shows the follwing error.

ERROR at line 1:
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 SQLDBLINK6.

Please help me, where I have made a mistake, I am a fresh for this oracle and oracle OEM 10G Grid control.
Jul 10 '08 #1
2 5541
Nepomuk
3,112 Recognized Expert Specialist
Hi devas! Welcome to bytes.com!
This post either belongs in the Oracle Forum or the SQL Server Forum, but not in the Feedback, Suggestions, Bugs and Comments Section. Please post your questions in the correct sections.

Greetings,
Nepomuk
Jul 10 '08 #2
acoder
16,027 Recognized Expert Moderator MVP
Moved to the Oracle forum.

Moderator.
Jul 10 '08 #3

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

Similar topics

3
14143
by: Darren | last post by:
Hi Oracle experts, We are getting this error on our Oracle system. I've searched Google, MSDN, Oracle tech support and newsgroups to death, but our DBAs seem to have already applied all the solutions suggested. Here's the relevant part from the Listener log: TNS-12500: TNS:listener failed to start a dedicated server process TNS-12540: TNS:internal limit restriction exceeded TNS-12560: TNS:protocol adapter error
0
13155
by: Miran Kopmajer | last post by:
I have Oracle JDeveloper10g installed on my computer and connection to Oracle AS works fine but connection to database returns Io exception: The Network Adapter could not establish the connection Vendor Code 17002 How to establish the connection to database? Can anybody help me? Thanks
1
3387
by: Semaj | last post by:
Environment: DB2 8.1.4; Windows 2000 We are evaluating the feasibility of upgrading our production DB from 7.2 to 8.1. During this process we've encountered an error when starting our application program, which establishes several JDBC connections to the database. However, this problem can be reproduced in a variety of ways, including using the CLP. Here are the steps required to reproduce the problem using the command-line...
10
2725
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through VS, however, when I change to release and put it out on the web it fails giving me the following error message The underlying connection was closed. Could not establish a trust relationship with the remote server.
5
9652
by: petro | last post by:
Hello all, My asp.net web application works on my machine but I get the following error on our test web server, There is only one oracle home on the test server. Does anyone know how to resolve this error? Oracle error occurred, but error message could not be retrieved from Oracle. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the...
1
8341
by: Mark Richards | last post by:
Hi, I am interfacing with another company using web services (they are a java shop). We've been doing this for over 2 years, but a couple months age we started getting this error randomly. It started getting more frequent, so I re-wrote the code from ASP to ASP.Net. The problem still continues. It appears that the problem happens most often if I make successive calls to their server in a short time frame (but not always). They claim...
0
5222
by: xdduk012x | last post by:
I'm new to Oracle and having a problem connecting to Oracle SQL Developer (version 1.1.0.23). The error message when I ran a test was as follows: Failure -lo exception: The Network Adaptor could not establish the connection. I used orcl as the connection name and SID and used localhost as the hostname. Does anybody know how to fix this?
3
13362
by: Ted | last post by:
In WSAT, I get the following error when trying to set up my provider: Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. On Windows XP Pro, I am using MS Visual Studio 2005, and I am using the developer's edition of...
0
2918
by: mbenedict | last post by:
I am rather new at this code and am attempting to modify existing code to use clob datatypes, which I have never used before. The database tables have been set up for clob data. When trying to use dbms_lob.writeappend, I am getting the following error..Command text was not set for the command object. I've researched this in the net as much as I could, but I'm lost in what I am doing wrong. Can you help please? Here is my code... ...
0
9632
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10302
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10136
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10071
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7478
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6723
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5501
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3631
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2867
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.