Can't cast database type char to String

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
Posts: 1
Joined: Mon 08 Feb 2016 09:09

Can't cast database type char to String

Post by felicia » Mon 08 Feb 2016 09:22


I'm using Visual Studio 2013, dotConnect express for PostgreSQL 7.4.583.0, Entity Developer 5.8.782 and PostgreSQL 9.3.

When trying to create a devart entity model I get the following error: "Can't cast database type char to String".

I've already changed the mapping in EntityDeveloper/Options/ServerOptions. But it still doesn't work. And the errormessage remains the same.

I hope anyone can help me!

Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Re: Can't cast database type char to String

Post by Shalex » Mon 08 Feb 2016 19:13

Express Edition of dotConnect for PostgreSQL is not supported in Entity Developer.

Specify the exact (x.x.x) version of Npgsql you are using so that we can reproduce the issue in our environment and fix it. For example, you can find the version of your Npgsql provider in the corresponding DbProviderFactories entry in C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config.

Post Reply