Is there anyone met same issue I had? ASP.NET Core app failed to start with HTTP Error 500.30 after installation of mobile app plugin in my nopCommernce 4.60.
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
Thanks, Yidna for your quick reply. Could you please help me with the exceptions below.
I've observed some exceptions occurring, but I'm confident that the WebApi Plugin (both backend and frontend) has been installed correctly. The version of the WebApi Plugin should be compatible to mobile app plugin, as they was extracted from the package downloaded for the mobile app.
-------------------------------------------------------------------------------------------------------------------------------------------- Unhandled exception. System.Exception: Unable to load one or more of the requested types. Could not load type 'Nop.Plugin.Misc.WebApi.Framework.Models.ConfigurationModel' from assembly 'Nop.Plugin.Misc.WebApi.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Could not load type 'Nop.Plugin.Misc.WebApi.Framework.Services.BaseAuthorizationService' from assembly 'Nop.Plugin.Misc.WebApi.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Could not load type 'Nop.Plugin.Misc.WebApi.Framework.Controllers.WebApiConfigController' from assembly 'Nop.Plugin.Misc.WebApi.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Could not load type 'Nop.Plugin.Misc.WebApi.Framework.Models.ConfigurationModel' from assembly 'Nop.Plugin.Misc.WebApi.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Could not load type 'Nop.Plugin.Misc.WebApi.Framework.Services.BaseAuthorizationService' from assembly 'Nop.Plugin.Misc.WebApi.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Could not load type 'Nop.Plugin.Misc.WebApi.Framework.Controllers.WebApiConfigController' from assembly 'Nop.Plugin.Misc.WebApi.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) at System.Reflection.Assembly.GetTypes() at Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, PluginConfig pluginConfig) in E:\Projects\AsianSupermarket\nopCommerce_4.60.4_Source\src\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ApplicationPartManagerExtensions.cs:line 299 System.TypeLoadException: Could not load type 'Nop.Plugin.Misc.WebApi.Framework.Models.ConfigurationModel' from assembly 'Nop.Plugin.Misc.WebApi.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. System.TypeLoadException: Could not load type 'Nop.Plugin.Misc.WebApi.Framework.Services.BaseAuthorizationService' from assembly 'Nop.Plugin.Misc.WebApi.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. System.TypeLoadException: Could not load type 'Nop.Plugin.Misc.WebApi.Framework.Controllers.WebApiConfigController' from assembly 'Nop.Plugin.Misc.WebApi.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. --- End of inner exception stack trace --- at Nop.Web.Framework.Infrastructure.Extensions.ApplicationPartManagerExtensions.InitializePlugins(ApplicationPartManager applicationPartManager, PluginConfig pluginConfig) in E:\Projects\AsianSupermarket\nopCommerce_4.60.4_Source\src\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ApplicationPartManagerExtensions.cs:line 329 at Nop.Web.Framework.Infrastructure.Extensions.ServiceCollectionExtensions.ConfigureApplicationServices(IServiceCollection services, WebApplicationBuilder builder) in E:\Projects\AsianSupermarket\nopCommerce_4.60.4_Source\src\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ServiceCollectionExtensions.cs:line 96 at Program.<Main>$(String[] args) in E:\Projects\AsianSupermarket\nopCommerce_4.60.4_Source\src\Presentation\Nop.Web\Program.cs:line 38
Thanks, Dmitriy. It is working now after Misc.NopMobileApp and Nop.Plugin.Misc.WebApi.Framework were added into the project, and then complied. It looks that the NopMoibleApp can't be applied into the framework by just adding as a plugin.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.