Server Errror

Hi…
I create a web APP without database connection, the app run corretcly on Blazor Studio on my pc, but when I plublish on IIS I can navigate the page, but when I click on a button I receive this error:

blazor.web.js:1 [2026-01-20T18:08:39.700Z] 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'.

what I have to check?
Thanks

Stefano

That’s generic Blazor error. Make sure that the database connection strings are correct and the server can connect to the specified database(s). The Application Event log of the server will contain more details such as exception stacktraces.

You can also check the Windows Event viewer - unhandled production exceptions would be logged there.

windows event works!!
the problem was an incorrect path
thanks a lot!!