Page 1 of 2
oradirect 3.2 on x64
Posted: Sun 19 Mar 2006 05:54
by tom
hi
can I use oradirect 3.2 with vs2005 (vc++8.0) on windows xp x64 ?
it tell me licence error.
thank u
Posted: Mon 17 Apr 2006 08:25
by Paul
Please try OraDirect .NET 3.50. We fixed this problem there.
vs2005,oracle10g,connection error
Posted: Tue 25 Apr 2006 01:32
by tom_jht
hi,
I install 3.5,
I try to connect with oracle 10g on windows xp 64 with vs2005 on one machine, souce code like this:
CoreLab::Oracle::OracleConnection ^oracleConnection1=gcnew CoreLab::Oracle::OracleConnection ();
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open ();
it tell me:
arithmetic operation ...overflow
why?
thank u
Posted: Tue 25 Apr 2006 07:47
by Paul
What version of Oracle client do you use? Try to connect to Oracle server with "Direct=true" in ConnectionString. Try to reproduce this problem with OraDirect .NET sample projects.
Posted: Wed 26 Apr 2006 02:06
by tom_jht
I use 10.2.0.1
Posted: Wed 26 Apr 2006 08:49
by Alexey
Try to connect to Oracle server with "Direct=true" in ConnectionString. Try to reproduce this problem with OraDirect .NET sample projects.
Notify us on the results.
Posted: Thu 27 Apr 2006 02:35
by tom_jht
hi,
Direct Mode can do well.
but i want to use "loader",it have to use undirect mode ,how to to ?
I use oracle 10g (10.2.0.1) client ,windows xp 64,vs2005 vc++8 on my machine, souce code like this:
CoreLab::Oracle::OracleConnection ^oracleConnection1=gcnew CoreLab::Oracle::OracleConnection ();
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open ();
when i do ,it tell me:
An unhandled exception of type 'System.OverflowException' occurred in mscorlib.dll
Additional information: Arithmetic operation resulted in an overflow.
thank u
x64
Posted: Tue 09 May 2006 02:35
by tom_jht
I use oracle 10g (10.2.0.1) client ,windows xp 64,vs2005 vc++8 on my machine.
can i use oradirect.net in undirect mode?
how to do?
thank u
tom
Posted: Wed 10 May 2006 07:08
by Paul
We can not reproduce the problem on oracle 10g (10.2.0.1) client ,windows xp 64,vs2005 vc++8. Please send us call stack for this exception
exeception
Posted: Thu 11 May 2006 01:47
by tom_jht
hi,
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
this->oracleConnection1 = (gcnew CoreLab::Oracle::OracleConnection());
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open();
}//line 94
Additional information: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
call strack information:
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionClosed.Open(CoreLab.Common.DbConnectionBase outerConnection = {CoreLab.Oracle.OracleConnection}) + 0xe0 bytes
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionBase.Open() + 0x32 bytes
CoreLab.Oracle.dll!CoreLab.Oracle.OracleConnection.Open() + 0x19b bytes
>test.exe!test::Form1::button1_Click(System::Object^ sender = 0x0012ed0c, System::EventArgs^ e = 0x0012ed1c) Line 94 + 0xe bytes C++
System.Windows.Forms.dll!System.Windows.Forms.Control.OnClick(System.EventArgs e) + 0x57 bytes
exeception
Posted: Thu 11 May 2006 01:50
by tom_jht
hi,
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
this->oracleConnection1 = (gcnew CoreLab::Oracle::OracleConnection());
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open();
}//line 94
Additional information: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
call strack information:
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionClosed.Open(CoreLab.Common.DbConnectionBase outerConnection = {CoreLab.Oracle.OracleConnection}) + 0xe0 bytes
CoreLab.Oracle.dll!CoreLab.Common.DbConnectionBase.Open() + 0x32 bytes
CoreLab.Oracle.dll!CoreLab.Oracle.OracleConnection.Open() + 0x19b bytes
>test.exe!test::Form1::button1_Click(System::Object^ sender = 0x0012ed0c, System::EventArgs^ e = 0x0012ed1c) Line 94 + 0xe bytes C++
System.Windows.Forms.dll!System.Windows.Forms.Control.OnClick(System.EventArgs e) + 0x57 bytes
this is all my app and call strack information.
i don't konw why?
thank u
tom
new
Posted: Fri 12 May 2006 05:25
by tom_jht
hi,Paul
i forgot to tell u that my app is runing at 64bit mode(compiler with x64) in vs2005(vc++8.0) on windows xp64.
thank u
tom
new
Posted: Sat 13 May 2006 07:16
by tom_jht
hi Paul ,
All my information is:
when I use oradirect 3.5, my program is runing on 64bit mode(compiled with x64) in vs2005(vc++8.0) on windows xp64.
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
this->oracleConnection1 = (gcnew CoreLab::Oracle::OracleConnection());
oracleConnection1->ConnectionString ="User ID=scott; Password=tiger; Data Source=testdb";
oracleConnection1->Open();
}
Additional information: Arithmetic operation resulted in an overflow.
on 32bit mode(compiled with x32), it no problem.
why?
I think it is caused by windows xp64?
this is useful for u .
thank u very much!
tom
Posted: Thu 18 May 2006 00:41
by tom_jht
hi,
anyone have same problems?
why?
thanks!
tom
Posted: Thu 18 May 2006 12:44
by Alexey
Do you use OraDirect for .NET 2.0 Framework?