Base solution for your next web application
Open Closed

An error occurred while starting the application. .NET Framework 4.7.3221.0 X86 v4.0.0.0 | Microsoft.AspNetCore.Hosting version 2.1.1-rtm-30846 | Microsoft Windows 10.0.14393 #5909


User avatar
0
narrow11 created

An error occurred while starting the application. .NET Framework 4.7.3221.0 X86 v4.0.0.0 | Microsoft.AspNetCore.Hosting version 2.1.1-rtm-30846 | Microsoft Windows 10.0.14393


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    it can be everything

    go to web.config change stdoutLogEnabled to true

    and check the log file for the specific error

    1. make sure the \logs\stdout exist, if not create it
    2. make sure there are read and write permissions
  • User Avatar
    0
    narrow11 created

    Application startup exception: System.IO.FileNotFoundException: Could not load file or assembly 'Abp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. File name: 'Abp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' at PCMIS.Configuration.AppConfigurations.BuildConfiguration(String path, String environmentName, Boolean addUserSecrets) at PCMIS.Configuration.AppConfigurations.<>c__DisplayClass2_0.<Get>b__0(String _) at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) at PCMIS.Configuration.AppConfigurations.Get(String path, String environmentName, Boolean addUserSecrets) at PCMIS.Configuration.HostingEnvironmentExtensions.GetAppConfiguration(IHostingEnvironment env) at PCMIS.Web.Startup.Startup..ctor(IHostingEnvironment env) --- End of stack trace from previous location where exception was thrown --- at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters) at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProvider provider, Type type) at Microsoft.AspNetCore.Hosting.Internal.StartupLoader.LoadMethods(IServiceProvider hostingServiceProvider, Type startupType, String environmentName) at Microsoft.AspNetCore.Hosting.WebHostBuilderExtensions.<>c__DisplayClass1_0.<UseStartup>b__1(IServiceProvider sp) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(IServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitSingleton(SingletonCallSite singletonCallSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSite(IServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0(ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureStartup() at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices() at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()

    WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    Hosting environment: Production Content root path: C:\inetpub\wwwroot\PCMISPublish Now listening on: http://127.0.0.1:8335 Application started. Press Ctrl+C to shut down.

  • User Avatar
    0
    maliming created
    Support Team

    Try upgrading to the latest stable package? (ABP and Microsoft)

  • User Avatar
    0
    narrow11 created

    please link pgrading to the latest stable package? (ABP and Microsoft)

  • User Avatar
    0
    maliming created
    Support Team

    For example: https://www.nuget.org/packages/Microsoft.AspNetCore.Hosting/2.1.1