(Solved) Installation of one or more roles or features failed. Error 0x800f0831

Windows Server makes it easier to extend the server capabilities by installing new roles and features. You can use Server Manager to install or uninstall new capabilities. Server Manager provides an easy-to-use wizard to guide you through the process. However, you may come across to this error code in some cases: 0x800f0831.

“rzc discover exited with code -2147450749” and “hostpolicy.dll required” errors

We have recently upgrade a .NET Core 2.2 application to 3.1 version. While trying to run it in Visual Studio, we came across “rzc discover exited” and “hostpolicy.dll required” errors:

  • In Visual Studio output while trying to run the solution: rzc discover exited with code -2147450749
  • In PowerShell after performing “build run” command: A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in [path]

HTTP Error 500.30 – ANCM In-Process Start Failure (Solved)

Visual Studio makes it easy to run your application project by using IIS installed in Windows. You don’t have to explicitly go to IIS Manager and deploy your application there. You can simply click the “Run” (green arrow) icon to view your project on browser.

This version requires IIS 7. The setup will now terminate

As Microsoft continues to improve IIS, certain third-party components become incompatible with the new versions. I have recently worked on case where we tried to install an authentication module into a server with IIS 10. It threw this error message:

DIGIPASS Authentication for IIS Basic 3.4.0 Setup Information

This version of DIGIPASS Authentication for IIS Basic requires Microsoft Internet Information Services (IIS) 7. The setup will now terminate