Could not load file or assembly Telerik.OpenAccess.35.Extensions

4 posts, 0 answers
  1. John
    John avatar
    2 posts
    Member since:
    May 2014

    Posted 03 Jun 2014 Link to this post

    Hi Guys,

    I'm new to the Telerik platform, so please excuse any apparent denseness! I'm attempting to run through the Sitefinity tutorial "Create a Jobs Module" (http://www.sitefinity.com/documentation/gettingstarted/developers-guide/how-to/how-to-create-a-jobs-module), but I believe the trouble I'm having is that an older version of OpenAccess is being referenced somewhere in the project. The error message I'm getting is:
    Error   17  Could not load file or assembly 'Telerik.OpenAccess.35.Extensions, Version=2013.3.1211.3, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. General Exception (Exception from HRESULT: 0x80131500)
    ExceptionString:
    System.IO.FileLoadException: Could not load file or assembly 'Telerik.OpenAccess.35.Extensions, Version=2013.3.1211.3, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. General Exception (Exception from HRESULT: 0x80131500)
    File name: 'Telerik.OpenAccess.35.Extensions, Version=2013.3.1211.3, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' ---> System.Exception: The referenced assembly 'C:\Users\john\Downloads\Projects\JobsModule\packages\Telerik.DataAccess.Core.2014.1.403.2\lib\net40\Telerik.OpenAccess.35.Extensions.dll' has the wrong version; expected Version=2013.3.1211.3 but found Version=2014.1.403.2.
       at Telerik.OpenAccess.SPI.AssemblyProvider.LoadFromReferences(String assemblyName)
       at Telerik.OpenAccess.SPI.AssemblyProvider.RefResolveEventHandler(Object sender, ResolveEventArgs args)
       at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
       at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
       at System.Type.GetType(String typeName)
       at Telerik.OpenAccess.Sdk.Enhancer.Enhancer.CrossDomainRunImpl(AssemblyLoader assemblyLoader)
       at Telerik.OpenAccess.Sdk.Enhancer.EnhancerBase.CrossDomainRun()
     
        C:\Users\john\Downloads\Projects\JobsModuleClass\obj\Debug\JobsModuleClass.dll  JobsModuleClass

    I've tried using the bindingRedirect element in my app.config file to point towards the correct version (2014.1.403.2). I've removed the reference to Telerik.OpenAccess.35.Extensions and then inserted it again. Completely stumped now, although I'm sure it's something blindingly obvious that I'm over looking. Any help would be appreciated. Many Thanks!
    John
  2. Ivan D. Dimitrov
    Admin
    Ivan D. Dimitrov avatar
    9 posts

    Posted 05 Jun 2014 Link to this post

    Hello John,

    Your question has been answered in the support ticket. Feel free to share your findings with the community.

    Regards,
    Ivan D. Dimitrov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  3. DevCraft banner
  4. Paresh
    Paresh avatar
    13 posts
    Member since:
    Jul 2014

    Posted 04 Nov 2014 Link to this post

    I am also facing the same problem. Could you please share the fix?

    Thanks,
    Paresh
  5. Ivan D. Dimitrov
    Admin
    Ivan D. Dimitrov avatar
    9 posts

    Posted 04 Nov 2014 Link to this post

    Hello all,

    For your convenience I will be pasting the support thread answer:
    "The exception you get is indeed related to the version of the OpenAccess.35.Extentions dll version. In my view the only reason why you have issues loading it may relate to the fact that the Documentation sample is outdated. Can you please try and set the 7.0 version Jobs Module from our GitHub repository. It is relevant to your particular version of Sitefinity and is easier to install"

    Regards,
    Ivan D. Dimitrov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
Back to Top