I'm using VS 2022 and I'm able to run in IIS Express, also I changed it to Nop.Web as per the solutions mentioned in our forum. And it's not sometimes but always get stopped when I install plugin. Even after the manual start, plugin not get installed. Restart button is always available in the plugins page. And plugin always have the red cross icon denoted as app not get installed.
I'm not getting any error, I'm just not able to install the plugin even after manual restart. Please refer the loom screen recording by clicking below link
Enabled the log in webconfig file and captured the logs. Looks like there is no error captured here. Please refer the some of the logs which are created recently.
I want to add one more point now. I'm able to install other free plugins, only the problem is application stops when restarting. I need to manually restart. But I'm not able to install the plugin which I bought from the market place. I can see the plugin files in the following path "Presentation\Nop.Web\Plugins\Payments.RazorpayPayment". But in the "local plugins" page, its shows as not installed.
I want to add one more point now. I'm able to install other free plugins, only the problem is application stops when restarting. I need to manually restart.
Yes if running in development that is how it works
arunfromtmm wrote:
But I'm not able to install the plugin which I bought from the market place. I can see the plugin files in the following path "Presentation\Nop.Web\Plugins\Payments.RazorpayPayment". But in the "local plugins" page, its shows as not installed.
Contact the developer where you purchased the plugin
Contacted plugin developer, they are claiming that this is the issue in nop commerce installation side. And I got the following error from log.
System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task Nop.Services.Localization.ILocalizationService.AddLocaleResourceAsync(System.Collections.Generic.IDictionary`2<System.String,System.String>, System.Nullable`1<Int32>)'. at Nop.Plugin.Payments.RazorpayPayment.PaymentRazorpayProcessor.InstallAsync() at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Nop.Plugin.Payments.RazorpayPayment.PaymentRazorpayProcessor.InstallAsync() at Nop.Services.Plugins.PluginService.InstallPluginsAsync() in E:\BeeTechies\Projects\AmirthaAngadi-Ecom\SourceCode-4.30\src\Libraries\Nop.Services\Plugins\PluginService.cs:line 502
a 4.5 version of the plugin will use _localizationService.AddOrUpdateLocaleResourceAsync a previous version of the plugin will use _localizationService.AddLocaleResourceAsync
So the plugin you are using is not compatible with v4.5
Looking at this error is confusing arunfromtmm wrote: