在安裝輪詢模塊(Sitecore 6.2程序包:1.1.0 OMS版本)期間,發生錯誤,導致無法完成安裝。Sitecore SSM - 輪詢模塊未能安裝
我下載從這裏包: http://trac.sitecore.net/Poll
我們使用:Sitecore.NET 6.2.0(REV 100507)
我已經試過重複安裝幾次,恢復數據庫並在出現提示時覆蓋文件,但仍會遇到下面粘貼的此錯誤。
發生以下錯誤:
System.TypeLoadException:無法從組件加載類型 'Sitecore.Analytics.Data.AnalyticsDataContext'「Sitecore.Analytics,版本= 1.0.0.0,文化=中性公鑰= NULL。 Sitecore.Modules.OMSPoll.Domain.PollAnalyticsDataProvider.PollExists(String pollName)在Sitecore.Modules.OMSPoll.Domain.PollEventHandler.CheckIsPollItemNameDuplicate(String pollName)Sitecore.Modules.OMSPoll.Domain.PollEventHandler.OnItemCreating(Object sender,EventArgs args )在Sitecore.Events.Event.RaiseEvent(String eventName,Object [] parameters,EventResult result)上的Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName,Object []參數) (String sender,Object [] parameters)at Sitecore.Events.Event.RaiseItemCreating(Object sender,ItemCreatingEventArgs args)at Sitecore.Events.Event.DataEngine_CreatingItem(Object sender,ExecutingEventArgs 1 e) at System.EventHandler
1.在Sitecore上調用(Object sender,TEventArgs e) .Data.Engines.EngineCommand 2.CanExecute() at Sitecore.Data.Engines.EngineCommand
2.在Sitecore上的Sitecore.Data.Engines.DataEngine.CreateItem(String itemName,Item destination,ID templateId,ID newId)執行()。 Sitecore.Data上的Sitecore.Data.Managers.ItemProvider.CreateItem(String itemName,Item目標,ID templateId,ID newId,SecurityCheck securityCheck)中的Data.Managers.ItemProvider.DoCreateItem(String itemName,Item destination,ID templateId,ID newId) Sitecore.Data.Managers.ItemManager.CreateItem(String itemName,Item destination,ID templateId,ID newId)在Sitecore.Nexus上的.Managers.ItemManager.CreateItem(String itemName,Item目標,ID templateId,ID newId,SecurityCheck securityCheck)。在Sitecore.Nexus.Data.DataCommands.AddFromTemplateCommand.Execute(ID templateId,Item目標,String itemName,ID newId)處的Site.orex.Data.Data.DataCommands.AddFromTemplateCommand。(String itemName,Item destination,ID templateId,ID newId) 。SiteCore.Data.Engines.DataCommands.AddFromTemplateCommand.DoExecute()在Sitecore.Data.Engines.EngineCommand 2.Execute() at Sitecore.Data.Engines.DataEngine.AddFromTemplate(String itemName, ID templateId, Item destination, ID newId) at Sitecore.Install.Items.ItemInstaller.CreateLightweightItem(ItemReference item, XmlVersionParser parser) at Sitecore.Install.Items.ItemInstaller.InstallItem(BehaviourOptions installOptions, Item targetItem, ItemReference item, XmlVersionParser parser) at Sitecore.Install.Items.ItemInstaller.GetVersionInstallMode(PackageEntry entry, ItemReference reference, XmlVersionParser parser, ItemInstallerContext context) at Sitecore.Install.Items.ItemInstaller.InstallEntry(PackageEntry entry) at Sitecore.Install.Items.ItemInstaller.Flush() at Sitecore.Install.Items.LegacyItemUnpacker.Flush() at Sitecore.Install.Framework.SinkDispatcher.Flush() at Sitecore.Install.Utils.EntrySorter.Flush() at Sitecore.Install.Framework.EntryBuilder.Flush() at Sitecore.Install.Zip.PackageReader.Populate(ISink
1接收器)在Siteco上的.NexusDataApi.AddFromTemplate(ID templateId,項目目標,String itemName,ID newId)在Sitecore.Set.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper的Sitecore.Install.Installer.InstallPackage(String path,IProcessingContext context)中的re.Install.Utils.EntrySorter.Populate(ISink 1 sink) at Sitecore.Install.Installer.InstallPackage(String path, ISource
1 source,IProcessingContext上下文)。 b__0()在Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.CatchExceptions(的ThreadStart開始)
地方我可以安裝,但是當我使用輪詢分公司創建一個新的民意調查得到以下錯誤:
闞類型Sitecore.Analytics.Data.AnalyticsDataContext Niet的載貨vanuit組件Sitecore.Analytics,VERSI on = 1.0.0.0,Culture = neutral,PublicKeyToken = null。 body {font-family:「Verdana」; font-weight:normal; font-size:。7em; color:black;} {font-family:「Verdana」; font-weight:normal; color:black; margin-top:-5px} b {font-family:「Verdana」; font-weight: H2 {font-family:「Verdana」; bold; color:black; margin-top:-5px} H1 {font-family:「Verdana」; font-weight:normal; font-size:18pt; color:red} H2 { ; font-weight:normal; font-size:14pt; color:maroon} pre {font-family:「Lucida Console」; font-size:.9em} .marker {font-weight:bold;顏色:黑色;文字修飾:無;} .version {color:grey;} .error {margin-bottom:10px;} .expandable {text-decoration:underline;字體重量:粗體;顏色:海軍;光標:手; }
<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>
二是埃恩onverwerkte uitzondering gegenereerd tijdens HET uitvoeren範·德·huidige webaanvraag。 Aan de hand van de onreheande tracering van de uitzonderingsstack kunt u me informatie verkrijgen over de oorsprong en de locatie van de uitzondering。
</td>
</tr>
</table>
<br>
<b>Stacktracering:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[TypeLoadException:闞類型Sitecore.Analytics.Data.AnalyticsDataContext Niet的載貨vanuit組件Sitecore.Analytics,版本= 1.0.0.0,文化=中性公鑰=空] Sitecore.Modules.OMSPoll.Domain .PollAnalyticsDataProvider.PollExists(字符串pollName)0 Sitecore.Modules.OMSPoll.Domain.PollEventHandler.CheckIsPollItemNameDuplicate(字符串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(Strin g值)+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(消息信息)40
[TargetInvocationException:的Het doel麪包車EEN aanroep heeft EEN uitzondering veroorzaakt] System.RuntimeMethodHandle._InvokeMethodFast(對象目標,對象[]參數,SignatureStruct & SIG,methodAttributes methodAttributes, RuntimeTypeHandle typeOwner)+0 System.RuntimeMethodHandle.InvokeMethodFast(Object target,Object [] arguments,Signature sig,MethodAttributes methodAttributes,RuntimeTypeHandle typeOwner)+71 System.Reflection.RuntimeMe thodInfo.Invoke(Object obj,BindingFlags invokeAttr,Binder binder,Object []參數,CultureInfo culture,Boolean skipVisibilityChecks)+261 System.Reflection.RuntimeMethodInfo.Invoke(Object obj,BindingFlags invokeAttr,Binder binder,Object [] parameters,CultureInfo文化)+29 Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo方法,Object []參數,Object obj)+45 Sitecore.Reflection.ReflectionUtil.CallMethod(Type type,Object obj,String methodName,Boolean includeNonPublic,Boolean includeInherited,布爾包括靜態,對象[]參數)+87 Sitecore.Reflection.ReflectionUtil.CallMethod(對象obj,字符串methodName,布爾includeNonPublic,布爾includeInherited,對象[]參數)+43 Sitecore.Web.UI.HtmlControls.Component.HandleMessage (留言信息)+133 S itecore.Web.UI.HtmlControls.Control.HandleMessage(消息消息)+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(布爾includeStagesBeforeAsyncPoint,布爾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>
您是否試圖構建針對Sitecore DLL的共享源模塊的源? Sitecore CMS 6.2.0 rev.091012引入了一些中斷API更改,因此您不能直接從代碼中使用LINQ to SQL。請參閱發行說明:http://sdn.sitecore.net/Products/Sitecore%20V5/Sitecore%20CMS%206/ReleaseNotes/ChangeLog.aspx – 2010-10-11 14:50:18
亞歷克斯,你能寫這個作爲我的問題的答案嗎? – Younes 2010-10-13 06:39:43
這樣,我可以接受你的答案作爲正確的:)。 – Younes 2010-10-15 07:10:41