<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'Oracle' and 'ORA-12154'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Oracle%2cORA-12154&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tags 'Oracle' and 'ORA-12154'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Connectivity problem with Oracle Database</title><link>http://forums.asp.net/thread/2337351.aspx</link><pubDate>Mon, 05 May 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2337351</guid><dc:creator>sachin0922</dc:creator><description>Hello All, 
&lt;p&gt;I am trying to access Oracle database from my ASP.NET application but it is giving me error &amp;quot;System.Data.OracleClient.OracleException: ORA-12154: TNS:could not resolve service name&amp;quot; .&lt;/p&gt;
&lt;p&gt;I have given full control to my ASP.NET Machine Account over my Oracle root directory and child directories. I am able to connect database using TOAD but from ASP.NET application it gives above error. I tried to tnsping the alias name of my database&amp;nbsp;and it is getting resolved from proper location(location where my TNSNAMES.ORA and SQLNET.ORA is stored).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Dont know what to do now.&lt;/p&gt;
&lt;p&gt;Can anyone help me..!!!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sachin&lt;/p&gt;</description></item><item><title>Re: asp.net to oracle application produces error ORA-12154 :TNS:could not resolve the connect identifier specified</title><link>http://forums.asp.net/thread/1992771.aspx</link><pubDate>Tue, 06 Nov 2007 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1992771</guid><dc:creator>ORA-12154</dc:creator><description>&lt;p&gt;Platform:&amp;nbsp;WindowsXP sp2 / Visual Studio 2003 / .net Framework v1.1.4322 / Oracle 8.1.7.4&lt;/p&gt;
&lt;p&gt;After uninstalling and reinstalling&amp;nbsp;oracle 8.1.7.4, I kept getting stubborn &amp;quot;ORA-12154 :TNS:could not resolve the connect identifier specified&amp;quot; from ASP.net app.&lt;/p&gt;
&lt;p&gt;I was&amp;nbsp;unable to assign read &amp;amp; execute on my c:\oracle folder to my IUSR_computer account.&amp;nbsp; Turns out my PC had been renamed before I took possession of it.&amp;nbsp; IIS properties tab indicated&amp;nbsp;it was using IUSR_OLDcomputer instead of IUSR_CURRENTcomputer.&lt;/p&gt;
&lt;p&gt;Adding read &amp;amp; execute on c:\oracle for&amp;nbsp;IUSR_OLDcomputer&amp;nbsp;finally solved ORA-12154.&lt;/p&gt;
&lt;p&gt;These permissions&amp;nbsp;are standard&amp;nbsp;fix for ORA-12154 but the&amp;nbsp;OLDcomputer name was&amp;nbsp;a twist&amp;nbsp;not mentioned&amp;nbsp;among all the posts I&amp;#39;ve read.&amp;nbsp; Thought I&amp;#39;d share.&lt;/p&gt;</description></item><item><title>Oracle problems for remote users</title><link>http://forums.asp.net/thread/1894234.aspx</link><pubDate>Wed, 05 Sep 2007 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1894234</guid><dc:creator>Loki</dc:creator><description>&lt;p&gt;My project uses a provider insensitive ado I wrote using System.Data.Common.&amp;nbsp; When I access the website on my local machine, everything runs fine.&amp;nbsp; If a user tries to access the website hosted on my machine, they get an error.&lt;/p&gt;
&lt;p&gt;First, it was System.Exception : System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.&lt;/p&gt;
&lt;p&gt;So, I added System.Data.OracleClient to the references and set copy local to true.&lt;/p&gt;
&lt;p&gt;Then, they got this error&lt;/p&gt;
&lt;p&gt;System.Data.OracleClient.OracleException : Error while trying to retrieve text for error ORA-12154 &lt;/p&gt;
&lt;p&gt;Some reserch showed me this may be related to TNS names.&amp;nbsp; Why should it matter what the client has for oracle&amp;nbsp;when the code is on my local (and works when run locally)?&amp;nbsp; Any ideas on how to fix this problem?&amp;nbsp; It doesn&amp;#39;t error at all for the Microsoft SQL Server 2005&amp;nbsp;databases that I am using.&lt;/p&gt;</description></item></channel></rss>