Error 7303 Sql Server Oracle
Contents |
360 games PC games sql server error 7303 linked server oracle Windows games Windows phone games Entertainment All Entertainment microsoft sql server error 7303 linked server oracle Movies & TV Music Business & Education Business Students & educators sql server error 7303 access Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet
Sql Server Error 7303 Architecture Mismatch
Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All sql server error 7303 excel Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site error 7303 in sql server 2008 About Us Learn more about Stack Overflow the company Business Learn more about
Microsoft Sql Server Error 7303 Mysql
hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join
Msg 7303 Sql Server 2008
the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Linking Oracle with SQL https://support.microsoft.com/en-us/kb/280106 Server up vote 5 down vote favorite 1 I'm trying to link SQL Server 2005 to an Oracle 10g database. I've installed the Oracle client on the SQL server and validated that I can connect to the Oracle database using both tnsping and sqlplus. When I try to run a query in SQL Server I get the following: OLE DB provider "OraOLEDB.Oracle" for linked server "ORA_CSSA2APD" http://stackoverflow.com/questions/3444576/linking-oracle-with-sql-server returned message "ORA-12154: TNS:could not resolve the connect identifier specified".
Msg 7303, Level 16, State 1, Line 1
Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "ORA_CSSA2APD". Any ideas? I've tried both of the following queries with no luck: select * from openquery(ORA_CSSA2APD, 'select count(rowid) from eservice_op.agent') select count(rowid) from ORA_CSSA2APD..eservice_op.agent sql-server oracle ora-12154 share|improve this question edited Aug 13 '10 at 14:00 APC 87k1383184 asked Aug 9 '10 at 22:07 bokoxev 121117 add a comment| 5 Answers 5 active oldest votes up vote 3 down vote accepted I suspect an environment setting. That is, your session is picking up the TNSNAMES.ORA file but the session underlying SQL Server is not. I'd check were ORACLE_HOME and, possibly, TNS_ADMIN are being set and pointing to. Are you able to use the easy connect syntax for the database with the SQL Server connection . IE replace ORA_CSSA2APD with hostname:1521/service_name share|improve this answer answered Aug 11 '10 at 0:06 Gary Myers 28.6k33057 The environment variables for both are set and accurate. I haven't tried the connect syntax you outlined above, but I did try creating a UDL and copyin
revised guide for connecting with SSIS using newer components. Unfortunately, setting up a linked server to Oracle is not as easy as it should be. In fact, you"ll have to install some software on your server to make http://www.ideaexcursion.com/2009/01/05/connecting-to-oracle-from-sql-server/ things work. I"ve put together a short guide on connecting to Oracle from SQL Server. The process doesn"t take very long but there are several hoops to jump through. Install Oracle Database 10g Client Release http://www.sqldbadiaries.com/2010/12/27/cannot-create-an-instance-of-ole-db-provider-oraoledb-oracle-for-linked-server/ 2 Install using the InstantClient option Install Oracle 10g Release 2 ODAC (64-bit, 32-bit) Select the Oracle Data Access Components option (not .NET!) Edit TNSNAMES.ora