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

Ambigous error

1 Answer 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
jagadish kumar
Top achievements
Rank 1
jagadish kumar asked on 05 Jul 2010, 01:43 PM
Hello sir/madam,

i have got the following error when i tried to do opendata access with ORm

1.Database is ambiguous in the namespace Telerik.OpenAccess

2.Error   7   'IObjectScope' is ambiguous in the namespace 'Telerik.OpenAccess'.   F:\DemoWeb\Projects\DemoWeb\App_Code\ObjectScopeProvider1.vb   68   45   F:\...\DemoWeb\

3.Error   12   The type or namespace name 'localhost' does not exist in the namespace 'OpenData' (are you missing an assembly reference?)   C:\Documents and Settings\cw3\My Documents\Visual Studio 2008\Projects\OpenData\ObjectContainerProviderProxy1.cs   63   21   OpenData



4.Error   27   OpenAccess Error: Telerik.OpenAccess: Updating SQL schema failed. No persistent class could be found.
To define persistent classes use the [Persistent] attribute at the class level.
If multiple projects are used additional references must be made in the configuration file.
To update the required references use 'Update Config References' from the OpenAccess menu.   OpenData   

5. Error   28   OpenAccess Error: No persistent class could be found.
To define persistent classes use the [Persistent] attribute at the class level.
If multiple projects are used additional references must be made in the configuration file.
To update the required references use 'Update Config References' from the OpenAccess menu.   OpenData  


And when i tried to open this project in sitefinity i got one error like

"

Could not load file or assembly 'Telerik.OpenAccess, Version=2010.1.310.2, 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)

"



It's very urgent....... please clear my doubts.......please

thanks
jagadish

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 07 Jul 2010, 07:53 AM
Hi jagadish kumar,

Those errors are probably caused by outdated references to the Telerik.OpenAccess assemblies. Could you please run the Check Settings wizard and make sure all references are up-to-date? The upgrade procedure is described in this help article.

Regards,
Alexander
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
Tags
General Discussions
Asked by
jagadish kumar
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or