[TypeLoadException: Could not load type 'MongoDB.Shared.Hasher' from assembly 'MongoDB.Driver, Version=2.19.2.0, Culture=neutral, PublicKeyToken=null'.]
MongoDB.Driver.MongoServerSettings.GetHashCode() +0
MongoDB.Driver.MongoServerSettings.Freeze() +27
MongoDB.Driver.MongoServer..ctor(MongoServerSettings settings) +141
Wulaoshi.Models.EntityService..ctor() in D:\Workspaces\WuLaoShi\Wulaoshi.Models\EntityService.cs:35
Wulaoshi.Controllers.WebinarController..ctor() in D:\Workspaces\WuLaoShi\Wulaoshi\Controllers\WebinarController.cs:16
[TargetInvocationException: 调用的目标发生了异常。]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +142
System.Activator.CreateInstance(Type type, Boolean nonPublic) +107
System.Activator.CreateInstance(Type type) +13
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +78
[InvalidOperationException: 尝试创建“Wulaoshi.Controllers.WebinarController”类型的控制器时出错。请确保控制器具有无参数公共构造函数。]
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +245
System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +266
System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +77
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +970
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158
|