Open Closed

HTTP Error 500.30 - ASP.NET Core app failed to start #5575


User avatar
0
garymedina@hotmail.com created

I am new to ABP commercial and never had issues with non-commercial but I am receiving the error "HTTP Error 500.30 - ASP.NET Core app failed to start" when using the Public Website Template. It would be great to use IIS Express in VS2022 but I have built and deployed to IIS server with the same results. I have reinstalled the .Net 7 SDK and Hosting with the same results. Can someone direct me to a fix please?


6 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Could you share the application error logs?

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hi,

    Could you please try following steps:-

    1. Clean solution
    2. Rebuild solution Or please Check connection string? Or please try in Host file appsetting.json "Redis": { "Configuration": "localhost,ssl=True,abortConnect=False" },
  • User Avatar
    0
    garymedina@hotmail.com created

    Thanks for the response. Changing the appsettings files Redis configuration just put it in an infinite loop of errors and shows a white screen in the browser.

    Here are the log files from the Output window, this is the .Web project - Thanks again!!!!!

    Verbose logs are written to: C:\Users\HP Z4 G4\AppData\Local\Temp\visualstudio-js-debugger.txt 'iisexpress.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.10\System.Private.CoreLib.dll'.

    ---- Loading files removed because log is too long to post ------

    core\src\AutomateRE.Web\bin\Release\net7.0\runtimes\win\lib\netcoreapp2.0\System.Management.dll'. Exception thrown: 'System.Net.Sockets.SocketException' in Pipelines.Sockets.Unofficial.dll Exception thrown: 'System.Net.Sockets.SocketException' in Pipelines.Sockets.Unofficial.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.Net.Sockets.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.Net.Sockets.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.Net.Sockets.dll Exception thrown: 'System.Net.Sockets.SocketException' in Pipelines.Sockets.Unofficial.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.Net.Sockets.dll Exception thrown: 'System.Net.Sockets.SocketException' in Pipelines.Sockets.Unofficial.dll Exception thrown: 'System.Net.Sockets.SocketException' in Pipelines.Sockets.Unofficial.dll Exception thrown: 'System.Net.Sockets.SocketException' in Pipelines.Sockets.Unofficial.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.Net.Sockets.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.Net.Sockets.dll Exception thrown: 'StackExchange.Redis.RedisConnectionException' in StackExchange.Redis.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in Autofac.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in Autofac.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in Autofac.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in Autofac.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in Autofac.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in Autofac.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in Autofac.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in Autofac.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in Autofac.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in Autofac.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in System.Private.CoreLib.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in System.Private.CoreLib.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in System.Private.CoreLib.dll Exception thrown: 'Autofac.Core.DependencyResolutionException' in System.Private.CoreLib.dll Exception thrown: 'Volo.Abp.AbpInitializationException' in Volo.Abp.Core.dll Exception thrown: 'Volo.Abp.AbpInitializationException' in System.Private.CoreLib.dll Exception thrown: 'Volo.Abp.AbpInitializationException' in System.Private.CoreLib.dll Exception thrown: 'Volo.Abp.AbpInitializationException' in System.Private.CoreLib.dll Exception thrown: 'Volo.Abp.AbpInitializationException' in System.Private.CoreLib.dll 'iisexpress.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.10\System.Reflection.Metadata.dll'. 'iisexpress.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.10\System.IO.Compression.dll'. 'iisexpress.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.10\System.IO.MemoryMappedFiles.dll'. The thread 0x5ba4 has exited with code 0 (0x0). Exception thrown: 'System.OperationCanceledException' in System.Private.CoreLib.dll Exception thrown: 'System.OperationCanceledException' in System.Private.CoreLib.dll The thread 0x8668 has exited with code 0 (0x0).

  • User Avatar
    0
    garymedina@hotmail.com created

    Still no resoloution?

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hi,

    we will check it.

  • User Avatar
    0
    garymedina@hotmail.com created

    RESOLVED:

    I have resolved the issue by doing the following. I updated Visual Studio to the newest version after reading that .NET 7 requires the newest version. I don't think this fixed it.

    I believe there is an issue with WSL install and the server wasn't running correctly. After downloading redis-latest.zip from the Github repo - https://github.com/ServiceStack/redis-windows/tree/master/downloads and running redis-server.exe it is running in IIS directly from VS2022.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11