Link to home
Create AccountLog in
Avatar of jxbma
jxbmaFlag for United States of America

asked on

How do I connect VS 2008 C# winform project to Oracle 9.2 database?

How do I connect VS 2008 C# winform project to Oracle 9.2 database?

Can anyone tell me what to do step by step to configure VS 2008 and Oracle 9.2 so that I can access data via the Oracle.DataAccess.Client in C#?

I can connect to the database outside of VS 2008 both with Oracle's tools and by creating a system dsn - (Excel)

I've installed a number of Oracle clients and am not able to connect to the database. The error message that I get is consistently something along the lines of :

'oraconn.ServerVersion" thre an excpetion of type 'System.InvalidOperationException'

I get the same error when trying to use the ODBC assembly.

Any and all help will be greatly appreciated as I have a looming deadline!

ASKER CERTIFIED SOLUTION
Avatar of Gruff82
Gruff82

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer