Error 7303 Oracle
Contents |
while creating a linked server to Oracle ★★★★★★★★★★★★★★★ SnehadeepJune 30, 201028 0 0 0 This is one of the most common errors while creating linked server to Oracle database. Today I will discuss the reason for this error and possible resolutions.
Full error 7303 oracle linked server error message: OLE DB provider "MSDAORA" for linked server "LINKED_ORA" returned message "ORA-12154: TNS:couldError 7303 In Sql Server 2008
not resolve the connect identifier specified".
Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of error 7303 silverlight OLE DB provider "MSDAORA" for linked server "LINKED_ORA". First of all make sure you have reviewed the following Microsoft KB article that has a lot of good information on troubleshooting Oracle linked server issues. How toSql Server 2012 Linked Server Oracle
set up and troubleshoot a linked server to an Oracle database in SQL Server
http://support.microsoft.com/kb/280106 Also make sure you have installed Oracle Client on the SQL server. If the SQL server is 64 bit then we need to install 64 bit Oracle provider. You can also create linked server using Oracle ODBC driver together with Microsoft OLE DB provider for ODBC. Once again on a 64 bit SQL server you need to install the 64-Bit OLEDB microsoft sql server error 7302 oraoledb oracle Provider for ODBC (MSDASQL) and 64 bit Oracle ODBC drivers. However 64-Bit OLEDB Provider for ODBC (MSDASQL) is already there in Windows Vista/Windows Server 2008 and later OS. This particular error message is a very general error message and can happen for quite a number of reasons. For general understanding of the error, you can review oracle documentation like this http://ora-12154.ora-code.com/ In SQL Server Linked Server, it could indicate a few things (not limited to)– 1. SQL Server (and oracle net libraries) is not able to get the TNS alias from tnsnames.ora file. 2. Something is wrong with the way the alias is created in the tnsnames.ora file (incorrect syntax) 3. TNS alias could not be resolved into a connect descriptor Below is a list of things that you can try to resolve this issue. 1. Verify that the tnsnames.ora file has the alias and the service name that the customer is using. TNS entry for the Oracle database =========================== OracleDB_Dev = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server01.mydomain.com)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = OracleDB) (SERVER = DEDICATED) ) ) In the above tnsnames.ora file Alias = OracleDB_Dev ServiceCommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back
Microsoft Sql Server Error 7303 Linked Server
on and reload this page. Please enter a title. You can
Sql Server Oracle Linked Server Query Syntax
not post a blank message. Please type your message and try again. More discussions in Oracle sql server linked server oracle provider string Provider for OLE DB All PlacesDatabaseDatabase Application DevelopmentWindows and .NETOracle Provider for OLE DB This discussion is archived 2 Replies Latest reply on Oct 10, 2012 1:55 https://blogs.msdn.microsoft.com/dataaccesstechnologies/2010/06/30/ora-12154-tns-could-not-resolve-the-connect-identifier-specified-error-while-creating-a-linked-server-to-oracle/ AM by 967297 Steps to connect SQL Server to Oracle works but WHY ?? 888236 Sep 21, 2011 6:18 PM The following steps is what I have to do in order to get SQL Server to talk to an Oracle database. These steps, for me, work 100% of the time. Any deviation from the https://community.oracle.com/thread/2289794 following steps will result in failure. Rebooting the machine didn't make any difference between each of the steps. My question is why I have to install the client a second time? All the documentation that I have found at Oracle, Microsoft, or elsewhere state that I only need the InstantClient. ========================================= Some server I don't have access to with Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit installed Windows XP SP3 - 32bit with Microsoft SQL Server 2005 SP3 installed The following steps are done on the Windows XP machine. 1) install win32_11gR2_client Select: InstantClient (174.0MB) Path: C:\Oracle 2) install ODTwithODAC112021 Select: Oracle Data Access Components for Oracle Client Oracle Base: C:\Oracle Name: OraClient11g_home1 Path: C:\Oracle\product\11.2.0\client_1 3) Add entries for tnsnames.ora and sqlnet.ora 4) Ensure environmental variable ORACLE_HOME is set to C:\Oracle\product\11.2.0\client_1 5) SQL Server Management Studio Check "Allow Inprocess" for Oracle Provider OraOLEDB.Oracle Restart SQL Server Try to add link to Oracle - fails to connect "The test c