Can either be used, or is one more correct?
Either can be used.

In questioning whether someone has tried all the possibilities available for accomplishing some task, I would ask questions like the following. Note that an -ing occurs after tried. Here, what you suggest may actually be of use to the person you are advising.

Have you tried asking the boss?
Have you tried opening the package from the other end?
Have you tried turning off the heat first?
Have you tried twisting it to the left?
Have you tried taking a taxi instead?

But if the task has already been accomplished, I would ask like this. Here, it may be just a matter of academic curiosity to ask what procedures were tried in order to accomplish the task. (However, sometimes people use this form the same as the previously illustrated form above.)

Did you try opening the package?
Did you try twisting it to the left?
Did you try taking a taxi instead?

In asking whether someone has tried some food at a party or dinner -- while we are both still there and there is still a chance to try these things -- I would ask questions like the following.

Have you tried the beans?
Have you tried the meat loaf?
Have you tried the sweet potato pie?

In asking whether someone tried some food -- when the party or dinner occurred days ago and there is no longer any chance to try these things -- I would ask questions like the following. If there is no longer an opportunity to try these foods, as when the speakers are no longer at the party or dinner, I would definitely not use the Have you? forms.

Did you try the beans?
Did you try the meat loaf?
Did you try the sweet potato pie?

Students: We have free audio pronunciation exercises.
Did you try it

This was useful..Thanks..

Thank you

Teachers: We supply a list of EFL job vacancies

Very clear. Thank you!