<?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 '.net'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Oracle%2c.net&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tags 'Oracle' and '.net'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: error: 26 - Error Locating Server/Instance Specified</title><link>http://forums.asp.net/thread/3562901.aspx</link><pubDate>Sun, 13 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3562901</guid><dc:creator>shantanu.gupta</dc:creator><description>&lt;div&gt;
&lt;p&gt;Here is the resolution to error 26. Check this video to configure your error.&amp;nbsp;It was a real headache for me&amp;nbsp; for a long time. But this worked.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://techpint.com/programming/error-26-%E2%80%93-error-locating-serverinstance-specified-sql-server" rel="nofollow" target="_new"&gt;http://techpint.com/programming/error-26-%E2%80%93-error-locating-serverinstance-specified-sql-server&lt;/a&gt;&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;&lt;a href="http://techpint.com/programming/error-26-%E2%80%93-error-locating-serverinstance-specified-sql-server" rel="nofollow" target="_new"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Re: Data provider for Oracle?</title><link>http://forums.asp.net/thread/2868415.aspx</link><pubDate>Thu, 15 Jan 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2868415</guid><dc:creator>thakkarnimesh</dc:creator><description>&lt;p&gt;This redirects me to Oracle Data Access Components, which I mentioned earlier.&lt;/p&gt;
&lt;p&gt;I have already installed this but stuck in executing the scripts which is the last part.&lt;/p&gt;
&lt;p&gt;When I execute the script one by one from Oracle XE interface, it ignores the statement where other script is referenced.&lt;/p&gt;
&lt;p&gt;How can I execute all the scripts at one go? OR, how do I run the script that the referencing statements are not ignored.&lt;/p&gt;</description></item><item><title>Learning from others</title><link>http://forums.asp.net/thread/2552360.aspx</link><pubDate>Tue, 12 Aug 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2552360</guid><dc:creator>Infinite_Recursion</dc:creator><description>&lt;p&gt;I was not sure of where to post this. I am not sure of how appropriate the title is, but here goes:&lt;br /&gt;The main focus of my post is to get a broader idea of current technologies. Taking a peek at non-Microsoft Technologies, I played a bit with JDeveloper and ADF. I have to admit that I noticed features that are not matched in the Microsoft realm of development tools and approaches. The whole framework is something else. I mean ADF is obviously targeted at business applications, and I as an ASP.NET developer have to develop Business Applications all the time. But ASP.NET does not have those cool things that ADF + JDeveloper + (add what you see fit here since I am not an expert ) have.&lt;/p&gt;&lt;p&gt;Why don&amp;#39;t Microsoft start heading in the right direction? I know that they are working on MVC, and some other things like ASP.NET Dynamic Data, but I am not sure that this is enough. When working with .NET technology, it always feels like we have this big puzzle that we must figure out. We have to get a tool from here, and a whole other framework from their, and some hacks from somewhere else and finally glue all these things up. And after things start working, you notice that you are like the only one that knows how the pieces fit together, thus inducing a very steep learning curve.&lt;/p&gt;&lt;p&gt;I am starting to feel jealous when I notice how other developers that work on JDeveloper, are able to build a whole business application without having to write much code. Everything (almost) is done deceleratively. OR Mapping, they have it; MVC, already there; smart IDE that has tons of wizards, granted. In ASP.NET (.NET in general), we need something like NHibernate for OR Mapping, messing around with the BETA MVC framework for MVC, and have to get third party controls or even build our own to start feeling that we are developing smarter.&lt;/p&gt;&lt;p&gt;I wish Microsoft can learn from others, I might even start learning that Oracle technology cocktail.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Select statement for arabic data not working!! </title><link>http://forums.asp.net/thread/2519091.aspx</link><pubDate>Mon, 28 Jul 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2519091</guid><dc:creator>cpcdafoor</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;In my asp.net code, I am trying to retrieve some data from an oracle database using a select statement that includes an arabic string (see in green). The select statement is as follows:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;font color="#0000ff" size="2"&gt;select &lt;/b&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;* &lt;/font&gt;&lt;b&gt;&lt;font color="#0000ff" size="2"&gt;from &lt;/b&gt;&lt;/font&gt;&lt;font size="2"&gt;T_GOG_PHONEBOOK &lt;/font&gt;&lt;b&gt;&lt;font color="#0000ff" size="2"&gt;where &lt;/b&gt;&lt;/font&gt;&lt;font size="2"&gt;afl_name &lt;/font&gt;&lt;b&gt;&lt;font color="#0000ff" size="2"&gt;like &lt;/b&gt;&lt;/font&gt;&lt;font color="#008080" size="2"&gt;&amp;#39;%عبدالله جابر%&amp;#39; &lt;/font&gt;&lt;b&gt;&lt;font color="#0000ff" size="2"&gt;and rownum &lt;/b&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&amp;lt; &lt;/font&gt;&lt;font size="2"&gt;50&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;For some reason, I don&amp;#39;t get any results although, using the same select statement in SQL Navigator, I do get the needed results. The character sets in the database are WE8ISO8859P1 and AL16UTF16 for NLS_CHARACTERSET, and&amp;nbsp;NLS_VCHAR_CHARACTERSET respectively (i cannot change them!). &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;What could be the reason behind this? Here are some things I tried:&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;font size="2"&gt;changing the locale! (I don&amp;#39;t know if what I did was right. I think not)&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="2"&gt;changing Oracle NLS_Lang in the registry&amp;nbsp;(again, just trial and error)&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="2"&gt;encoding the string in my code. ?!?!&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;Please help me in this issue. It&amp;#39;s been weeks :(&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Regards, &lt;/p&gt;</description></item><item><title>How to make a oracle package call and receive the return values as dataset</title><link>http://forums.asp.net/thread/2168307.aspx</link><pubDate>Tue, 12 Feb 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2168307</guid><dc:creator>kabir.khan.net</dc:creator><description>&lt;p&gt;Here is My Problem, I have a complicated login porcess, there are two seperate databases involve in it. Firstly, I will search the userid in the local sql server 2005 database, if not found I will call an oracle package which is being develop by a third party(none comercial) and that package will verify the userid and password and return me&amp;nbsp;user&amp;#39;s present credentials (rolse, orgs, etc) as dataset. My question is how do a call that oracle package from asp.net application and how do a recieve a oracle dataset or cursor at the asp.net. Sorry if i wasnt clear. I really do need help on this, any help will be appreciated.&lt;/p&gt;
&lt;p&gt;I will like to use ODP.net if at all possible.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Kabir&lt;/p&gt;</description></item><item><title>Re: Converting Now date to Oracle's whacky date</title><link>http://forums.asp.net/thread/2060186.aspx</link><pubDate>Fri, 14 Dec 2007 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2060186</guid><dc:creator>ratnamadhuri</dc:creator><description>&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;Date&lt;/font&gt;&lt;font size="2"&gt;.Now.ToString(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;yyyy-MMM-dd&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;doesnt make sense but works.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;You can also try&amp;nbsp;&lt;font color="#0000ff"&gt; &lt;/font&gt;Date&lt;font size="2"&gt;.Now.ToString(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;dd-MMM-yyyy&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;universal function to convert any oracle date to .net date&lt;/p&gt;&lt;font color="#a31515" size="2"&gt;
&lt;p&gt;to_char(doe,&amp;#39;MM-DD-YYYY HH24:MI:SS&amp;#39;)= &amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &amp;amp; doe.ToString(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;MM-dd-yyyy HH:mm:ss&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&lt;font size="2"&gt;(doe is of type date)&amp;nbsp; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;The format of the second parameter for oracle date function should match the format of the parameter for the .net function.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;example shown below&lt;/p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;font size="2"&gt; updatedate(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; number &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; doe &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Date&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;font size="2"&gt; username &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; query &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Try&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;query = &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Update tablename set date1 =&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &amp;amp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Date&lt;/font&gt;&lt;font size="2"&gt;.Now.ToString(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;yyyy-MMM-dd&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;) &amp;amp; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;#39;,username= &amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &amp;amp; DatabaseConnections.Username() &amp;amp; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;#39; where id= &amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &amp;amp; number&amp;amp; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot; and user_id=&amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &amp;amp; username &amp;amp; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;#39; and to_char(doe,&amp;#39;MM-DD-YYYY HH24:MI:SS&amp;#39;)= &amp;#39;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &amp;amp; doe.ToString(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;MM-dd-yyyy HH:mm:ss&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;) &amp;amp; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;#39;&amp;quot;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; cmdupdate &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;font size="2"&gt; OleDbCommand(query, dbcon.opendatabaseconnection())&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; i &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Integer&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;i = cmdupdate.ExecuteNonQuery()&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/font&gt;&lt;font size="2"&gt; (i &amp;gt; 0) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Then&lt;/font&gt;&lt;font size="2"&gt; MessageBox.Show(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Task completed&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Catch&lt;/font&gt;&lt;font size="2"&gt; ex &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; Exception&lt;/p&gt;MessageBox.Show(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Error in updatediarycompletedate() &amp;quot;&lt;/font&gt;&lt;font size="2"&gt; &amp;amp; ex.Message)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Finally&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;dbcon.closeconnection()&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Try&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&amp;nbsp;A call to the above function will be like&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;databaseconnectionsclassfileobject.updatedate(8000, datetime.now.date, username)&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Character mismatch exception while using &amp;quot;SQLDataSource&amp;quot;  for &amp;quot;GridView&amp;quot; updating Oracle Data Base </title><link>http://forums.asp.net/thread/1769032.aspx</link><pubDate>Sat, 23 Jun 2007 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1769032</guid><dc:creator>avais2006</dc:creator><description>&lt;p&gt;i creat connection easlly and fatch data from oracle and delete also easlly uisng &amp;quot;SQLDataSource&amp;quot; for &amp;quot;GridView&amp;quot;&amp;nbsp;&amp;nbsp;accessing Oracle Data Base but when i wish to do &amp;quot;UpDate&amp;quot; it give me the execption &amp;quot;System.Data.OracleClient.Oracle Exception:ORA-12704:Character Set MisMatch&amp;quot; and application crashed&lt;/p&gt;
&lt;p&gt;Please if any one know how to solve&lt;/p&gt;</description></item><item><title>Re: OracleTable to C# Class</title><link>http://forums.asp.net/thread/1752824.aspx</link><pubDate>Wed, 13 Jun 2007 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1752824</guid><dc:creator>opethema</dc:creator><description>&lt;p&gt;i have developed this tool myself!&lt;/p&gt;&lt;p&gt;thanks for no help.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Transfer Data from Oracle to SQL</title><link>http://forums.asp.net/thread/1743659.aspx</link><pubDate>Thu, 07 Jun 2007 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1743659</guid><dc:creator>systima</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am new to Oracle and SQL and I want to transfer data from Oracle to an SQL table.&amp;nbsp; Would it be better to look into doing this using a DTS package or writing a c#.net program to do it?&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to write Commit trasction</title><link>http://forums.asp.net/thread/1736315.aspx</link><pubDate>Sat, 02 Jun 2007 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1736315</guid><dc:creator>vijaya123</dc:creator><description>&lt;p&gt;&lt;u&gt;Note from moderator&amp;nbsp;XIII&amp;nbsp;: this message was moved from the &lt;strong&gt;Oracle&lt;/strong&gt; forums&lt;/u&gt;:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i have create Business logic layer&lt;/p&gt;
&lt;p&gt;i want to implement begin transaction &lt;/p&gt;
&lt;p&gt;commit transaction.&lt;/p&gt;
&lt;p&gt;if data is not properly updated&amp;nbsp; -&amp;gt; Rollback trasaction&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="mailto:vijaya@jyothy.com"&gt;vijaya@jyothy.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>