Send In Blue plugin

4 years ago
We tried SendInBlue plugin for 3.8 version but unfortunate when we copy plugin to plugin folder and reload list of plugin website stop working. Dos anybody have fix for that issue?
4 years ago
Hi,

What exactly error are you getting? Do you see any errors in admin area > system > log?
4 years ago
There is no error in log but below is the error from page.
Server Error in '/' Application.

Could not load file or assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: Could not load file or assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Stack Trace:


[BadImageFormatException: Could not load file or assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
   System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
   System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +234
   System.Reflection.Assembly.Load(AssemblyName assemblyRef) +66
   Nop.Core.Plugins.PluginManager.PerformFileDeploy(FileInfo plug) +184
   Nop.Core.Plugins.PluginManager.Initialize() +2406

[Exception: Plugin 'SendInBlue'. Could not load file or assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
   Nop.Core.Plugins.PluginManager.Initialize() +3516

[Exception: Plugin 'SendInBlue'. Could not load file or assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Could not load file or assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
]
   Nop.Core.Plugins.PluginManager.Initialize() +3733

[InvalidOperationException: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Plugin 'SendInBlue'. Could not load file or assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Could not load file or assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
.]
   System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +874
   System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +169
   System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +133
   System.Web.Compilation.BuildManager.ExecutePreAppStart() +176
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +734

[HttpException (0x80004005): The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Plugin 'SendInBlue'. Could not load file or assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Could not load file or assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +579
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +112
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +712
4 years ago
We've re-uploaded the package. Please try one more time.
4 years ago
I just re download it again but still have same error.

Server Error in '/' Application.

Could not load file or assembly 'SendInBlue, Version=1.0.6072.16078, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
4 years ago
Hi.
I cannot reproduce this error. Try to clean your ASP.NET Temporary folder located in C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files and then restart application.
Can you repeat that error on the local machine?
4 years ago
I try this but still same issue. Do you planing update at lease MailChimp to 3.8 so we can use one of those.
4 years ago
Hi,

Same here. Same error.

These are the steps I have done.

- dowloaded the plugin from the nopcommerce website
- unpackek with winrar
- uploaded 3.8 to plugins folder
- in admin area, plugins "reload plugins"
- Website stops working, admin and public
- Only removing the folder "misc.sendinblue" resolved the issue.

Any idea what caused this?

Thanks
peter
4 years ago
Hi,

Any feedback? As I can read in the forum the issue is around since Nop 3.7

It is a bit awkward that a plugin of a technology partner provides installation issues and cannot be used

One customer did choose NOPcommerce as one of the key points is the integration with sendinblue.

Thanks
Peter
4 years ago
when Misc.SendInBluePlugin copy to the Plugin folder in version 3.8 same error produce when delete from folder websites running smoothly. Anyone Resolve this issue..