A couple of days ago, my hosting provider upgraded the .Net framework
to .Net 1.1 SP1. Since then I am experincing strange errors: some of
the aspx pages suddenly an exception on the initial pageload (se
stacktrace below).
The error is temporary and can be resolved by restarting IIS. Any ideas
as to the cause of this error??
System.Web.HttpUnhandledException:
Exception of type System.Web.HttpUnhandledException was thrown.
---> System.ArgumentOutOfRangeException: Length cannot be less than
zero.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at System.Web.UI.Util.GetScriptLocation(HttpContext context)
at
System.Web.UI.WebControls.BaseValidator.RegisterVa lidatorCommonScript()
at System.Web.UI.WebControls.BaseValidator.OnPreRende r(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain()
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutio
nStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)
SH SYED HANIF
*** Sent via Developersdex http://www.developersdex.com ***