Page 1 of 1

Help generating licenses to a WCF

Posted: Mon 05 Dec 2016 12:12
by rodrigobarbosa
I' ve been trying to create a WCF using dotConnect Universal, connecting to mysql and postgres database. However, once I publish my WCF to test environment or production environment it seen not to work. I've been told it because of licenses.

I followed all the instructions to how licenses my application but had no luck so far.
Could anyone please help? I've contact the support, they sent me a link to documentation about icensing....

I have done this steps:
* When to Tool->Universal->License Information
Then followed the instruction of the wizard. Done that a few times.
Have add nothind. add myWCF.dll. add w3wp.exe and add myWCF.dll and w3wp.exe

* Have compile licenses manually as it is in the documentation:
https://www.devart.com/dotconnect/postg ... nsing.html
add myWCF.dll.licenses to project as embedded resource, late change myWCF.dll.licenses to dll.licenses
still nothing.

* add a section to web.config
<system.data>
<DbProviderFactories>
<remove invariant="Devart.Data.Universal" />
<add name="dotConnect Universal" invariant="Devart.Data.Universal" description="Devart dotConnect Universal" type="Devart.Data.Universal.uniConnection, Devart.Data.PostgreSql, Version=3.60.1089.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
</DbProviderFactories>
</system.data>

I cant create directly an App_license.dll as it wrote in the docs, if it has how, i have no ideia how to, but have made a web project by the same name and used same components, created this dll. Add to project and nothing.

So, what is missing?

Re: Help generating licenses to a WCF

Posted: Tue 06 Dec 2016 15:02
by Pinturiccio
We have answered you via e-mail.

Re: Help generating licenses to a WCF

Posted: Thu 08 Dec 2016 17:47
by rodrigobarbosa
I solved it by adding a section to my web.config using the data from my licenses.licx


<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm-v1">
<dependentAssembly>
<assemblyIdentity name="Devart.Data.Universal" publicKeyToken="09af7300eec23701" culture="neutral" />
<bindingRedirect oldVersion="1.0.0.0-3.60.1089.0" newVersion="3.60.1089.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>

Re: Help generating licenses to a WCF

Posted: Fri 09 Dec 2016 11:56
by Pinturiccio
We are glad to hear that the issue is solved. Feel free to contact us if you have any further questions.