This is a migrated thread and some comments may be shown as answers.

HELP.. problems with the RENT A CAR DEMO.

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stuart
Top achievements
Rank 1
Stuart asked on 06 Mar 2011, 04:05 PM

Hi There

I'm having real problems with the  RENT A CAR DEMO.  I have just installed the very latest version of the TELERIK ultimate collection, I tried running the rent a car DEMO but got an error regarding the 
Telerik.OpenAccess, Version=2010.2.714.1, Culture=neutral, PublicKeyToken=7CE17EEAF1D59342"

So I changed the webconfic to :
Telerik.OpenAccess, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7CE17EEAF1D59342"/>

I also chaged all the DLL's in the BIn file to the most recent versions open acces version, asnd did the automatix upgrade wich was prompted by Visual Studio 2010..

BUT...... NOW I GET THE ERROR BELOW...  PLease Tell me what I am supposed to do..  thanks so much

Stu

erver Error in '/Telerik.CarRental.Web' Application.
Could not load file or assembly 'Telerik.OpenAccess, Version=2010.2.714.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, Version=2010.2.714.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:
 
Line 190:            cmbCarsSearch.Items.Add(new RadComboBoxItem(make, make));
Line 191:        }
Line 192:    }
Line 193:
Line 194:    protected void cmbCarsSearch_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
 
 
Source File: c:\Users\Stuart Cook\Documents\Visual Studio 2010\WebSites\CarRental-Origional\CarRental\Telerik.CarRental.Web\DailySchedule.aspx.cs    Line: 192
 
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.OpenAccess, Version=2010.2.714.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' could not be loaded.

Telerik.OpenAccess, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7CE17EEAF1D59342"/></assemblies></compilation>

1 Answer, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 07 Mar 2011, 10:42 AM
Hello Stuart,

To be able to solve the issue you need to do the following:
1) Remove the old references from the Telerik.CarRental.Web and Telerik.CarRental.Core projects.
2) Add the new references in the Telerik.CarRental.Core project :

- Telerik.OpenAccess.dll
- Telerik.OpenAccess35.Extensions.dll
- Telerik.OpenAccess40.Extensions.dll

and build the Code Library.

3) Delete the reference to the Telerik.CarRental.Core in the Telerik.CarRental.Web and add it again. Also you need to add the new references to the Telerik.OpenAccess (same 3 .dll-s).

4) Finally you need to replace the assembly registration in the web.config file of the Telerik.CarRental.Web:

<assemblies>
        <!--<add assembly="Telerik.OpenAccess, Version=2010.2.714.1, Culture=neutral, PublicKeyToken=7CE17EEAF1D59342"/>-->
        <add assembly="Telerik.OpenAccess, Version=2010.3.1125.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342" />
      </assemblies>

Regards,
Veronica Milcheva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Stuart
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Share this question
or