Thanks Julie! I’ll go that route. For what it’s worth, I have been slowly adding pieces of my broken app to a fresh project. I can’t make it fail.
Thanks again!
Gerry
Hi Julie,
Thanks for the response! I have been trying to reproduce this issue in a new and much smaller project, small enough, that I could upload to your forum. My app relies on a couple of large dependencies which once stripped would render a test project unusable. I’m still trying to reproduce the problem without the full weight of my program but so far cannot reproduce the problem in a new project. Anticipating that this may be a nebulous issue, I decided to simply step back to a version that had worked fine and had no issues by cloning my backup from GitHub. The result was that that version, once run, exhibited all the same problems despite the fact that it ran perfectly 4 days ago.
I’m thinking this is not a code issue on my part but I have no idea where to begin. Not only will the project not run but there are now issues with controls losing their reference to Wisej. In particular, the Upload control shows a conflict with a Chilkat reference and I can’t even look at the form in the Design View.
The problem has cascaded.
I realize you have changed your business model to a subscription format including support. I plan on switching to Wisej 3 but am cautious since my app is complex and I was hoping to share it with some investors to show its capability soon and didn’t want to delay that dealing with upgrade issues.
I’m willing to pay for support, perhaps with a live sharing of my screen with a tech.
Please let me know how we can work on this more directly.
Thanks very much!
Gerry
“Could you provide a small sample, of how to correctly use the ChartJS extension in this regard?”
Unfortunately, creating custom samples from scratch is outside the scope of the services we offer on this free support forum.
You can either look at the pre-existing ChartJS samples here:
https://docs.wisej.com/examples/examples/chartjs
https://wisej-demobrowser.azurewebsites.net/#Extensions/ChartJS/Features
Or you will need to provide a small sample, following the guidelines under “Before Posting an Issue” here: https://wisej.com/support/question/forum-guidelines In your case, this would be a sample that uses ChartJS, and has Time on the x-axis in a 12-hour format (am/pm).
Alternatively, we can develop a sample from scratch for you, if you purchase a support package: https://docs.wisej.com/license/services/professional-services
Hope this helps,
Julie
Hello,
We will need a reproducible test case in order to help you with this issue.
See “Before Posting an Issue” here: https://wisej.com/support/question/forum-guidelines
Thanks,
Julie
1) I can’t find it using Nuget manager.
PrintPreview extension is not on nuget.
2) I downloaded the solution from GitHub and built the dll but it won’t allow me to drag and drop it into the tools menu in VS.
There is nothing to add to the toolbox- it’s not like, say, a button control where you can drag and drop it from the toolbox.
You can add it to your project by referencing the dll. (In Solution Explorer: References -> right-click, choose “Add Reference”, click “Browse”, select the dll)
PrintPreview is a dialog and a control that can be used in code to preview wmf or pdf files. It displays a System.Drawing.Printing.PrintDocument. All formatting or rendering support is part of System.Drawing.
For any additional help on PrintPreview, refer to Microsoft System.Drawing documentation: https://learn.microsoft.com/en-us/dotnet/api/system.drawing?view=net-8.0
For any additional questions, please refer to the forum guidelines under “Before Posting An Issue”: https://wisej.com/support/question/forum-guidelines
Hope this helps!
-Julie
Thank you Joe!
see the Github repo here: iceteagroup/wisej-video-samples (github.com)
Hi Mirko,
Wisej.NET 3.5.5 will add MenuPopup and MenuCollapse events to SplitButtons.
It’s currently in QA and will be released soon.
Best regards
Frank
Hi Mirko,
currently there are no events fired but I have logged an enhancement request (3363) for it.
Best regards
Frank
Hi Tim,
I have attached a sample for Azure B2C authentication in a Wisej.NET application.
P.S: It works for both .NET Framework and .NET Core, while the .NET Core implementation is native, the .NET Framework one uses Owin as a middleware!
Best regards,
Alaa
//
Hi Alaa, sorry for late reply.
I could not reproduce the NullReferenceException in a sample project, but a similar, maybe related error.
Attached is the sample project. (Using most recent Wisej 3.5.5 RC7 version)
Please take a look at the file \Views\DataGridBinding.cs
Please run and wait for some time, perhaps for 1-2 minutes.
After running correctly for some time, several types of exceptions will be thrown:
1) Index out of range (DataError event) .
2) System.InvalidOperationException: ‘BindingSource cannot be its own data source. Do not set the DataSource and DataMember properties to values that refer back to BindingSource.’
These exceptions can be caught and ignored.
As for the other NullReferenceException, I will need to do more testing (setting more properties). Maybe I can reproduce.
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