OraDirect .NET Mobile edition trial Oracle reference error

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
cxr58c
Posts: 6
Joined: Fri 16 Feb 2007 18:13

OraDirect .NET Mobile edition trial Oracle reference error

Post by cxr58c » Fri 16 Feb 2007 18:28

VB.NET code:
Private connection As OracleConnection - error with OracleConnection


I get this below error for the command above. I am developing in Visual Studio 2005 Professional for a Windoes CE project application. The trial I downloaded (OraDirect .NET Mobile edition) has the following reference files in the project under .NET tab; CoreLab.Oracle, added the CoreLab.CF.Oracle ... related dll files - see them in Recent tab.
Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes' containing the base class 'System.Data.Common.DbConnection'. Add one to your project.

Any idea how to get rid of this error, do I need to add another reference?

Thanks for any assistance!

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 19 Feb 2007 07:41

You should add reference to CoreLab.Oracle.dll assembly.

cxr58c
Posts: 6
Joined: Fri 16 Feb 2007 18:13

CoreLab.Oracle.dll reference error

Post by cxr58c » Mon 19 Feb 2007 17:05

CoreLab.Oracle.dll reference error when tried to add a reference
in my Windows CE VB.NET project via VS 2005 Prof.

I'm trying to add this reference because I'm getting compile errors on the Oracle related commands - not recognizing.

The messages states A reference to 'CoreLab.Oracle.dll' could not be added.

Please advise. I'm using the trial version and want to prove a small applicaton concept before purchasing soon.

Thanks! I can be reached at (216) 515-7735.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 19 Feb 2007 17:19

Make sure that the assembly you are trying to add does agree with the version of the framework.
Last edited by Alexey on Mon 19 Feb 2007 17:23, edited 1 time in total.

cxr58c
Posts: 6
Joined: Fri 16 Feb 2007 18:13

reference error

Post by cxr58c » Mon 19 Feb 2007 17:22

Can you explain in more detail please, I'm just browsing for the dll file you indicated to add as a reference?

Can I call you to discuss further or my number is (216) 515-7735?

I'm just trying to get this to work over the next day or so. then purchase will be made soon.

I really appreciate your help!

Thanks,
Carlo

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 19 Feb 2007 17:25

What is the name of the installation package? What is the version of your framework?
Unfortunately there is no phone call support available. Even if we could
call, we didn't know where to call (where are you from?).

cxr58c
Posts: 6
Joined: Fri 16 Feb 2007 18:13

reference error

Post by cxr58c » Mon 19 Feb 2007 17:36

Just sent you an e-mail - see screen shots regarding the error:

Highlights:

Alexey,

I'm from Sherwin Williams Company (HQ in Cleveland, OH) and we want to build mobile device applications that connect with Oracle using Windows CE .NET applications.

I have Windows CE 2.0 Framework on my developing laptop. The mobile device that I will eventually take the application to is a Falcon 4410 with 64MB and Windows CE, Compact Framework 2.0 along with a browser.

As I mentioned, I downloaded the OraDirect Mobile demo. I was hoping to connect to Oracle with the Window CE project using OraDirect.

I left my phone number as (216) 515-7735.

Thanks for any assistance you can give me today!

cxr58c
Posts: 6
Joined: Fri 16 Feb 2007 18:13

reference error

Post by cxr58c » Mon 19 Feb 2007 17:44

One other question, you said to make sure I have the correct framework version on my developing laptop. Do I need MS .NET Compact Framework 2.0 on this developing laptop too or just on the mobile device where the application will end up?

Thanks!

cxr58c
Posts: 6
Joined: Fri 16 Feb 2007 18:13

Deployment in VS 2005 Professional for Windows CE project

Post by cxr58c » Mon 19 Feb 2007 20:43

OK Alexey! It appears that I have the reference issue working. I actually found the proper dll files in another folder.

So, when I start debug test on my very small application (sample from Core Lab) that just connects to a Oracle DB, I get space constraint errors (not enough room on disk for system.data.dll file ... deployment and/or registration failed) with emulation mode (used Pocket PC 2003 SE Emualtor) and also if I hook up my Falcon 4420 device (debugging under a Windows CE 5.0 device).

I would expect a small application would not run into these issues when deploying to a mobile device - CAB file(s) should be small enough to fit.

Any suggestions? I may not be deploying properly to test.

Do you know if VS 2005 Prof. Emualtor mode is working? I thought I heard MS was working on a patch for this problem. If you don't know, I will check with MS.

Thanks for your input!

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Tue 20 Feb 2007 07:05

You should check your emulator's settings to extend its memory storage.

Post Reply