Can not connect, license not valid

Can not connect, license not valid

Postby mont@foray.com » Fri 27 Jul 2007 13:20

We recently purchased PostgreSQLDirect.NET and can not connect to the database. We get a license not valid exception.

Here is our setup:

- VS 2005
- We have several applications that use the same framework/dll to access the database.
- I created a licenses.licx file (attached), saved it to the projects directory, and added it to the Resources of the project.
- I also created a licenses.config (attached) and added it to the same project directory.
- I added CoreLab.Data and CoreLab.Data.PostgreSQL to the project's references

I then compiled and ran the first application we wanted to test with. That application includes the framework project in its solution.

When I try and open a connection I get the error:

"License not valid. Please view "Licensing" topic in PostgreSQLDirect .NET documentation for details or contact Core Lab technical support."

What am I missing? Do I need to put the developer license number somewhere?

Our application's executable has a space in the name, could that be the problem?

Thanks,
-Mont
mont@foray.com
 
Posts: 3
Joined: Fri 27 Jul 2007 13:16

Postby Alexey » Fri 27 Jul 2007 13:43

What is meant by "framework project"?
Could you send me your test project to reproduce the problem?
Space in the name is no problem.

P.S. I've answered you several times by e-mail, but all my letters returned. Provide with with another address for future correspondence.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby mont@foray.com » Fri 27 Jul 2007 13:50

By framework project I mean a project that produces a DLL used across several of our applications.

I will produce two test projects (one for the DLL and one for the exe).

-Mont

P.S. If you emails did not get through, please go to http://unblock.secureserver.net/ and request that your email server be unblocked.
mont@foray.com
 
Posts: 3
Joined: Fri 27 Jul 2007 13:16

Postby Alexey » Fri 27 Jul 2007 14:31

P.S. If you emails did not get through, please go to http://unblock.secureserver.net/ and request that your email server be unblocked.

I can't do that:
We cannot find reverse DNS for this IP.

RDNS converts IP addresses (195.49.165.181) to names (such as mail.example.com). Unconfigured networks are at high risk for spam and virus activity. Please contact your ISP to have RDNS assigned to your IP.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby mont@foray.com » Fri 27 Jul 2007 17:35

In setting up a test project I found the problem.

The licenses.licx file was copied into a sub-directory where are all the resources are kept. The licenses.config was in the parent directory, once I moved it all was good.

Sorry for the trouble.

-Mont
mont@foray.com
 
Posts: 3
Joined: Fri 27 Jul 2007 13:16

Postby Alexey » Mon 30 Jul 2007 07:04

Well done!
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for PostgreSQL