I published my project which based on aspnetzero with asp.net core on IIS, It cannot run, even ABP already initialed the database, when visit the site it displays 500 error.
After check the logs, I found below exception messages:
Application: Viewtance.SRP.Web.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ObjectDisposedException at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean ByRef) at System.StubHelpers.StubHelpers.SafeHandleAddRef(System.Runtime.InteropServices.SafeHandle, Boolean ByRef) at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv+NativeMethods.uv_async_send(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvAsyncHandle) at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.async_send(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvAsyncHandle) at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelThread.PostCloseHandle(System.Action`1
I searched the web, cannot found any useful info, how to fix?
And, I also published a asp.net core website which come from visual studio scaffold, it works fine with the same hosting environments.
Thanks advance, if you could give me some guides to resolve this trouble issue.
5 Answer(s)
-
0
Hi,
Where did you get this log ? Can you also check Window's Event Viewer logs ?
-
0
I got this exception log from windows application logs, but now the issue resolved, but I don't know how it is be fixed. May be it caused by the connection string to database is not correct, but before I update the connection string when the website first running the dataset also be initialed created, so I don't think it is caused by database connection string, really is an outlandish exception, and it cost me a lot of time investigate it.
-
0
Hi,
I'm glad that it's solved. It is not easy to work on azure sometimes.
-
0
I got the same error on my uat server. I restarted App pool IIS but still website does not come up. I have even restarted the machine but still the website is dead
-
0
Hi @antonis,
I'm referencing the github issue in case anyone faces the same problem <a class="postlink" href="https://github.com/aspnet/KestrelHttpServer/issues/2199">https://github.com/aspnet/KestrelHttpServer/issues/2199</a>.