Wisej 3.5.5 - Invalid server license

0
0

I have an app built with the latest version of Wisej (3.5.6 as of today, 3.5.5 previously) running as a framework dependent asp core dll, using .net 8. The hosting server is CentOS 9 and nginx, set up per the documentation. Everything in the app is working, I just can’t get the Invalid License message to go away.

I’ve read the post at: https://wisej.com/support/question/invalid-server-license-6 as well as a few others, but there’s not a ton of additional information I can find.

The server, without a doubt, can access the internet. I was able to see the number of activations increase by changing the license key on the server, deleting the .lic file, and restarting the service. I also watched the connection with netstat and can see it reach out to 54.145.102.26 for a moment when the server is brought up.

I’ve tried deleting the .lic several times. It gets regenerated fine. I’ve tried my old community server license, currently using a server express license.

The key in the web.config does NOT match the wisej-license.lic file, not even close. I think Julie may have misspoke in the linked post, or maybe that was the case in older version. But the current version seems to generate something more like a pgp key or similar. I also do not see any static wx files in my environment.

I’ve been struggling away trying to find a solution to this for several days now. I have a developer pro license I purchased just before the prices were increased, prior to that I was just using a community license to experiment. I’m fairly certain this is a supported configuration (developer pro with server express), but if I just need to buy a server license please let me know. I’ve tried just about everything I can think of, aside from: “7.Enable tracing so that you can get the log file from the license manger- in case there are errors as it attempts to validate the license.”, which I could not find any additional information in the documentation on how you might do this.

  • You must to post comments
0
0

Hi Julie,

I went to the license test, you can view a sanitized screenshot here. I verified the user that nginx and the app are running as have read/write permissions to the license path just in case that could create problems.

Would it actually say that it’s invalid due to premium extensions being present, or would it just say invalid like my screenshot does?

  • Julie (ITG)
    So, when you run the application, if it has premium extensions, you will see a popup that says “Premium extensions require a valid license. See License Information.” If you go to license.wx it will say the license is valid. (Because the license IS valid- you just can’t access the premium extensions.) Very odd that you’re getting a message that the license is invalid as it shows up as valid when I test it. It must be something wrong with your specific setup, as the license key itself is fine. In case you haven’t already done so, make sure that you pasted the license key into the web.config file and that the web.config file is on your server. The key should go here in the web.config file: add key=”Wisej.LicenseKey” value=”PutLicenseKeyHere”
  • Julie (ITG)
    I forgot to add- You are using Wisej 3.5.6, correct? Make sure that you’re using 3.5.6 instead of 3.5.5, as the new licenses need 3.5.6 in order to work.
  • You must to post comments
0
0

Thank you for the quick response Julie.

I do have a devexpress license, but I’ve not used any of their controls or methods in my wisej project. I do have references to a dll from another project for business logic and database IO methods, and that probably has some references to devex winforms controls, but not any web stuff. The message I get specifically says “Invalid Server License”, a blank expiration, and the version number. It doesn’t say anything about premium extensions, but if those could potentially cause the error I’ll try building a simple app without any of those references and see if it works.

I am using the server license in the web.config file. I did try it with the developer license just to see if that would do anything different, but at the moment it’s back to using the server express one.

I’ll try checking the LicenseTest and see what that says. If it’s just because of the premium extensions I have no problem buying a server license. Eventually I’d want to be able to use devex in my projects anyway, we just wanted to see if work first.

  • You must to post comments
0
0

Are you using a premium extension (ie Kendo, Syncfusion, etc)? If you are using a premium extension with the Server Express license, then you should be getting an “invalid license” message.

Note that the license you use in the web.config file should be the “Server Express” license, NOT the “Developer Professional” license. You need to use a server license in web.config.

I tested with your “Wisej Server Express License” (You provided the license when you messaged support via email.). I just deployed a small test application to IIS to see if I got any license errors. It does give a license warning about the premium extensions as expected. If I use the license in a project without premium extensions, the warning goes away.

One thing that I did during my testing that you can try- deploy to IIS, then go to 192.168.x.x/LicenseTest/license.wx where 192.168.x.x is the name of your ip, and LicenseTest is the name of your application. It will display a page of information about the license that the application is using.

I’ve attached a screenshot of what the license.wx screen looks like for me when I use your license (with the license key and other sensitive information redacted of course)

Attachment
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.