I was using the Older version 6.7.20.1. I am trying to use the new
version 9.2.17.1. But always getting the java script error "
Expected ')' in line 209 " in client side only in our apllication.
However while using the version 9.2.17.1 in a new solution, it is
working fine. I have figured out when this error is coming.
We are handling the events in global.asax to track the server response
time using the code below
/// <summary>Set the End Time as the Application Request Ends and
Write out the Total Request Time Elapsed</summary>
protected void Application_EndRequest(object sender,
System.EventArgs e)
{
endTime = DateTime.Now;
TimeSpan time = new TimeSpan(endTime.Ticks -
startTime.Ticks);
HttpApplication httpApplication = (HttpApplication)sender;
HttpContext httpContext = httpApplication.Context;
httpContext.Response.Output.WriteLine("<!-- Server Response
Time : {0} seconds -->", time.TotalSeconds.ToString("###,##0.0##"));
httpContext.Response.Output.WriteLine("<!-- Current Server
Time : {0} -->", endTime.ToString("ddd dd MMM, yyyy HH:mm:ss"));
}
At that time , the javascript error is coming. The response is
received successfully. However , while proccessing the response some
issue is there. So all the Ajax functions are failing