can not install Shipping.FixedByWeightByTotal on V4.2

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
I am trying ti install Shipping.FixedByWeightByTotal on nopCommerce V4.2 it goes through the motions but it does not   install it still shows on the local plugins.
any help would be great
Many thanks in advance
4 years ago
i have same problem the plugin is disappears when i make install and i can not found the error in log
4 years ago
Are you running in in Visual Studio?  On a local drive (dotnet Nop.Web.dll)?  Or in IIS?
4 years ago
no in wed i not use Visual Studio
4 years ago
Does it show correctly if you "Reload list of plugins"?
4 years ago
it show and when make install Disappear and download the source cod try to up lode the plugin again
when make Reload list i found the plugin and make install again  it Disappear  
and i connect whit host and give to my this error in worrying
Nop.Plugin.Shipping.FixedByWeightByTotal plugin in not compatible or cannot be loaded
4 years ago
You say "not use Visual Studio", but then you say "download the source cod".  Please describe whether you are using source code version or no-source version, and how you are running it.

Do you have problems with other plugins or just FixedByWeightByTotal?

Describe "Disappear".  Post a before and after screen capture.
4 years ago
This is the full error message logged in system/logs section of nopCommerce:


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:9a6a7264-75b7-4dd3-bb9f-43cc593347cf
Error Number:2714,State:6,Class:16
4 years ago
just FixedByWeightByTotal
4 years ago
and this video for problem
https://drive.google.com/file/d/1kXX3HdKVt_ksMzB4Oh1a0_vKTa5nCYDl/view
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.