HTTP Error 500.19 - Internal Server Error web config .net core web api

邮差的信 提交于 2020-01-07 08:27:22

问题


Detailed Error Information:

Module: IIS Web Core

Notification: BeginRequest

Handler: Not yet determined

Error Code: 0x8007000d

Config Error:

Config File:

\?\C:\inetpub\wwwroot\webapi\web.config

can you help me?


回答1:


I had similar challenge with an aspnet.core web application. I took these steps 1. I installed the Windows Server Hosting (.exe) from https://www.microsoft.com/net/download/windows 2. I granted full permission to the application directory Hope this solved your problem




回答2:


I had this same error, but different fix in case it helps someone. I thought sure that I had installed the .NET Core Runtime on the server. Turns out it wasn't actually there. Another sign that it's not installed is that in IIS Administrator, at the machine node, the Modules panel does not have the AspNetCoreModule registered (and indeed there was no aspnetcore.dll at \System32\inetsrv). Once I installed the .NET Core Runtime and restarted IIS, the application worked.

Another tip: installing the .NET Core SDK does not install the runtime components, including for IIS hosting. You must install specifically the Runtime to support apps on IIS.



来源:https://stackoverflow.com/questions/48049796/http-error-500-19-internal-server-error-web-config-net-core-web-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!