a hard lesson to come by ....

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
costeakai
Posts: 16
Joined: Wed 02 Aug 2017 12:16

a hard lesson to come by ....

Post by costeakai » Tue 08 May 2018 12:34

Hi everyone,

I have just lost 3/4 of a day's work , turning arround a thousand times , not being able to get rid of a misterious error message like:
Assembly that contains embedded dotConnect for PostgreSQL license cannot be used with this application
What was the cause of it all: there was a long ago generated licenses.licx , forgotten into one of the (many) projects in my solution. After finding and deleting it , everything went smooth again ...

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: a hard lesson to come by ....

Post by Shalex » Wed 09 May 2018 17:07

Our license validator looks for the valid license in the following way:
*.exe -> DataAccessClassLibrary.dll -> Devart.Data.PostgreSql.dll
The valid license for *.exe has to be available at any level of this chain: either built in *.exe (licenses.licx), or added to one of the used class libraries (licenses.licx + licenses.config with the name of *.exe).
Assembly that contains embedded dotConnect for PostgreSQL license cannot be used with this application
This error occurs if you added a license resource into DataAccessClassLibrary.dll but didn't specify the name of your *.exe in licenses.config.

Refer to https://www.devart.com/dotconnect/postg ... g.html#lib.

costeakai
Posts: 16
Joined: Wed 02 Aug 2017 12:16

Re: a hard lesson to come by ....

Post by costeakai » Sat 02 Jun 2018 18:24

hi,
thanks a lot, i'll keep an eye on this, when the big moment comes.

Post Reply