Help generating licenses to a WCF

Help generating licenses to a WCF

Postby rodrigobarbosa » Mon 05 Dec 2016 12:12

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/postgresql/docs/Licensing.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?
rodrigobarbosa
 
Posts: 7
Joined: Fri 11 Mar 2016 13:25
Location: Curitiba, Brazil

Re: Help generating licenses to a WCF

Postby Pinturiccio » Tue 06 Dec 2016 15:02

We have answered you via e-mail.
Pinturiccio
Devart Team
 
Posts: 1983
Joined: Wed 02 Nov 2011 09:44

Re: Help generating licenses to a WCF

Postby rodrigobarbosa » Thu 08 Dec 2016 17:47

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>
rodrigobarbosa
 
Posts: 7
Joined: Fri 11 Mar 2016 13:25
Location: Curitiba, Brazil

Re: Help generating licenses to a WCF

Postby Pinturiccio » Fri 09 Dec 2016 11:56

We are glad to hear that the issue is solved. Feel free to contact us if you have any further questions.
Pinturiccio
Devart Team
 
Posts: 1983
Joined: Wed 02 Nov 2011 09:44


Return to dotConnect Universal