Hi There,
I'm totally new to sitefinity and telerik so be patient.
Anyway was just trying to proof of concept a basic OpenAccess solution.
I downloaded+installed the latest OpenAccess trial (as recommended)
I then created a simple class project and added an entity. Which I linked to another project and could instantiate and populate the object no worries.
I then referenced the OpenAccess class library project I created to the new test sitefinity project/website.
There was a .dll version conflict. The existing OpenAccess .dlls that shipped with the SiteFinity installation were version Version=2010.3.1125.1 and the new OpenAcccess ones are Version=2011.1.316.10
I though I could just tidy this up. I went into SiteFinity project and removed the following version 2010.3.1125.1 .dll's
Telerik.OpenAccess
Telerik.OpenAccess.35.Extensions
Telerik.OpenAccess.Adonet2
Telerik.OpenAccess.Runtime
Telerik.OpenAccess.Web
Then added the latest OpenAccess versions to the SiteFinity project.
I can't work out which file is referencing the old version of Telerik.OpenAccess.Web or how I should setup my projects properly. Please see error below...
I now get this error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Could not load file or assembly 'Telerik.OpenAccess.Web, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Telerik.OpenAccess.Web, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.OpenAccess.Web, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' could not be loaded.
=== Pre-bind state information ===
LOG: User = ADVANCE\lukec
LOG: DisplayName = Telerik.OpenAccess.Web, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
(Fully-specified)
LOG: Appbase = file:///C:/inetpub/wwwroot/AdvanceFinity/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\AdvanceFinity\bin
Calling assembly : Telerik.Sitefinity, Version=4.0.1210.0, Culture=neutral, PublicKeyToken=b28c218413bdf563.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\inetpub\wwwroot\AdvanceFinity\web.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Telerik.OpenAccess.Web, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/5fe167b7/158d2b0f/Telerik.OpenAccess.Web.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/5fe167b7/158d2b0f/Telerik.OpenAccess.Web/Telerik.OpenAccess.Web.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/AdvanceFinity/bin/Telerik.OpenAccess.Web.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
Stack Trace:
[FileLoadException: Could not load file or assembly 'Telerik.OpenAccess.Web, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
Telerik.Sitefinity.Modules.Pages.Configuration.ToolboxesConfig.InitializePageToolbox() +0
Telerik.Sitefinity.Modules.Pages.Configuration.ToolboxesConfig.OnPropertiesInitialized() +29
Telerik.Sitefinity.Configuration.ConfigElement.InitializeProperties() +31
Telerik.Sitefinity.Configuration.ConfigSection.InitializeProperties() +36
Telerik.Sitefinity.Configuration.ConfigElement.EnsurePropertiesInitialized() +140
Telerik.Sitefinity.Configuration.ConfigElement.get_Properties() +31
Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadPropertyElement(ConfigElement element, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, Boolean isUpgrading) +56
Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadElement(ConfigElement element, XmlReader reader, ConfigPolicyHandler policyHandler, String policyName, Boolean isUpgrading) +633
Telerik.Sitefinity.Configuration.Data.XmlConfigProvider.LoadSection(ConfigSection section, ConfigPolicyHandler policyHandler, String policyName) +514
Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider, ConfigPolicyHandler policyHandler, String policyName, Boolean singlePolicy) +251
Telerik.Sitefinity.Configuration.ConfigSection.Initialize(ConfigProvider provider) +45
Telerik.Sitefinity.Configuration.Config.Get() +206
Telerik.Sitefinity.Modules.Newsletters.NewslettersModule.InitializeToolbox() +91
Telerik.Sitefinity.Modules.Newsletters.NewslettersModule.Initialize(ModuleSettings settings) +145
Telerik.Sitefinity.Services.SystemManager.InitializeModule(ModuleSettings settings, InstallContext installContext, Boolean start) +319
Telerik.Sitefinity.Services.SystemManager.Initialize() +1675
Telerik.Sitefinity.Abstractions.Bootstrapper.RegisterRoutes(RouteCollection routes) +287
Telerik.Sitefinity.Abstractions.Bootstrapper.Bootstrap() +144
Telerik.Sitefinity.Web.SitefinityHttpModule.Init(HttpApplication context) +42
System.Web.Routing.UrlRoutingModule.System.Web.IHttpModule.Init(HttpApplication application) +10
System.Web.HttpApplication.InitModulesCommon() +80
System.Web.HttpApplication.InitModules() +43
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +828
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +304
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +327
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1