Page 1 of 1

a hard lesson to come by ....

Posted: Tue 08 May 2018 12:34
by costeakai
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 ...

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

Posted: Wed 09 May 2018 17:07
by Shalex
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.

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

Posted: Sat 02 Jun 2018 18:24
by costeakai
hi,
thanks a lot, i'll keep an eye on this, when the big moment comes.