Urgent Error - Call is ambiguous

Thread is closed for posting
2 posts, 0 answers
  1. lkeel
    lkeel avatar
    115 posts
    Member since:
    Jul 2012

    Posted 29 Mar 2010 Link to this post

    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.
  2. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 30 Mar 2010 Link to this post

    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.
Back to Top