Our OWIN Self Hosted service project was working fine before 5 months. Recently we updated Wisej to 1.5.41 (and installed 2.0.4 too). Now the project started giving us the error “License Not Found. Add a valid license key in Web.config using the Wisej.LicenseKey appSetting or contact firstname.lastname@example.org”
We have already specified the license key in the below section of the App.config of the owin service:
<add key=”Wisej.LicenseKey” value=”Our license key is here” />
<add key=”Wisej.DefaultTheme” value=”Material-3″ />
I am not sure if we need to add any other config to make it work or is it a bug after updating to 1.5.41 or installing wisej 2.0.4 beta side by side to 1.5.41?
We have tried the same with both Wisej 1.5.41 as well Wisej 2.0.4 beta but both give the same error (screenshot attached).
Your inputs/help with it is much appreciated.
Thanks and regards,
thanks for your reply.
You can set the LicenseKey programmatically as Application.LicenseKey
Please note that each OWIN instance requires a valid license key each.
To discuss your licensing options we will contact you directly.
Thank you very much for the clarification and helping with the fixes, Frank.
From the original OWIN sample, we misunderstood about the web.config specific settings and mistakenly mixed it up with app.config. Sorry about that. I appreciate your team’s prompt and perfect reply. I really enjoy developing with Wisej and recommended it to several developers. Soon I will blog about Wisej.
I emailed you few questions for the clarifications.
(1) Is it possible to apply the wisej key programmatically in the code instead of specifying in the web.config? Could you pl point me to an example code snippet?
(2) As we are developing a OWIN Windows service application (Windows Web Server Defender software) that may be supplied to hundreds of our customers do we need to change the wisej licence key for this application every year or if used once in the application will it remain active until the code is rebuilt again? Our Windows Server Defender product costs just $1 per month for our customers. I request your clarification in this regard.
I emailed you our demo application source code. Pl check it and help us fix this issue. This is a blocker. This issue cropped up only after upgrading the OWIN Self Hosted application to Wisej.Framework (2.0.4) from 1.5.41.
Thanks and regards,
Sorry for the late reply.
You´re talking about app.config settings. What about web.config ? Or are you referring to this ?
What Wisej version have you been using before 1.5.41 ?
Any chance to provide a test case of your environment and send it to frankATiceteagroup.com ?
Thanks in advance.
Please login first to submit.