All Answers

0 votes

Here is update as it is randomly popping up so hard to trace

  • it only shows up if websocjets are enabled
  • when this error pops up, browser (Firefox, Chrome, Edge) keeps displaying error for some time
  • if I access same URL with different browser session opens normally

Could it be that some web sockets are cached or re-used so browser still thinks that app is not working. This continues with problematic browser despite WWW Service on server restarted or app pool recycled.

After one client bumps on this error, it spreads to all clients currently using app.

0 votes

KendoGrid is a third party control not created by Wisej.NET. You’ll need to refer to their documentation.

A quick google search suggests that the dataItem property might be what you need here.
https://www.telerik.com/forums/how-to-get-value-id-from-datasource-by-row
https://stackoverflow.com/questions/19458695/kendo-ui-grid-get-row-values

https://docs.telerik.com/kendo-ui/knowledge-base/checkbox-selection-dataitems-selected-rows

  • Julie(ITG) answered Mar 5, 2025 - 5:03 pm
  • last active Mar 5, 2025 - 5:04 pm
0 votes

Ok, please don’t ask me how it was solved in details, because I really don’t know.
I uninstalled the extension, deleted .vs + obj + bin folders, installed the extension again and opened VS and the project again.
And Voila! The license activation window appeared while opening the designer, so I filled my license key and everything returned to work normally.
What is really bizarre is that the only remarkable difference with my previous trials was the license activation.
Anyway its alive again.
Thanks.

0 votes
0 votes

Hi Christian,

The fix for this bug will be released in the next update!

Best Regards,
Alaa

0 votes

Thanks for letting us know, I’m fixing it now. We have to update it within the code documentation comments and then build it, so the changes won’t show up right away.

Julie

0 votes

Here s what I see in Application log when errors start to happend

Category: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer

EventId: 2

SpanId: f8c5e4f5aa4314c1

TraceId: 718d4c1acc70e0ebb55480a27e6c46bf

ParentId: 0000000000000000

RequestId: 800021bf-0000-fb00-b63f-84710c7967bb

RequestPath: /xPortal/ws.wx

Connection ID “18086456105130533310”, Request ID “800021bf-0000-fb00-b63f-84710c7967bb”: An unhandled exception was thrown by the application.

Exception: 

System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.

   at System.Net.WebSockets.ManagedWebSocket.ThrowEOFUnexpected()

   at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken)

   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)

   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)

   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)

   at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)

— End of stack trace from previous location —

   at Wisej.Core.HttpHandler.ProcessWebSocketRequest(HttpContext context)

   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)

   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()

0 votes

Never mind.
Tried everything without any success.
Until getting the possibility to reset my whole machine using Notepad ++ and cli to make changes in my project.
Thanks for your kind support and sorry for any disturbance.

0 votes
In reply to: Invalid License

Ok I havent seen

The community license is deprecated

with express license now it works !

thanks

0 votes
In reply to: Invalid License

It could be one of several common issues, read this: https://docs.wisej.com/docs/getting-started-1/license-troubleshooting

0 votes

In response to “Can it, by any circumstances , be caused by the version of Dot Net Core? The solution is created with 9.”
I created a test project with C# and VB both using .Net9 and I can open the designer in both just fine. I have attached the projects so you can try to open the designer in them. If you can’t open the designer with them, it’s some issue with your machine.

0 votes

Hello Francesco,

Sadly, using the upload control always requires user interaction.

In fact, if you attempt to use the console on FireFox you’ll be getting a warning that the action was blocked due to it not being a “user” action.

Best Regards,
Alaa

0 votes

Hi Edmond,

We always recommend that you use the FillWeight property instead of setting the Dock to Fill.

Best Regards,
Alaa

0 votes

Hi Rusty,

what you are seeing in the output window are Wisej.NET trace messages.
There is no way to omit them.

Best regards
Frank

0 votes

Hi Christian,

As a workaround, you’ll need to extend the SplitContainer and add the following override:

public class MySplitterContainer : SplitContainer {

protected override void OnWebRender(dynamic config)

config.orientation =
this.Orientation == Orientation.Vertical
? Orientation.Horizontal
: Orientation.Vertical;

base.OnWebRender((object)config);
}

Best Regards,
Alaa

0 votes

Hi Dino,

did you try Application.StartTask()  as suggested by Luca? The code snippet you posted is incomplete.
We need a fully compilable test case to try to help you here.

Best regards
Frank

0 votes

Hi Francesco,

there is no such thing as a Wisej WinForms application.
To query the startup parameters use this:

https://docs.wisej.com/api/wisej.web/general/application#querystring

Best regards
Frank

0 votes

This solution was working OK until I moved to .net 8.0 and latest wisej version.

I am using a very simple background service that is sending mails in background (see attachement). Could it be the case that Application.Update is the problem?

The only interaction with GUI is by using service  event handlers for messaging to update txt field.

private void BackgroundService_Message(object sender, BackgroundServiceEmailing.BackgroundServiceEmailingEventArgs e)
{
// Application.Update() can optionally call a code block in context before updating the UI.
Application.Update(this, () =>
{
this.txtSendLog.Text = DateTime.Now.ToString() + “: ” + e.Message + Environment.NewLine + txtSendLog.Text;
});
}

0 votes

Same surely

0 votes

Uninstalled the VSIX reinstalled it with 3.5.16 and didn’t do anything with the nugets.

Showing 481 - 500 of 11k results