Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John Churchley 272 posts 1258 karma points c-trib
    Oct 04, 2017 @ 09:09
    John Churchley
    0

    ExecuteReader call is ambiguous

    I've not been able to compile the Umbraco source code. I'm ambiguous errors from calling the ExecuteReader. Any ideas?

    The call is ambiguous between the following methods or properties: 'SqlHelper

    .ExecuteReader(string, params P[])' and 'SqlHelper

    .ExecuteReader(string, params IParameter[])'

    The function is an override but for some reason VS feels it's ambiguous with the method inherited.

    I'm using VS 2015 Enterprise.

    Pulled the source via git.

    There was an error when running the bak file which seemed to target V11 but I'm using VS 2015 (14)

    Error on build.bak

  • Ravi Motha 290 posts 500 karma points MVP 7x c-trib
    Oct 04, 2017 @ 11:33
    Ravi Motha
    1

    have you tried pulling source via nuget and seeing if you get the same build error?

    just want to make sure its not a file issue

    also you haven't specified which build (i guess its the latest)

    Ravi

  • John Churchley 272 posts 1258 karma points c-trib
    Oct 04, 2017 @ 12:57
    John Churchley
    0

    Hi Ravi,

    Thanks for replying. I found it to be two separate issues. I was on the wrong branch (master), secondly I needed to apply a work around which was to copy the web applications from the v14.0 folder into a created v11.0.

    John

  • Ravi Motha 290 posts 500 karma points MVP 7x c-trib
    Oct 04, 2017 @ 13:09
    Ravi Motha
    1

    might be worth putting some notes and context if someone else finds this so they can benefit from your experience

    best of luck..

Please Sign in or register to post replies

Write your reply to:

Draft