Page 1 of 1

MissingMethodException ConnectionString

Posted: Fri 03 Feb 2012 12:51
by David82
I've developeed a simple aplication using dotConnect for PostgreSQL 5.70 Mobile Trial with Visual Studio 2005 but I've a problem.

My code is the next:
string sbconn = "host=172.30.32.107;database=babylon;user id=openerp;Password=postgres;";
PgSqlConnection conector = new PgSqlConnection();
conector.ConnectionString = sbconn;
conector.Open();

I have also tried:
PgSqlConnection conector = new PgSqlConnection();
conector.UserId = "openerp";
conector.Password = "postgres";
conector.Host = "172.30.32.107";
conector.Port = int.Parse("5432");
conector.Database = "babylon";
conector.Open();

In both cases the error is the same: MissingMethodException. What could be the problem?

Regards!!

Posted: Tue 07 Feb 2012 08:20
by David82
Help me, please. I tried with the sample applications and the same thing happens to me.

Posted: Tue 07 Feb 2012 08:28
by David82
For what it's help I have installed the file Devart.Data.PostgreSql.dll in two places:
- C: \ Program Files \ Microsoft.NET \ SDK \ CompactFramework \ v3.5 \ WindowsCE

- C: \ Program Files \ Devart \ dotConnect Mobile \ Oracle \ CF35 \ Devart.Data.Oracle.dll

Posted: Tue 07 Feb 2012 15:04
by Pinturiccio
We could not reproduce the issue. Could you please specify the following:
1. The call stack of the received exception;
2. Which .NET Compact Framework do you use Devart.Data.PostgreSql.dll for?
3. The version of .NET Compact Framework your application is compiled for?
4. Which .NET Compact Framework version is installed on your mobile device?
5. Which operating system do you use?
6. Test project will be appreciated.

Posted: Mon 13 Feb 2012 11:42
by David82
Problem solved. The mistake was that I was working with an incorrect version of Visual Studio. Thank you very much.