Error installing BC22 WebClient on Windows Server 2022 (AspNetCoreModuleV2)
In a recent customer installation we ran into an error “Required IIS module AspNetCoreModuleV2 missing” when trying to install the WebClient components in the Dynamics 365 Business Central version 22 setup. A manual installation using New-NAVWebServerInstance wasn’t successful aswell. The server was a fully patched Windows Server 2022.
Although the installation of the prerequisites didn’t throw an error, the module was missing:
![image 2](https://www.j3ns.de/wp-content/uploads/2023/06/image-2.png)
The solution was quite simple, just reinstall/repair the “dotnetcore-windowshosting” prerequisite from the BC installation DVD:
![image 3](https://www.j3ns.de/wp-content/uploads/2023/06/image-3.png)
Now the module should show up in the IIS Modules:
![image 4](https://www.j3ns.de/wp-content/uploads/2023/06/image-4-1024x245.png)
The installation of the WebClient components should now work as expected.
Great! This solve the problem
Thanks Jens!
I got this error on a fresh windows server and BC22.4….