All Answers

All Answers » Re: No messagebox appears at upload1_Uploaded when async » Comments for "Re: No messagebox appears at upload1_Uploaded when async"
  • conradv
    I installed Wisej 3.0 without any custom setup so I did not disable WebSocket but it shows false. I checked default.json and there is no change in the default setting: // enableWebSocket: Enables the user of WebSocket if available. Default: true. the EndPolling didn’t do it either, again it works after user action. so the question is, why is WebSocket disabled and even with that being disabled and adding EndPolling() there is still the same behavior of no messagebox, except with user action.
  • Alaa (ITG)
    You’re probably running on IIS, it’s not enabled by default and you have to enable it yourself. Wisej.NET would always fall back to HTTP mode if there’s no WebSocket enabled. I just tried it without running on WebSocket and it works, I don’t know what’s inside the ProcessUploadAsync(e) method that’s preventing the UI from being updated, can you send over a sample?
  • conradv
    I just added enableWebSocket= true in default.json and it still shows false when I test Application.IsWebSocket in a button click event after page load
  • conradv
    ProcessUploadAsync(e) is a sequence of async webservice API calls to upload files to a third party file management system
  • Alaa (ITG)
  • conradv
    strange, I added in web.config but still Application.IsWebSocket = false
  • Luca (ITG)
    It’s not a Wisej.NET issue, we can’t enable WebSocket when it’s not supported or installed.
  • conradv
    “we can’t enable WebSocket when it’s not supported or installed” this is a standard windows 2019 server install with IIS, nothing is disabled or omitted what would be missing that needs to be installed?
  • conradv
    you were right, Web Sockets needs a separate install in the IIS server roles and is not installed by default… everything now works so many thanks!