Erro de autenticação falhada ao chamar o método da web usando $ .ajax

Quando faço uma chamada JQuery, recebo uma resposta com falha de autenticação:

{
    Message: "Authentication failed.", 
    StackTrace: null, 
    ExceptionType: "System.InvalidOperationException"
}

chamada jQuery:

$(document).ready(function () {
    //Handle the change event for the drop down list
    $("#ddRegions").change(function () {
        //create the ajax request
        $.ajax({
            type: "POST", //HTTP method
            url: '<%= ResolveUrl("WebForm2.aspx/getLocations")%>', //page/method name
            data: "{}", //json to represent argument
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) { //handle the callback to handle response                
                //request was successful. so Retrieve the values in the response.
                alert(msg.toSource());
            }
        });
    });
});

O método da web:

public static string getLocations() {
    System.Diagnostics.Debug.WriteLine("Getting Locations.");
    return "{region:auckland, city:auckland}";
}

Adicionei o seguinte ao meu web.config:

<authorization>
    <allow users="*" />
</authorization>
<authentication mode="None" />

E eu tentei definir oAutoRedirectMode paraOff noRouteConfig.cs. Isso interrompe o erro, mas ainda assim o método da web nunca é chamado. Alguma sugestão?

questionAnswers(1)

yourAnswerToTheQuestion