Hello,
I have published my Blazor app on Windows 10, I can open and see the data however, I can't save it. I get the following error,
blazor.server.js:1 [2022-06-16T00:00:17.968Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.
log @ blazor.server.js:1
blazor.server.js:1 [2022-06-16T00:00:17.985Z] Information: Connection disconnected.
3blazor.server.js:1 Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.
at bt.send (blazor.server.js:1:52004)
at kt._sendMessage (blazor.server.js:1:68639)
at kt._sendWithProtocol (blazor.server.js:1:68680)
at kt.send (blazor.server.js:1:68788)
at Object.beginInvokeDotNetFromJS (blazor.server.js:1:131279)
at w (blazor.server.js:1:2164)
at C.invokeMethodAsync (blazor.server.js:1:4014)
at blazor.server.js:1:11516
at T (blazor.server.js:1:11694)
at I (blazor.server.js:1:11485)
send @ blazor.server.js:1
_sendMessage @ blazor.server.js:1
_sendWithProtocol @ blazor.server.js:1
send @ blazor.server.js:1
beginInvokeDotNetFromJS @ blazor.server.js:1
w @ blazor.server.js:1
invokeMethodAsync @ blazor.server.js:1
(anonymous) @ blazor.server.js:1
T @ blazor.server.js:1
I @ blazor.server.js:1
dispatchGlobalEventToAllElements @ blazor.server.js:1
onGlobalEvent @ blazor.server.js:1
blazor.server.js:1 Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.
at bt.send (blazor.server.js:1:52004)
at kt._sendMessage (blazor.server.js:1:68639)
at kt._sendWithProtocol (blazor.server.js:1:68680)
at kt.send (blazor.server.js:1:68788)
at Object.beginInvokeDotNetFromJS (blazor.server.js:1:131279)
at w (blazor.server.js:1:2164)
at C.invokeMethodAsync (blazor.server.js:1:4014)
at e.blurHandler (sf-textbox-169302.min.js:1:2207)
send @ blazor.server.js:1
_sendMessage @ blazor.server.js:1
_sendWithProtocol @ blazor.server.js:1
send @ blazor.server.js:1
beginInvokeDotNetFromJS @ blazor.server.js:1
w @ blazor.server.js:1
invokeMethodAsync @ blazor.server.js:1
e.blurHandler @ sf-textbox-169302.min.js:1
blazor.server.js:1 Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.
at bt.send (blazor.server.js:1:52004)
at kt._sendMessage (blazor.server.js:1:68639)
at kt._sendWithProtocol (blazor.server.js:1:68680)
at kt.send (blazor.server.js:1:68788)
at Object.beginInvokeDotNetFromJS (blazor.server.js:1:131279)
at w (blazor.server.js:1:2164)
at C.invokeMethodAsync (blazor.server.js:1:4014)
at blazor.server.js:1:11516
at T (blazor.server.js:1:11694)
at I (blazor.server.js:1:11485)
Please help,
Best regards
Sao
Hi Sao,
Greetings from Syncfusion support.
Query: “I have published my Blazor app on Windows 10, I can open and see the data however, I can't save it.”
Before proceeding further with your requirement kindly share the below details to validate further at our end.
The above-requested details will be very helpful for us to validate the reported query at our end and provide the solution as early as possible.
Regards,
Monisha
Hi Monisha,
I have attached a zip file containing a PowerPoint file. Please play the video attached on slides 4 and 5. Slide 4 shows the app run well within VS2022 and slide 5 shows how errors occur after the app is published to IIS.
Best regards
Sao
Hi Sao,
Thanks for the update.
We have checked your query and we could not reproduce the reported issue at our end when using CRUD operation. Kindly check the attached sample and video demo for your information.
Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/publish-video-135563110.zip
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorApp11437392256.zip
Kindly get back to us if your replication procedure is different from ours or share us the way you have published the IIS (whether you have used local folder to publish or any other options). If possible share us an simple sample or modify the above sample at your end. It will be very helpful for us to validate the query further at our end and help us to provide the better solution ASAP.
Regards,
Monisha