How to Download or Recover Deleted Plugin Manual Shipping 2.19 ???

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
I accidentally deleted the manual shipping 2.19 from my local plugins in nopcommerce 4.20

How can I recover this, or where can I download it ???

Thanks
4 years ago
Download no source version from here. Extract and select your plugin and upload from your admin panel.
4 years ago
mhsjaber wrote:
Download no source version from here. Extract and select your plugin and upload from your admin panel.


Hi Mhsjaber,

I got it installed again, thank you !

Now I have the same problem I have before, I see it on the local plugins list again, but when I click INSTALL, it prompts me to restart the application, I choose " restart application to apply changes.  But after restart, always has the red X next to the install status and GREEN INSTALL box next to it.  In other words install is not successful.  How can I make this install ???

Manual (Fixed or By Weight and By Total)
This plugin offers shipping rates with fixed fee or calculated by weight and by total
Version: 2.19
Author: nopCommerce team
System name: Shipping.FixedByWeightByTotal
Display order: 1
Installed:
4 years ago
Here is the error message I get when I try to install the plugin.  I just upgraded to version 4.20 and this does not appear on my shipping options anymore.

Error
Short message  
The plugin "Shipping.FixedByWeightByTotal" not installed
Full message  
System.Data.SqlClient.SqlException (0x80131904): There is already an object named 'ShippingByWeightByTotalRecord' in the database.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite, String methodName)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteNonQuery(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlCommand(DatabaseFacade databaseFacade, RawSqlString sql, IEnumerable`1 parameters)
   at Nop.Plugin.Shipping.FixedByWeightByTotal.Data.ShippingByWeightByTotalObjectContext.ExecuteSqlCommand(RawSqlString sql, Boolean doNotEnsureTransaction, Nullable`1 timeout, Object[] parameters)
   at Nop.Data.Extensions.DbContextExtensions.ExecuteSqlScript(IDbContext context, String sql) in C:\andrei\nopcommerce\sources\src\Libraries\Nop.Data\Extensions\DbContextExtensions.cs:line 286
   at Nop.Plugin.Shipping.FixedByWeightByTotal.FixedByWeightByTotalComputationMethod.Install()
   at Nop.Services.Plugins.PluginService.InstallPlugins() in C:\andrei\nopcommerce\sources\src\Libraries\Nop.Services\Plugins\PluginService.cs:line 422
ClientConnectionId:5e8f0462-0a5f-4f4b-aec8-a91c72f344a4
Error Number:2714,State:6,Class:16
IP address
4 years ago
First time, when you deleted the plugin, it only deleted Shipping.FixedByWeightByTotal folder from Plugins directory. Related data table was not deleted. And now when you are trying to install it again, it's trying to create related data table again. That's why this error is throwing.

You can resolve in 2 ways.
1) Delete that table manually from database (or rename it, if you need existing data).
2) Manually add the plugin system name (Shipping.FixedByWeightByTotal) in installed plugins list (~/App_Data/installedPlugins.json)
4 years ago
Hi Mhsjaber

THANK YOU for the fast responses, I will have my website developer use the information in your last post to fix the issue since I am not able to go into the server itself.  I am limited to using the ADMIN tools in NOPCommerce.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.