Link to home
Start Free TrialLog in
Avatar of NUCLEARE
NUCLEARE

asked on

UNIT TEST ORACLE CONNECTION

Hi
i have the following problem.
I have create a unit test Sub in vb.net where i Open a simple Oracle Connection in the
following way :

MyConnection = New OracleConnection("Password=giseltest;Persist Security Info=True;User ID=giseltest;Data Source=GISELDB")
MyConnection.Open()

Now if i execute the test on a pc where the operating system is Windows XP Professional
everything is ok, but if i execute the test on a pc where the operating system is Windows 7 64 bit Home i have always the following error : ORA - 12154

Thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of no worries :-) no nothing
no worries :-) no nothing
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Normally you should change the location where the corrsponding applications/program are - install  on another folder.
Avatar of Nasir Razzaq
Do you have the 64bit Oracle provider installed?
Avatar of NUCLEARE
NUCLEARE

ASKER

I add this two notes:
1) I have not  64bit Oracle provider installed
2) I compile solution in 32bit (x86)
3) And the same code in a normal vb.net project works without error

Then, have you checked my suggestions?