I cannot access the application from other clients (licence?)

0
0

Hi, I was asking for help with the server licence community edition.

I have a project with Wisej-3 I made the publish in a folder and an .exe is created which runs the web application only on localhost.

I would like to try to access it from another pc but I can’t.
I have assigned the licence (the one sent in the email after registration) to the Wisej.LicenseKey property in the Web.Config I have also tried assigning it in the Program.cs class to the Application.LicenseKey property but no luck.

I cannot reach the server for the browser.

If I edit launchSettings.json so that the application can be accessed by other clients I edit applicationUrl: “http://0.0.0.0:5000”

Again, this does not work.

If I open the file “wisej-server.lic” taken from the project folder or the C:\ProgramData\IceTeaGroup\Wisej folder and copy the contents (excluding the two characters ==) the message changes saying that the licence expiry is invalid.

I can’t figure out how to make it work, could you please help me?
From the documentation I can’t understand what the use of the .lic file should be along with the licence code.

I don’t understand if I have to configure the acceptance of requests from all addresses in some way.

PS: I have deactivated firewall and antivirus

Best regards and thanks to anyone who can help me

  • You must to post comments
0
0

Hi Alaa, thanks to your suggestions, I can now access my published application from any client.

I am still left with the problem of the licence as the first time I connect I get the following message:

“Server licence invalid”.
Status: WrongProductname Wisej Developer Community License
Expiry date: –

Could you please help me?

Thank you

  • You must to post comments
0
0

Hi Taziano,

No problem at all!
Yes, the Server License you got is the one that you have to put in Web.config.

The .lic files should not be touched! If you did modify their contents then please delete them and then re-run your application.

Also, the .lic files should not be copied to the generated application folder, it’s automatically copied over the temp folder!

Let me know if you still need help.

Best,

Alaa

  • You must to post comments
0
0

Hi Alaa, I apologise but I am learning both ASP.Net Core and Wisej at the same time so I am having some difficulty understanding the precise boundaries between the two.

Thanks anyway for the patient and always very helpful replies.

Bear with me, I was asking if it was correct to put in the Application.LicenseKey the key sent to me in the registration to WiseJ or should I put the contents of the .lic file

From what I understand, the .lic file must be copied into the folder together with the generated application .exe.

Thanks
Tiziano

  • You must to post comments
0
0

Hi Tiziano,

Launch the application using the command prompt, but add —urls http://*:5000 as an additional parameter.

So it’s something like: WisejWebApplication1.exe ——urls http://*:5000

It’s a standard ASP.NET Core deployment, not a Wisej.NET issue!

HTH,

Alaa

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.