Error 66 - Reference required to assembly...

Error 66 - Reference required to assembly...

Postby LaserTech » Mon 17 Aug 2009 12:25

Error 66 Reference required to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the base class 'System.Data.Common.DbConnection'. Add one to your project.


Hi,
I'm relatively at Visual Studio and their stuff...
Until some monhts ago, another developer care of this, but, at moment, I'm the responsible for this, and I have no one to help me with this...

I convert my application to postgres, but, I cant do it work...
Then, for sure, I create a new application, put the correct dependences, but, the same error occour :(

at time:
- vs2008 version 9.0.30279.1 SP
- .NET Framework version 3.5 SP1
- dotConnect for PostgreSQL 4.55.39 Standard

I follow theese steps:
- Create a new project (smart device) - It's a pocket application

Image

Image

- Then I click on 'Project' > 'Add Reference...'
- Clicked on 'Browse' tab, select my devart instalation folder and selected this DLLs: 'Devart.Data.dll' and 'Devart.Data.PostgreSql.dll'

Image

- It's my code with error... What I'm doing wrong ? I already try a lot of things, read a lot of forums, but nothin solve my problem... :(

Image

Note: If I click on the error, the vs don't fix it to me :(

Please, help-me.
LaserTech
 
Posts: 4
Joined: Mon 17 Aug 2009 11:55
Location: Brazil

Postby AndreyR » Tue 18 Aug 2009 10:44

Please make sure that you are using dotConnect for PostgreSQL Mobile Edition, not the desktop version.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby LaserTech » Tue 18 Aug 2009 11:38

I have bought this dotConnect:

http://www.devart.com/dotconnect/postgresql

on Key Features have this:

- .NET Compact Framework support


this is the correct, isn't ?
LaserTech
 
Posts: 4
Joined: Mon 17 Aug 2009 11:55
Location: Brazil

Postby AndreyR » Tue 18 Aug 2009 11:51

Yes, it is correct.
Please refer to the Editions page for more detailed information:
http://www.devart.com/dotconnect/postgr ... tions.html
If you have any questions concerning purchase please send them to sales * devart * com.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby LaserTech » Tue 18 Aug 2009 12:06

:(
I bought the wrong :(
I get the standard version :(

I'll send an e-mail to sales, very thanks for your help.
If you want, close this topic, problem "solved"...
LaserTech
 
Posts: 4
Joined: Mon 17 Aug 2009 11:55
Location: Brazil


Return to dotConnect for PostgreSQL