Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3233840
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:19:23+00:00 2026-05-17T17:19:23+00:00

During the installation of the Poll module (Sitecore 6.2 package: 1.1.0 OMS version), an

  • 0

During the installation of the Poll module (Sitecore 6.2 package: 1.1.0 OMS version), an error occurs preventing the completion of the installation.

I downloaded the package from here:
http://trac.sitecore.net/Poll

We are using: Sitecore.NET 6.2.0 (rev. 100507)

I’ve tried repeating the install several times, restoring the database and overwriting the files when prompted, but still encounter this error pasted below.

The following error occurs:

System.TypeLoadException: Could not load type ‘Sitecore.Analytics.Data.AnalyticsDataContext’ from assembly ‘Sitecore.Analytics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. at Sitecore.Modules.OMSPoll.Domain.PollAnalyticsDataProvider.PollExists(String pollName) at Sitecore.Modules.OMSPoll.Domain.PollEventHandler.CheckIsPollItemNameDuplicate(String pollName) at Sitecore.Modules.OMSPoll.Domain.PollEventHandler.OnItemCreating(Object sender, EventArgs args) at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) at Sitecore.Events.Event.EventSubscribers.RaiseEvent(String eventName, Object[] parameters) at Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) at Sitecore.Events.Event.RaiseItemCreating(Object sender, ItemCreatingEventArgs args) at Sitecore.Events.Event.DataEngine_CreatingItem(Object sender, ExecutingEventArgs1 e) at System.EventHandler1.Invoke(Object sender, TEventArgs e) at Sitecore.Data.Engines.EngineCommand2.CanExecute() at Sitecore.Data.Engines.EngineCommand2.Execute() at Sitecore.Data.Engines.DataEngine.CreateItem(String itemName, Item destination, ID templateId, ID newId) at Sitecore.Data.Managers.ItemProvider.DoCreateItem(String itemName, Item destination, ID templateId, ID newId) at Sitecore.Data.Managers.ItemProvider.CreateItem(String itemName, Item destination, ID templateId, ID newId, SecurityCheck securityCheck) at Sitecore.Data.Managers.ItemManager.CreateItem(String itemName, Item destination, ID templateId, ID newId, SecurityCheck securityCheck) at Sitecore.Data.Managers.ItemManager.CreateItem(String itemName, Item destination, ID templateId, ID newId) at Sitecore.Nexus.Data.DataCommands.AddFromTemplateCommand.(String itemName, Item destination, ID templateId, ID newId) at Sitecore.Nexus.Data.DataCommands.AddFromTemplateCommand.Execute(ID templateId, Item destination, String itemName, ID newId) at Sitecore.Nexus.Data.NexusDataApi.AddFromTemplate(ID templateId, Item destination, String itemName, ID newId) at Sitecore.Data.Engines.DataCommands.AddFromTemplateCommand.DoExecute() at Sitecore.Data.Engines.EngineCommand2.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(ISink1 sink) at Sitecore.Install.Utils.EntrySorter.Populate(ISink1 sink) at Sitecore.Install.Installer.InstallPackage(String path, ISource1 source, IProcessingContext context) at Sitecore.Install.Installer.InstallPackage(String path, IProcessingContext context) at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.b__0() at Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.AsyncHelper.CatchExceptions(ThreadStart start)

Local I can install but get the following error when i use the Poll Branch to create a new poll:

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>

Er is een onverwerkte uitzondering gegenereerd tijdens het uitvoeren van de huidige webaanvraag. Aan de hand van de onderstaande tracering van de uitzonderingsstack kunt u meer 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: 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>&nbsp;Microsoft .NET Framework Versie:2.0.50727.4206; ASP.NET Versie:2.0.50727.4209

        </font>

</body>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T17:19:24+00:00Added an answer on May 17, 2026 at 5:19 pm

    The solution to this problem is:

    Sitecore CMS 6.2.0 rev.091012 has introduced some breaking API changes so that you can’t use LINQ to SQL directly from your code. This means that you have to rebuild the Shared Source Module against your own version of Sitecore.

    To rebuild against own version this is what I did:

    • Open the Poll Module Project in VS and rebuild the OMSPoll. dll
    • Open the Shared Source code in Visual Studio
    • Remove all Sitecore related Dll’s from the assembly references (Sitecore.Client, Sitecore.Kernel)
    • Reference to the newly build version of the OMSPoll.dll
    • Reference to the Sitecore.Client and Sitecore.Kernel that is being used in your Sitecore project
    • Reference to the correct Sitecore.Analytics.dll
    • Rebuild the Shared Source Module (Poll)
    • Open the default package.zip and replace the dll’s inside by the ones that you’ve newly build.
    • Install the package

    Good luck whenever you encounter this problem!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to install development version of ggbiplot from Github . During installation I'm
During installation, it's possible to update the InnoSetup wizard status text from inside the
I'm trying to install R and came across this error during installation: http://projects.uabgrid.uab.edu/r-group/wiki/install-R ,
I'm trying to install Visual Studio 2010 Express. I got error 1935 during installation
Is there some restrictions of access to store configuration during installation of custom module
In order to prevent command windows from popping up during installation I am using
I am adding elements to an XML file during installation using the XmlFile element:
Is the option to create a desktop shortcut during installation only available if the
I am having a issue with WIX. During installation of MSI I want to
My installer requires admin privileges. During installation some values are written to the HKCU

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.