Plug-In Server Error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi,

I have a plug-in estellt and get the following error on the server. The plug-in is ok on the work computer.
Can someone help.


[ReflectionTypeLoadException: Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn Sie weitere Informationen benötigen.]
   System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) +0
   System.Reflection.Assembly.GetTypes() +113
   Nop.Core.Plugins.PluginManager.Initialize() +2190

[Exception: Plugin 'my Plugin'. Der Typ "Nop.Web.Framework.Controllers.BaseNopPluginController" in der Assembly "Nop.Web.Framework, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null" konnte nicht geladen werden.
]
   Nop.Core.Plugins.PluginManager.Initialize() +2949

[Exception: Plugin 'my Plugin'. Der Typ "Nop.Web.Framework.Controllers.BaseNopPluginController" in der Assembly "Nop.Web.Framework, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null" konnte nicht geladen werden.

Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn Sie weitere Informationen benötigen.
]
   Nop.Core.Plugins.PluginManager.Initialize() +3310

[InvalidOperationException: Von der Methode "Initialize" des Typs "Nop.Core.Plugins.PluginManager" für die Initialisierung vor dem Anwendungsstart wurde eine Ausnahme mit folgender Fehlermeldung ausgelöst: Plugin 'my Plugin'. Der Typ "Nop.Web.Framework.Controllers.BaseNopPluginController" in der Assembly "Nop.Web.Framework, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null" konnte nicht geladen werden.

Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn Sie weitere Informationen benötigen.
.]
   System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +851
   System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +162
   System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +130
   System.Web.Compilation.BuildManager.ExecutePreAppStart() +170
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +878

[HttpException (0x80004005): Von der Methode "Initialize" des Typs "Nop.Core.Plugins.PluginManager" für die Initialisierung vor dem Anwendungsstart wurde eine Ausnahme mit folgender Fehlermeldung ausgelöst: Plugin 'my Plugin'. Der Typ "Nop.Web.Framework.Controllers.BaseNopPluginController" in der Assembly "Nop.Web.Framework, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null" konnte nicht geladen werden.

Mindestens ein Typ in der Assembly kann nicht geladen werden. Rufen Sie die LoaderExceptions-Eigenschaft ab, wenn Sie weitere Informationen benötigen.
.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +124
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +700
6 years ago
I think some plugin files are missing on your hosted server. Can you please verify that and check.
6 years ago
hiteshvaghasiya wrote:
I think some plugin files are missing on your hosted server. Can you please verify that and check.


Hi,

Thanks for the reply. How do I find out which file is missing?
There is no error on the work computer.

Best regards
6 years ago
[Exception: Plugin ' my Plugin'. The type "NOP. Web. Framework. Controllers. BaseNopPluginController" in the assembly "Nop. Web. Framework, Version = 3.9.0.0, Culture = neutral, PublicKeyToken = null" could not be loaded.


No one has an idea why the error is coming. I made a reference to Nop.Web.Framework.

The plug-in uses the DLL RestSharp. A reference was created through Nuget. Local copy was set to True.
6 years ago
When I use the plug-in controller "BaseNopPluginController" I get an error. When I use "BaseController" comes no error.

Does anyone know why that is?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.