Posted on: 3/21/2015 12:03:54 PM | Views : 570

Hi,
I have a webmethod that is not working due to this redirect to lowercase in web.config:
<rule name="LowerCaseRule1" stopProcessing="true"> <match url="[A-Z]" ignoreCase="false"/> <action type="Redirect" url="{ToLower:{URL}}"/> </rule> Code behind:
<WebMethod> Public Shared Function hello() As String Dim SayHello As String = "Hello" Return SayHello End Function Javascript:
function runTest() { PageMethods.hello(OnSucceeded, OnFailed); } function OnSucceeded(response) { alert(response); } function OnFailed(error) { alert(error); console.log('Error:', data); } ...

Go to the complete details ...