This question is locked. New answers and comments are not allowed.
Laurent Fabre
Top achievements
Rank 2
Laurent Fabre
asked on 13 Apr 2010, 04:22 PM
Hi,
Since I switched to Visual 2010 I see an error upon namespace declaration :
"Using the generic type 'Telerik.OpenAccess.Query<T>' requires 1 type arguments"
Of course if I delete the declaration I cannot use the .Extent<T>() method anymore......
If add a reference to all the required Assemblies including Telerik.OpenAccess.40.Extensions but nothing seems to operate.
I'm pretty sure it happened when I switcher to framework 4.0 target platform.
Any hint would be greatly appreciated.
Laurent
8 Answers, 1 is accepted
0
Laurent Fabre
Top achievements
Rank 2
answered on 13 Apr 2010, 05:02 PM
Ok I solved it by adding also the 3.5 extensions (which is a bit counter-intuitive...). Sometimes I seed a VistaDB 4.0 not found error and I don't use VistaDB to the best of my knowledge. Is this related to OpenAccess ?
LF
0
Hi Laurent,
Thomas
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
yes, adding the new Telerik.OpenAccess.35 assembly (containing the code that was formerly located in the Telerik.OpenAccess.Query assembly) is the right step.
Wrt. VistaDB: This database has been added in the latest release. How are you seeing such not found errors, when do they occur?
All the best,Thomas
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Laurent Fabre
Top achievements
Rank 2
answered on 13 Apr 2010, 06:24 PM
Ok :)
They occur systematically upon the first reload of the website wether it's dev or production, as soon as I hit reload a second time it disappear and never appear again (hopefully). My dev is a IIS 7.5 running Windows 7 x64 and my prod is an IIS 7 running Windows 2008 SP2. Both use ASP.NET MVC 2 and Framework 4.0. Looks like a race condition of some kind.
Could not load file or assembly 'VistaDB.4, Version=4.0.0.0, Culture=neutral, PublicKeyToken=dfc935afe2125461' or one of its dependencies. The system cannot find the file specified.
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.FileNotFoundException: Could not load file or assembly 'VistaDB.4, Version=4.0.0.0, Culture=neutral, PublicKeyToken=dfc935afe2125461' or one of its dependencies. The system cannot find the file specified.
Source Error:
Source File: c:\Users\Laurent\Documents\Visual Studio 2010\Projects\konnect\Kirranet.Centrex.Mvc\Views\Shared\Site.Master Line: 126
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'VistaDB.4, Version=4.0.0.0, Culture=neutral, PublicKeyToken=dfc935afe2125461' or one of its dependencies. The system cannot find the file specified.
Source Error:
|
Source File: c:\Users\Laurent\Documents\Visual Studio 2010\Projects\konnect\Kirranet.Centrex.Mvc\Views\Shared\Site.Master Line: 126
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
0
Hello Laurent,
Thomas
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
there is already a version 2010.1.312.2 available which contains a fix for this issue. Can you update to this version?
Regards,Thomas
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Laurent Fabre
Top achievements
Rank 2
answered on 13 Apr 2010, 06:51 PM
I already upgraded this morning and yes I had this issue priori the upgrade but I just looked at the properties of the OpenAccess.dll and it says 2010.1.312.2. Maybe that's a new build with the same version ?
LF
0
Accepted
Hello Laurent,
Thomas
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
we have just uploaded our newest build 2010.1.414.3 that contains an additional check for this issue.
Best wishes,Thomas
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Laurent Fabre
Top achievements
Rank 2
answered on 16 Apr 2010, 03:04 AM
Hi Thomas,
I'll try this build tomorrow and keep you posted. Thanks.
LF
0
Laurent Fabre
Top achievements
Rank 2
answered on 17 Apr 2010, 06:00 AM
It works :) Thank you.