This question is locked. New answers and comments are not allowed.
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:
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
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