Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Web Services java script: The server method '....' failed

$
0
0

Hello all

I have one problem realted to calling the webserive same method repeatedly 

I have one java script method called from the aspx page using Page.ClientScript.RegisterStartupScript

function CallWebservice methods()

{

  webservice.GetName(onsucess,onfaliure)

}

in webservice

[Webmethod]

function List<Class> GetName()

{

// Here is my logic for getting the value from db

}

Now this works fine in normal case while only 1 function is calling it

I am getting this error while "GetName" method is exicuting some thing(getting value from db) and its result not yet returned to the javascript success/faliure method and at the same time if we are calling the same methods(GetName) from diiferent js functions or pressing f5 button repeatedly(in firefox only) , it throughs the error

Error Code:
The server method 'GetName' failed.

Status Code: 0
Timed Out: false


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>