I just uploaded my asp.net core 3.0 site to my IIS hosting environment, and in the applicaiton pool, I set it up with no managed code. However when I try to browse it, I get the error
HTTP Error 500.21 - Internal Server Error
Handler "aspNetCore" has a bad module "AspNetCoreModuleV2" in its module list
Besides, since the core 3.0 is still in preview, it also use the asp.net core 2.2 moudle to run the asp.net core 3.0 application.
Best Regards,
Brando
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
265 Points
1172 Posts
HTTP Error 500.21 - Internal Server Error Handler "aspNetCore" has a bad module "AspNetCoreModule...
Aug 25, 2019 11:29 PM|afrika|LINK
hi guys
I just uploaded my asp.net core 3.0 site to my IIS hosting environment, and in the applicaiton pool, I set it up with no managed code. However when I try to browse it, I get the error
I have downloaded and installed asp.net 3.0 SDK for 64bit found here https://dotnet.microsoft.com/download/dotnet-core/3.0
What am I doing wrong here ? thanks
Ehi
Star
9831 Points
3120 Posts
Re: HTTP Error 500.21 - Internal Server Error Handler "aspNetCore" has a bad module "AspNetCoreMo...
Aug 26, 2019 01:57 AM|Brando ZWZ|LINK
Hi afrika,
According to the error message, it seems that you don't have the hosting bundle installed on the server.
I suggest you could try to install the hosting bundle and try again.
Link as below:
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-2.2#install-the-net-core-hosting-bundle
Besides, since the core 3.0 is still in preview, it also use the asp.net core 2.2 moudle to run the asp.net core 3.0 application.
Best Regards,
Brando
Member
265 Points
1172 Posts
Re: HTTP Error 500.21 - Internal Server Error Handler "aspNetCore" has a bad module "AspNetCoreMo...
Aug 26, 2019 09:17 AM|afrika|LINK
thanks a lot.
Its working, but the bootstrap css is giving errors. Working on it.