Server Error in '/' Application.

[pluginType] cannot be null.
Parameter name: pluginType

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.ArgumentNullException: [pluginType] cannot be null.
Parameter name: pluginType

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.

Stack Trace:


[ArgumentNullException: [pluginType] cannot be null.
Parameter name: pluginType]
   StructureMap.ArgumentChecker.ThrowIfNull(String argumentName, Object value) +120
   StructureMap.Container.GetInstance(Type pluginType) +46
   LloydsRegister.Web.Initialization.IoC.StructureMapControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) in D:\a\1\s\Src\LloydsRegister.Web\Initialization\IoC\StructureMapControllerFactory.cs:20
   System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +265
   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +77
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1128
   System.Web.<>c__DisplayClass285_0.<ExecuteStepImpl>b__0() +40
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +155
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0