安装最新版本的Sensenet后,在调试启动应用程序时显示如下错误:
SenseNet.ExclusiveLock.MsSql 组件缺失。
描述:在执行当前 Web 请求期间发生了未处理的异常。请查看堆栈跟踪以了解有关错误及其在代码中的来源的更多信息。
异常详细信息:System.InvalidOperationException:SenseNet.ExclusiveLock.MsSql 组件丢失。
源错误:
Line 13: protected override void Application_Start(object sender,EventArgs e,HttpApplication application)
Line 14: {
Line 15: base.Application_Start(sender,e,application);
Line 16:
Line 17: AreaRegistration.RegisterAllAreas();
源文件:c:\users\administrator\source\repos\WebApplication4\WebApplication4\Global.asax.cs 行:15
[InvalidOperationException: SenseNet.ExclusiveLock.MsSql component is missing.]
SenseNet.ContentRepository.RepositoryVersionInfo.IsComponentAllowed(snComponentInfo component,Version installedComponentVersion) +217
SenseNet.ContentRepository.RepositoryVersionInfo.CheckComponentVersions(snComponentInfo[] components,Boolean release) +237
SenseNet.Services.SenseNetGlobal.Application_Start(Object sender,HttpApplication application) in C:\agent-02\_work\2\s\src\Services\SenseNetGlobal.cs:166
WebApplication4.MvcApplication.Application_Start(Object sender,HttpApplication application) in c:\users\administrator\source\repos\WebApplication4\WebApplication4\Global.asax.cs:15
SenseNet.Portal.Global.Application_Start(Object sender,EventArgs e) in C:\agent-02\_work\2\s\src\Services\Global.cs:15
[HttpException (0x80004005): SenseNet.ExclusiveLock.MsSql component is missing.]
system.web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedmode(HttpContext context,HttpApplication app) +10107111
system.web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext,HttpContext context,MethodInfo[] handlers) +123
system.web.HttpApplication.InitSpecial(HttpApplicationState state,MethodInfo[] handlers,IntPtr appContext,HttpContext context) +181
system.web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext,HttpContext context) +228
system.web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +314
[HttpException (0x80004005): SenseNet.ExclusiveLock.MsSql component is missing.]
system.web.httpruntime.FirstRequestInit(HttpContext context) +10087352
system.web.httpruntime.EnsureFirstRequestInit(HttpContext context) +99
system.web.httpruntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr,HttpContext context) +263
我严格按照安装说明进行操作,没有报告任何构建错误。