I think this happen because of the request timeout. most probably your web site set request timeout for 1hr.
Because of the timeout response will not getting to the page. (registers script will not rendering)
please check the web.config file following section and modify accordingly
And please check the following alsohttp://codebetter.com/petervanooijen/2006/06/15/timeout-of-an-asp-net-page/