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

Urgent Error - Call is ambiguous

1 Answer 97 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.
lkeel
Top achievements
Rank 1
lkeel asked on 29 Mar 2010, 07:30 PM
I have upgraded to the latest version of OpenAccess.  When doing so I am now getting the following error:

<div><b>CS0121: The call is ambiguous between the following methods or properties:  
'Telerik.OpenAccess.ExtensionMethods.Extent&lt;Trimble.UFS.ClientSite.DataAccess.ClientUser&gt;(Telerik.OpenAccess.IObjectScope)'  
and  
'Telerik.OpenAccess.ExtensionMethods.Extent&lt;Trimble.UFS.ClientSite.DataAccess.ClientUser&gt;(Telerik.OpenAccess.IObjectScope)'<br></b></div><div></div> 

I would have to agree that this is ambiguous since they are the same call.  If I comment out the line below from the code, then the ASP.NET application will run.

ClientUser cu = scope.Extent&lt;ClientUser&gt;().Where&lt;ClientUser&gt;(p =&gt; p.UserID.Equals(uid)).First&lt;ClientUser&gt;(); 

Please advise as soon as possible because I am dead in the water until this is fixed.

1 Answer, 1 is accepted

Sort by
0
Zoran
Telerik team
answered on 30 Mar 2010, 10:14 AM
Hello lkeel,

 This seems like an issue related to the fact that we have changed the Telerik.OpenAcces.Query assembly with the Telerik.OpenAccess.Extensions.35 assembly. Could you double check that you are not referencing both these assemblies in your project, maybe you have them both in the bin folder of your web site. If that is the case, you should just remove the Telerik.OpenAccess.Query assembly reference.

Regards,
Zoran
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
lkeel
Top achievements
Rank 1
Answers by
Zoran
Telerik team
Share this question
or