【发布时间】:2014-09-09 07:06:46
【问题描述】:
在运行我们的 Orchard CMS 主页几天后,我们的网站下线了。站点重新启动是不够的。我不得不重新启动/回收应用程序池。然后该站点再次运行。错误日志显示以下消息。 我的 Orchard 站点在网络映射上运行。所以我认为在网络驱动器的连接中断后可能会发生这样的错误?
2014-09-09 01:39:29,260 [8] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default
(null)
System.ArgumentException: Ein Element mit dem gleichen Schlüssel wurde bereits hinzugefügt.
bei System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
bei System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
bei Orchard.Data.Conventions.RecordTableNameConvention..ctor(IEnumerable`1 descriptors)
bei Orchard.Data.Providers.AbstractDataServicesProvider.CreatePersistenceModel(ICollection`1 recordDescriptors)
bei Orchard.Data.Providers.AbstractDataServicesProvider.BuildConfiguration(SessionFactoryParameters parameters)
bei Orchard.Data.SessionFactoryHolder.<>c__DisplayClass5.<BuildConfiguration>b__2()
bei Orchard.Data.SessionConfigurationCache.GetConfiguration(Func`1 builder)
bei Orchard.Data.SessionFactoryHolder.BuildConfiguration()
bei Orchard.Data.SessionFactoryHolder.GetConfiguration()
bei Orchard.Data.SessionFactoryHolder.GetSessionFactory()
bei Orchard.Data.SessionLocator.Demand()
bei Orchard.Data.SessionLocator.For(Type entityType)
bei Orchard.Data.Repository`1.get_Table()
bei Orchard.Core.Settings.Descriptor.ShellDescriptorManager.GetShellDescriptor()
bei Orchard.Environment.ShellBuilders.ShellContextFactory.CreateShellContext(ShellSettings settings)
bei Orchard.Environment.DefaultOrchardHost.<CreateAndActivateShells>b__7(ShellSettings settings)
2014-09-09 01:39:29,979 [8] Orchard.Environment.DefaultOrchardHost - (null) - A tenant could not be started: Default
(null)
【问题讨论】:
标签: orchardcms