在轮询模块(Sitecore 6.2软件包:1.1.0 OMS版本)的安装过程中,出现错误,无法完成安装。
I downloaded the package from here: http://trac.sitecore.net/Poll
我们使用的是:Sitecore.NET 6.2.0(修订版100507)
我已经多次尝试重复安装,恢复数据库并在提示时覆盖文件,但仍然会遇到粘贴在下面的错误。
出现以下错误:
System.TypeLoadException:无法从程序集Sitecore.Analytics.Data.AnalyticalsDataContext加载类型Sitecore.AAnalytics,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null。位于Sitecore.Modules.OMSPoll.Domain.PollAnalyticsDataProvider.PollExists(字符串pollName)位于Sitecore.Modules.OOMSPoll.DomainPollEventHandler.CheckIsPollItemNameDuplicate(字符串poll名称)位于Sitecore.Modules.OMSPoll.Domain.PollEventHandler.OnItemCreating(对象发送器,EventArgs参数)位于Sitecore.Events.EventSubscriber.RaiseEvent(String eventName,Object[]parameters)at Sitecore.EEvents.Event.RiseEvent(String eventName,Object]]parameters(Object sender,TEventArgs e)位于Sitecore.Data.Enginers.EngineCommand<code>2.CanExecute()位于Sitecore。Data.Enginers.cataEngine.CreateItem(String itemName,Item destination,ID templateId,ID newId)位于。Data.Managers.ItemProvider.DoCreateItem(字符串itemName,项目目标,ID templateId,ID newId)位于Sitecore.Data.Managers.ItemProvider.CreateItem(String itemName,Item destination,ID templateId,ID newId,SecurityCheck SecurityCheck)位于Sitecore.Data.Managers.EtemManager.CreateItemSitecore.Nexus.Data.DataCommands.AddFromTemplateCommand.(String itemName,Item destination,ID templateId,ID newId)在Sitecore.Nextus.DataCommands.AddFromTemplateCommand。在Sitecore.Nexus.Data NexusDataApi.AddFromTemplate(ID templateIdSitecore.Install.Items.ItemInstaller.InstallItem处的Sitecore.Data.Enginers.DataCommands.AddFromTemplateCommand.DoExecute(BehaviourOptions installOptions,Item targetItem,ItemReference项,XmlVersionParser解析器)位于Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry条目,ItemReference引用,XmlVersion解析器解析器,ItemInstallerContext上下文)位于Sitecore.Install.Item.ItemInstaller.InstallEntry(PackageEntry条目的PackageInstaller.Flush)Sitecore.Install.Items.LegacyItemUnpacker.Flush()(位于Sitecore.Iinstall.Framework.SinkDispatcher.Flush)(位于Sitecore.Install.Utils.EntrySorter.Flush(字符串路径,ISource1源,IProcessingContext上下文)在Sitecore.Install.Installer.InstallPackage(字符串路径、IProcessing上下文上下文)在Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.b_0()在Sitecore.Shell.Applications.Install.DDialogs.InstallPackage.EnstallPackageForm.AsyncHelper.CatchExceptions(ThreadStart启动)
本地我可以安装,但当我使用轮询分支创建新的轮询时,会出现以下错误:
Kan type Sitecore.Analytics.Data.AnalyticsDataContext niet laden vanuit assembly Sitecore.Analytics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
<body bgcolor="white">
<span><H1>Serverfout in toepassing /.<hr width=100% size=1 color=silver></H1>
<h2> <i>Kan type Sitecore.Analytics.Data.AnalyticsDataContext niet laden vanuit assembly Sitecore.Analytics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Beschrijving: </b>Er is een onverwerkte uitzondering opgetreden tijdens het uitvoeren van de huidige webaanvraag. Raadpleeg de stacktracering voor meer informatie over deze fout en de oorsprong ervan in de code.
<br><br>
<b> Details van uitzondering: </b>System.TypeLoadException: Kan type Sitecore.Analytics.Data.AnalyticsDataContext niet laden vanuit assembly Sitecore.Analytics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.<br><br>
<b>Fout in bron:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
这是一个很好的例子。在现场追踪的过程中,我们会在现场收集信息。
</td>
</tr>
</table>
<br>
<b>Stacktracering:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[TypeLoadException: Kan type Sitecore.Analytics.Data.AnalyticsDataContext niet laden vanuit assembly Sitecore.Analytics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.] Sitecore.Modules.OMSPoll.Domain.PollAnalyticsDataProvider.PollExists(String pollName) +0 Sitecore.Modules.OMSPoll.Domain.PollEventHandler.CheckIsPollItemNameDuplicate(String pollName) +128 Sitecore.Modules.OMSPoll.Controls.OMSPollWizardForm.get_IsPollExists() +93 Sitecore.Modules.OMSPoll.Controls.OMSPollWizardForm.ActivePageChanging(String pageFrom, String& pageTo) +97 Sitecore.Web.UI.Pages.WizardForm.set_Active(String value) +80 Sitecore.Web.UI.Pages.WizardForm.Next() +92 Sitecore.Web.UI.Pages.WizardForm.OnNext(Object sender, EventArgs formEventArgs) +40 Sitecore.Web.UI.HtmlControls.Button.DoClick(Message message) +40
[TargetInvocationException: Het doel van een aanroep heeft een uitzondering veroorzaakt.] System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0 System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +261 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29 Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj) +45 Sitecore.Reflection.ReflectionUtil.CallMethod(Type type, Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Boolean includeStatic, Object[] parameters) +87 Sitecore.Reflection.ReflectionUtil.CallMethod(Object obj, String methodName, Boolean includeNonPublic, Boolean includeInherited, Object[] parameters) +43 Sitecore.Web.UI.HtmlControls.Component.HandleMessage(Message message) +133 Sitecore.Web.UI.HtmlControls.Control.HandleMessage(Message message) +497 Sitecore.Shell.Framework.Commands.ClientEventCommand.SendEventMessage() +105 Sitecore.Shell.Framework.Commands.ClientEventCommand.Execute(CommandContext context) +10 Sitecore.Web.UI.Sheer.ClientPage.RaiseEvent() +64 Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +268 System.Web.UI.Control.PreRenderRecursiveInternal() +80 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Versiegegevens:</b> Microsoft .NET Framework Versie:2.0.50727.4206; ASP.NET Versie:2.0.50727.4209
</font>
</body>