最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Running ASP.NET Web API on IIS Express getting ANCM error - Stack Overflow

programmeradmin0浏览0评论

I am running an ASP.NET Web API application for .NET Framework 4.7.2, and when I try to run it in on my Windows 11 dev machine via IIS Express, the app is crashing with the following error:

HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure

Common solutions to this issue:
The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port

Now AFAIK the ANCM module is only used for running ASP.NET Core apps on IIS, so why is it causing issues with a .NET Framework app? Are there any switches I can set in e.g. my .csproj file to ensure it doesn't try to load ANCM?

发布评论

评论列表(0)

  1. 暂无评论