any progress ?
HTTP Error 500.31 - Failed to load ASP.NET Core runtime
I created a.net core application in Visual Studio 2022. When I see the properties, I see this:
I deployed the application on IIS and this is installed on the server:
when I do dotnet --info, I see this:
My networking person is telling me that older versions are already deprecated. When I created the application, I chose, .net 6.0(Long Term Support). below is the image:
When I navigated to my application on IIS, I saw this error:
I also tried checking the modules of my application in IIS and I see this:
Do I need to install older versions. Although, I selected, the latest version when developing the .net core application.
I really don't want to install all the older versions. The server that I am trying to deploy my code is windows server 2019 and IIS is 10.0.17763.1. I already saw some of the other forums like this: error
this is my .csproj file image:
<Project Sdk="Microsoft.NET.Sdk.Web" ToolsVersion="15.0">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>disable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="7.0.16" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.16" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.16" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.16">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="7.0.12" />
<PackageReference Include="Telerik.UI.for.AspNet.Core" Version="2023.3.1114" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.13" />
</ItemGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Templates\**" />
<Content Remove="Templates\**" />
<EmbeddedResource Remove="Templates\**" />
<None Remove="Templates\**" />
</ItemGroup>
<ItemGroup>
<Folder Include="wwwroot\img\" />
<Folder Include="wwwroot\FilledPDF\" />
</ItemGroup>
<ProjectExtensions><VisualStudio><UserProperties UseCdnSupport="" /></VisualStudio></ProjectExtensions>
</Project>
any help on this will be highly appreciated.