From my starting webpage on button click I am calling a WCF web service which will run for a while (10 - 15 mins) and on my starting webpage message is getting displayed "Please wait service is running".
Once actions from my WCF service call is finished it returns to my web page and results form my web service should be displayed on my starting webpage.
Now above is working fine on local host but as I deploy the code on IIS control from web service does not return to the starting page and message "Please wait service is running" does not disappear.
I am not sure what can be the issue may be session is getting timed out. Can anyone please help me out ?
Code sample from starting page button click is shown below. Once RunScript
is executed results should be displayed on starting page.
try
{
//Run the scripts
List<ScCon.TestService.Sel_Test> SelTests_Returned_list = TSSClient.RunScripts(ScriptsToRun_list);
TSSClient.Close();
List<StringTestResult> strResult_List = new List<StringTestResult>();
foreach (TestService.Sel_Test ST in SelTests_Returned_list)
{
strResult_List.Add(new StringTestResult(ST));
}
TCResultsGridView.DataSource = strResult_List;
TCResultsGridView.DataBind();
}