RTE& amp; Umbraco升级问题uSync&形式

时间:2015-06-17 01:04:12

标签: c# asp.net-mvc umbraco umbraco7

我对Umbraco很陌生,我只是试图从7.1.1升级到最新的7.2.6 。在我注意到RTE停止工作之前,我似乎都很好。然后我删除了umbraco.config文件和TEMP文件夹。

从那时起,我不断收到此错误消息:

Cannot insert duplicate key row in object 'dbo.cmsMacroProperty' with unique index 'IX_cmsMacroProperty_Alias'. The duplicate key value is (11, FormGuid).
The statement has been terminated.

[SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.cmsMacroProperty' with unique index 'IX_cmsMacroProperty_Alias'. The duplicate key value is (11, FormGuid).
The statement has been terminated.]
   jumps.umbraco.usync.uSync.RunSync() +687
   jumps.umbraco.usync.uSync.DoOnStart() +118
   Umbraco.Core.EnumerableExtensions.ForEach(IEnumerable`1 items, Action`1 action) +148
   Umbraco.Core.CoreBootManager.Complete(Action`1 afterComplete) +116
   Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +95
   Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +223

[HttpException (0x80004005): Cannot insert duplicate key row in object 'dbo.cmsMacroProperty' with unique index 'IX_cmsMacroProperty_Alias'. The duplicate key value is (11, FormGuid).
The statement has been terminated.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +588
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +181
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +322
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +452

[HttpException (0x80004005): Cannot insert duplicate key row in object 'dbo.cmsMacroProperty' with unique index 'IX_cmsMacroProperty_Alias'. The duplicate key value is (11, FormGuid).
The statement has been terminated.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +646
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +778

对Umbraco不熟悉我发现很难解决这个问题并解决问题。

感谢任何帮助!

1 个答案:

答案 0 :(得分:0)

查看初始错误,我认为您可能需要更新到最新版本的uSync。要查看是否属于这种情况,请从bin文件夹中删除uSync DLL,看看是否一切正常。如果是这样,你只需要获取最新版本的uSync并使用它而不是当前版本!