Can't cast database type char to String

Can't cast database type char to String

Postby 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!
Posts: 1
Joined: Mon 08 Feb 2016 09:09

Re: Can't cast database type char to String

Postby 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.
Devart Team
Posts: 7880
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for PostgreSQL