<?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>Oracle</title><link>http://forums.asp.net/57.aspx</link><description>All about using Oracle as a data store for ASP.NET.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: ORA-12154: TNS:could not resolve service name</title><link>http://forums.asp.net/thread/977024.aspx</link><pubDate>Mon, 04 Jul 2005 13:37:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:977024</guid><dc:creator>dantheman13</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/977024.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=57&amp;PostID=977024</wfw:commentRss><description>It works!!&lt;BR&gt;What was missing was giving the permissions to the tnsnames.ora file because even though I gave the proper permissions to the whole oracle file you still have to add permissions to this file individually as well. After I added permissions to that file no more errors! Hooray!&lt;BR&gt;Thanks to everyone who helped me!&lt;BR&gt;&lt;BR&gt;DAN</description></item><item><title>Re: ORA-12154: TNS:could not resolve service name</title><link>http://forums.asp.net/thread/974555.aspx</link><pubDate>Thu, 30 Jun 2005 21:56:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:974555</guid><dc:creator>rponton</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/974555.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=57&amp;PostID=974555</wfw:commentRss><description>The Oracle Universal(ly hated) Installer does stupid things with the permissions on the folders.&lt;br&gt;
&lt;br&gt;
Verify that the local ASPNET account (might as well just give it to
Everyone, IMHO) has Read/List/Execute permission on ORACLE_HOME,
ORACLE_HOME/bin, *and* ORACLE_HOME/network/admin.&amp;nbsp; Somehow, all of
those folders can end up with seperate permissions.&amp;nbsp; Further,
depending on how you copy the TNSNAMES.ORA file around, it can end up
with its own unique set of permissions, so check that too.&lt;br&gt;
&lt;br&gt;</description></item><item><title>Re: ORA-12154: TNS:could not resolve service name</title><link>http://forums.asp.net/thread/974277.aspx</link><pubDate>Thu, 30 Jun 2005 18:34:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:974277</guid><dc:creator>dweezil</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/974277.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=57&amp;PostID=974277</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;table width="85%"&gt;&lt;tr&gt;&lt;td class="txt4"&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt;&amp;nbsp;&lt;strong&gt;dantheman13 wrote:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="quoteTable"&gt;&lt;table width="100%"&gt;&lt;tr&gt;&lt;td width="100%" valign="top" class="txt4"&gt;Hi,&lt;br&gt;To the oracle folder I added asp.net,
authenticated users, Internet Guest Account and Launch IIS Process
Account users and gave them all full control. But I still get the same
error. Also I took the same code I mentioned above and used it in a
Windows application instead of a ASP.NET Web Application and I accessed
the database with no problems...&lt;br&gt;So does anyone have any suggestions on what to do now?&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;&lt;br&gt;DAN&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;
Make sure ASPNET and Authernicated Users permissions are propagating down to the BIN folder.&amp;nbsp; &lt;br&gt;
&lt;br&gt;
If this doesn't fix the problem post your tnsnames.ora file.&lt;br&gt;</description></item><item><title>Re: ORA-12154: TNS:could not resolve service name</title><link>http://forums.asp.net/thread/974097.aspx</link><pubDate>Thu, 30 Jun 2005 16:17:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:974097</guid><dc:creator>dantheman13</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/974097.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=57&amp;PostID=974097</wfw:commentRss><description>Hi,&lt;BR&gt;To the oracle folder I added asp.net, authenticated users, Internet Guest Account and Launch IIS Process Account users and gave them all full control. But I still get the same error. Also I took the same code I mentioned above and used it in a Windows application instead of a ASP.NET Web Application and I accessed the database with no problems...&lt;BR&gt;So does anyone have any suggestions on what to do now?&lt;BR&gt;Thanks.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;DAN</description></item><item><title>Re: ORA-12154: TNS:could not resolve service name</title><link>http://forums.asp.net/thread/973926.aspx</link><pubDate>Thu, 30 Jun 2005 14:18:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:973926</guid><dc:creator>dweezil</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/973926.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=57&amp;PostID=973926</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;table width="85%"&gt;&lt;tr&gt;&lt;td class="txt4"&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt;&amp;nbsp;&lt;strong&gt;dantheman13 wrote:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="quoteTable"&gt;&lt;table width="100%"&gt;&lt;tr&gt;&lt;td width="100%" valign="top" class="txt4"&gt;Hi,&lt;br&gt;from what I have been reading here and
elsewhere I think there might be a problem with my permissions with
asp.net and oracle. Where do I go on my computer to find this
information and how would I go about changing the permissions if that
is indeed the problem.&lt;br&gt;I am using Oracle 8.1.7 and Visual Studio .NET 2003 on a Windows 2000 system.&lt;br&gt;Thanks&lt;br&gt;&lt;br&gt;&lt;br&gt;DAN&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;
Check that the ASPNET account and the Authenicated Users group both have Read &amp;amp; Execute permissions on the Oracle directory.&lt;br&gt;
Right click the Oracle directory and select Properties, then click on the Security tab to view the permissions.&lt;br&gt;</description></item><item><title>Re: ORA-12154: TNS:could not resolve service name</title><link>http://forums.asp.net/thread/973808.aspx</link><pubDate>Thu, 30 Jun 2005 13:04:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:973808</guid><dc:creator>dantheman13</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/973808.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=57&amp;PostID=973808</wfw:commentRss><description>Hi,&lt;BR&gt;from what I have been reading here and elsewhere I think there might be a problem with my permissions with asp.net and oracle. Where do I go on my computer to find this information and how would I go about changing the permissions if that is indeed the problem.&lt;BR&gt;I am using Oracle 8.1.7 and Visual Studio .NET 2003 on a Windows 2000 system.&lt;BR&gt;Thanks&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;DAN</description></item><item><title>Re: ORA-12154: TNS:could not resolve service name</title><link>http://forums.asp.net/thread/973137.aspx</link><pubDate>Wed, 29 Jun 2005 21:20:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:973137</guid><dc:creator>Caddre</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/973137.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=57&amp;PostID=973137</wfw:commentRss><description>&lt;P&gt;I also don't think you can use&amp;nbsp; OracleDataAdapter to connect to Oracle 8.1.7, you have to use Microsoft&amp;nbsp; OracleAdapter because OracleDataAdapter can only be used by Oracle 9i.&amp;nbsp; Try the links below for connectionstring.&amp;nbsp; Hope this helps&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;A href="http://www.carlprothman.net/Default.aspx?tabid=86#OracleNETDataProvider"&gt;http://www.carlprothman.net/Default.aspx?tabid=86#OracleNETDataProvider&lt;/A&gt;&lt;/P&gt;</description></item><item><title>Re: ORA-12154: TNS:could not resolve service name</title><link>http://forums.asp.net/thread/973114.aspx</link><pubDate>Wed, 29 Jun 2005 21:04:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:973114</guid><dc:creator>dweezil</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/973114.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=57&amp;PostID=973114</wfw:commentRss><description>I don't see a connection in string your code. &lt;br&gt;
&lt;br&gt;
You have to pass the connection string as an argument to the connection
object, or else it does not know what Oracle instance to open.&lt;br&gt;
&lt;br&gt;</description></item><item><title>ORA-12154: TNS:could not resolve service name</title><link>http://forums.asp.net/thread/973012.aspx</link><pubDate>Wed, 29 Jun 2005 19:40:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:973012</guid><dc:creator>dantheman13</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/973012.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=57&amp;PostID=973012</wfw:commentRss><description>Hello all,&lt;BR&gt;I am very new to Oracle and I keep getting this error in .Net and I don't know why...&lt;BR&gt;I am using Oracle 8.1.7, C# and&amp;nbsp;using System.Data.OracleClient&lt;BR&gt;I selected OracleDataAdaptor from the toolbox and created a new connection and tested it and it was successful.&lt;BR&gt;I built my program and there are no errors but when the page loads I get the error mentioned in the subject heading.&lt;BR&gt;It says the error occurs at conn.Open();&lt;BR&gt;Does anyone know how to go about and try to fix this error?&lt;BR&gt;By the way here is that section of code:&lt;BR&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;protected&lt;/FONT&gt;&lt;FONT size=2&gt; System.Data.OracleClient.OracleDataAdapter oracleDataAdapter1;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;protected&lt;/FONT&gt;&lt;FONT size=2&gt; System.Data.OracleClient.OracleCommand oracleSelectCommand1; // Selects all the columns in the db&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;protected&lt;/FONT&gt;&lt;FONT size=2&gt; System.Data.OracleClient.OracleCommand oracleInsertCommand1;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;protected&lt;/FONT&gt;&lt;FONT size=2&gt; System.Data.OracleClient.OracleConnection conn; // Tested connection and it worked&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;protected&lt;/FONT&gt;&lt;FONT size=2&gt; System.Web.UI.WebControls.ListBox nameListBox;&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;private&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt; Page_Load(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;object&lt;/FONT&gt;&lt;FONT size=2&gt; sender, System.EventArgs e)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;using&lt;/FONT&gt;&lt;FONT size=2&gt;(conn)&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;using&lt;/FONT&gt;&lt;FONT size=2&gt;(oracleSelectCommand1)&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;{&lt;/P&gt;
&lt;P&gt;oracleSelectCommand1.Connection = conn;&lt;/P&gt;
&lt;P&gt;conn.Open();&lt;/P&gt;
&lt;P&gt;OracleDataReader reader = oracleSelectCommand1.ExecuteReader();&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;while&lt;/FONT&gt;&lt;FONT size=2&gt;(reader.Read())&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;nameListBox.Items.Add(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; ListItem(reader.GetString(0)));&lt;/P&gt;
&lt;P&gt;reader.Close();&lt;/P&gt;
&lt;P&gt;}&lt;BR&gt;&lt;BR&gt;Thanks.&lt;BR&gt;&lt;BR&gt;DAN&lt;/P&gt;&lt;/FONT&gt;</description></item></channel></rss>