![]() |
|
#1
|
|||
|
|||
Connecting To Oracle Through Odp .nethi,
here's another problem i've and hopefully someone will have the solution. I am trying to connect to oracle 9i using ODP .net (I installed ODP .net). But when i compile my .cs file in command line (as i don't have visual studio and use Dreamweaver), i get the following errors... Code:
The above error is getting generated from these two lines: Code:
regards. |
|
#2
|
||||
|
||||
Re: Connecting To Oracle Through Odp .netHi Masum,
I found this: You need to either add a reference to your web.config file or copy the Oracle.DataAccess.dll file into your webapp's bin directory or When you compile your app at the command line just add the Oracle.DataAccess.dll as a reference. Like so, csc mywebpage1.aspx, mywebpage2.aspx /out: myapp /reference: c:\oracle\ora92\bin\oracle.dataaccess.dll /target:library You can visit this link for more information: Using Oracle Database Transactions Cheers, Paramesh. __________________
Don't walk in front of me, I may not follow. Don't walk behind me, I may not lead. Just walk beside me and be my friend. |
|
#3
|
|||
|
|||
Re: Connecting To Oracle Through Odp .netThnx Ramesh. I tried that already. Now i've got another problem. Now its giving me the following error.
Error: Unable to load DLL(OraOps9.dll) I don't have OraOps9.dll file in the bin directory(where its supposed to be) of the oracle home. But i have OraOps9.dll file in ODP .NET bin directory. I copied the file across to the oracle home bin directory but still having the same problem. I think i should make it clear that i am using oracle 9.0.1.1.1 and ODP .NET 9.02....I was reading in Oracle site that you have to have Oracle 9.0.2 version or something, but in some forum somewhere i was reading that u can even use ODP .NET with oracle 8i. So please help me out here, whether i can or can't use Oracle 9.0.1 with ODP .net? Regards, |
|
#4
|
||||
|
||||
Re: Connecting To Oracle Through Odp .netHi,
Try this link: FAQS Or try this: grant permissions to the Oracle home directory to the asp.net account(and possibly the iuser_machinename account). The oracle home directory isn't generally visible to non-interactive accounts. You may need read/execute on the oracle_home\bin directory. Regards, Paramesh. __________________
Don't walk in front of me, I may not follow. Don't walk behind me, I may not lead. Just walk beside me and be my friend. |
Recent GIDBlog
Writing a book by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Does .NET Plot Graphs? | JasonMichael | .NET Forum | 7 | 19-Mar-2008 17:01 |
| Introduction to .NET | LuciWiz | .NET Forum | 5 | 09-Aug-2007 04:53 |
| problem of c structure in .net | ganesh_ghodke | C Programming Language | 7 | 26-Aug-2005 04:14 |
| UDP Sockets between .NET and VS6 | MikeZ | MS Visual C++ / MFC Forum | 2 | 19-Feb-2004 10:55 |
| IP*Works! CC ICharge .NET Edition Launched at DiscountASP.NET | dasp | Web Hosting Advertisements & Offers | 0 | 25-Aug-2003 19:27 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The