Licensing in Windows Service using class library

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
bradk
Posts: 34
Joined: Thu 20 Apr 2006 01:42

Licensing in Windows Service using class library

Post by bradk » Fri 16 Feb 2007 23:31

I have a class library dll that uses the Corelab Postgres provider. My class library assembly is shared in the GAC. I get a licensing error using my library from within a Windows Service. How can I make this work ? I don't see where I would put a licenses.config file. Thanks.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 19 Feb 2007 09:13

You should have placed it near the licenses.licx file. Have you tried this?
Last edited by Alexey on Mon 19 Feb 2007 17:28, edited 1 time in total.

bradk
Posts: 34
Joined: Thu 20 Apr 2006 01:42

Post by bradk » Mon 19 Feb 2007 17:13

Yes, it is working now. I must have had the component cached, because that seems to work fine today. Thank you.

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Mon 19 Feb 2007 17:29

You are welcome.

Post Reply