Hi Luis,
Can you send the .lic file to support [at] wisej [dot] com ?
Best,
Alaa
//
Hi Gabriele,
Wisej.NET Server will use the licensed cores to schedule threads to respond to concurrent requests. Starting with the new server editions on May 1st, 2024, there are no limitations to the number of requests or total sessions. A smaller server under more load that it can handle based on the license will still process everything but it may process more requests on the same core.
In our experience a VM with even 1 core or 2 cores can handle a substantial number or concurrent requests. The main limiting factor is memory.
Hello Gabriele,
I’m closing this issue, it’s fixed now 🙂
Best,
Alaa
//
Hello Gabriele,
thank you for reporting this issue!
We’re aware of it and we are working on fixing it.
Best,
Alaa
By restart I mean the several times I restarted the Azure Linux Web App Service for testing.
Also, it is on a limited daily hour use tier, so the service seems to go to a “sleep” state when not in use.
Apparently, when I restart the app service manually, a new license is activated and it works as expected. After a while without accessing the app and it enters the sleep state, when I open the app again it shows the invalid license warning.
About the designer, I rebuilt the project and the designer works fine again now.
Regards.
Hi Luis,
What do you exactly mean by “every time the app restarts”? Is it crashing or reloading constantly?
And to answer your question: Another problem after the upgrade is that de designer is not working in Visual Studio:
.NET Framework 4.8 is required for the designer, what you’ll need is to use the publishing tool to compile your application for .NET 8 and Linux without removing the .NET Framework 4.8 dependency.
Best,
Alaa
Hello,
After some testing, we verified that this is not a bug in Wisej, it’s an issue with the IIS deployment.
Here’s how to fix it:
1. Make sure that the Web.config file has a server license key (license should not be blank, and make sure that it is a SERVER license, not a developer license)
<configuration>
<appSettings>
<add key="Wisej.LicenseKey" value="YOURSERVERKEYHERE"/>
2. Make sure that the folder that is being deployed to IIS has the bin folder, js folder, Default.html, Default.json, Web.config – see screenshot of what the folder looks like. Note that the screenshot also contains a wisej-server.lic file; this is automatically generated.
3.Make sure that websockets are enabled for IIS. To enable them on Windows, go to Control Panel -> Windows Features. Inside the “Internet Information Services” folder, check the box by “WebSocket Protocol”. See screenshot.
4. Make sure that IIS has permission to access the folder you are deploying to (Right-click on the folder -> Properties -> Security). IUSR and IIS_IUSRS should have permissions.
5. Just in case, try clearing the browser cache to see if that helps- you want to make sure you are running the most recent version of the program.
Hope this helps!
-Julie
Some things to check:
-Do you have the most recent version of the Wisej VSIX installed? You can find it here: https://wisej.com/builds/
-Does the project have the Wisej Hybrid nuget package installed?
-Do you have these using statements at the top of the file?
using Wisej.Hybrid;
using Wisej.Web;
If none of these fix your issue, can you provide a sample project so that we can try to reproduce? You might need to delete the .vs bin and obj folders so that the file size is small enough for it to be uploaded.
We don’t have a sample project for Bold Reports integration in Wisej. This forum post has a sample for a Crystal Reports integration, which you may find helpful, as it follows a similar process: https://wisej.com/support/question/does-anyone-has-got-working-example-of-crystal-report-viewer-or-ms-reporting-services-viewer
As for embedding the reports in Wisej, you can open the report as a PDF using the Wisej PDFViewer:
https://docs.wisej.com/docs/controls/content/pdfviewer
https://docs.wisej.com/api/wisej.web/content/pdfviewer
Attached is a sample project with the issue.
This works fine locally testing, but when I put the app on our IIS server and access it through a domain the issue occurs.
Appear isn’t getting fired at all
Paint is fired only after clicking within the page (Paint is only relevant to this because of the Appear issue, and I tried using this as an alternative which wont work because of it requires interaction)
The reason that Wisej reaches out for a health check is that Wisej does not know the difference between closing your browser, closing a browser tab and turning off your computer. The “health check” works as follows: server sends a message to the client, and waits for a response. If the server doesn’t get a response, it assumes the client has disconnected somehow (Whether that is a closing the tab or turning off the computer).
Note that the only reason you are getting the healthcheck is because the connection between server and client is being closed. There is no healthcheck sent by Wisej normally. The user switching tabs should not cause the session to end, and should not trigger the healthcheck- although the user CLOSING the tab should.
Can you provide a sample please? And, do you see the same behavior if you comment out the timer control?
Hi S,
can you please put together a small repro case that shows what you are trying to achieve.
It´s not 100% clear to us, based on your description.
Thanks in advance,
Frank
Hello Julie,
thank you very much.
But on preparing the test-project for you, I recognized that the test-project is working.
So I think I have to find the error by myself.
Many thanks
Rupert
Here’s a video showing how to build and debug Wisej Hybrid projects on MacOS:
https://youtu.be/-aDV2g8WrK0
I tested with your sample and the camera works for me. I also tested with the demobrowser, and the camera works there for me: https://wisej-demobrowser.azurewebsites.net/#Extensions/Camera/Features
Based on my testing, it seems as though this issue is not a bug in Wisej, as I can’t reproduce, but rather an issue with your specific device.
Some other things you can try:
-Make sure that your camera is working, see if you can get it to work using a non-Wisej application
-Make sure that another program is not using the camera at the same time as the Wisej application
-Try clearing your browser cache and restarting the device
-Make sure that permission to use the camera has been granted (You already tried this, but I’m listing it again just in case)
Unfortunately, any further assistance on this issue is beyond what we can provide with free support. If you are interested in paid support, you can see the options here:
https://wisej.com/services-packages/
https://docs.wisej.com/license/services/professional-services
Can you provide a small sample with the Wisej Application client, and a sample with the Hybrid client?
You can attach a zip file as a comment here. You might need to delete the obj, bin and vs folders in order for it to be small enough to upload.
There is no native printer integration in Wisej. See answer to https://wisej.com/support/question/hybrid-open-pdf-file-error#sabai-entity-content-15347
There is no native printer integration in Wisej. You can’t send the document directly to the printer. You’ll need to create a pdf, download and print it- which it sounds like you’ve already been doing.
Alternatively, you could call native Android code from your C# Wisej code that accesses your printer directly.
See:
https://docs.wisej.com/hybrid/development/invoke-platform-code
Any update if this functionality to preset filter will be added, or can be achieved somehow differently?
thanks julie; your mini project also fails to display the camera if I run it from a tablet (10 android tablets) or from another PC; permissions to use the camera have been granted; I really don’t understand; here I put another mini project in vb.
