Base solution for your next web application
Open Closed

Error After i publish to IIS server #5390


User avatar
0
kwanp created

Hi After i publish ASP.Net core & Angular v5.5.2 project to IIS server then error show on swagger api page

An error occurred while starting the application. .NET Framework 4.6.1055.0 X64 v4.0.0.0 | Microsoft.AspNetCore.Hosting version 2.1.0-rtm-30799 | Microsoft Windows 6.3.9600 | Need help?

before i run on v4.3.0.0 is working fine

Thank you


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    You might not have the correct .NET Core version installed on the server. Install the latest .NET Core SDK <a class="postlink" href="https://www.microsoft.com/net/download/dotnet-core/2.1">https://www.microsoft.com/net/download/dotnet-core/2.1</a>

    other probabilities

    • You might be missing DLL’s
    • Something went wrong in your Program.cs or Startup.cs before any exception handling kicked