﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / Working with Oracle  / Linked server headaches - only failing when executed by sql server agent job / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 19:59:50 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Linked server headaches - only failing when executed by sql server agent job</title><link>http://www.sqlservercentral.com/Forums/Topic1369589-1044-1.aspx</link><description>A reboot cleared this up.</description><pubDate>Mon, 08 Oct 2012 07:23:23 GMT</pubDate><dc:creator>jshurak</dc:creator></item><item><title>Linked server headaches - only failing when executed by sql server agent job</title><link>http://www.sqlservercentral.com/Forums/Topic1369589-1044-1.aspx</link><description>I have an Oracle 11g r2 linked server.  Its currently working for queries and stored procedures.  However, when attemping to execute a stored procedure that pulls database from the linked server, we're getting the [code="sql"]"ORA-12154: TNS:could not resolve the connect identifier specified". [SQLSTATE 01000] (Error 7412)[/code] Error.  I checked the error logs, the 'executed as user' has the correct rights through the linked server. I can test the connection and even run the stored procedure manually with this user.  Any ideas?Also, this is a bit bizarre, but if I check the 'Allow in process' for the Oracle OLE DB provider, it breaks the linked server.</description><pubDate>Sun, 07 Oct 2012 19:33:50 GMT</pubDate><dc:creator>jshurak</dc:creator></item></channel></rss>