Hi
I am having issues in upgrading from Version 4.30 to 4.40 as I am getting the following error
HTTP Error 500.30 - ASP.NET Core app failed to start
Common solutions to this issue:
The app failed to start
The app started but then stopped
The app started but threw an exception during startup
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028265
I am using the x86 Version of 4.40 as my hosting provider does not support x64.
Also, I noticed that the appsettings.json is not contained in the 'App_Data' of 4.30. The appsettings.json for 4.30 was found in the NopCommerce Root Folder. I have no issues with my 4.30 setup and it is operating as normal.
Any Advice to resolve the issues with the Upgrade would be greatly appreciated.
Also on Enabling Logs by the hosting Provider the following was generated.
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.<>c.<InitializePlugins>b__14_3(PluginDescriptor pd) in C:\andrei\nop_sources\src\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ApplicationPartManagerExtensions.cs:line 562
at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, AppSettings appSettings) in C:\andrei\nop_sources\src\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ApplicationPartManagerExtensions.cs:line 562
at Nop.Web.Framework.Infrastructure.Extensions.ServiceCollectionExtensions.ConfigureApplicationServices(IServiceCollection services, IConfiguration configuration, IWebHostEnvironment webHostEnvironment) in C:\andrei\nop_sources\src\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ServiceCollectionExtensions.cs:line 72
at Nop.Web.Startup.ConfigureServices(IServiceCollection services) in C:\andrei\nop_sources\src\Presentation\Nop.Web\Startup.cs:line 42
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services, Object instance)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass13_0.<UseStartup>b__0(HostBuilderContext context, IServiceCollection services)
at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at Nop.Web.Program.Main(String[] args) in C:\andrei\nop_sources\src\Presentation\Nop.Web\Program.cs:line 15
at Nop.Web.Program.<Main>(String[] args)
Again Any Advice to resolve the issues with the Upgrade would be greatly appreciated.
Upgrade URL http://agayaholdings-001-site2.ctempurl.com/
Thanks and Regards
Prasad