Hi 99 times out of 100 when i go into debug i get the error below. to clear it i can use F5 once to several times, the page eventually loads. i suspect it's something to do with AJAX (as i never had this problem before i started creating ajax asp websites. The error normal means an error in my code so have i misssed something? has anyone else experienced this?
thanks danServer Error in '/crTester' Application.
Object reference not set to an instance of an object.
Description: An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
|
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] System.Web.Script.Services.WebServiceData.GetWebServiceData(HttpContext context, String virtualPath, Boolean failIfNoData, Boolean pageMethods) +368 System.Web.Script.Services.PageClientProxyGenerator.GetClientProxyScript(HttpContext context, IPage page, Boolean debug) +45 System.Web.UI.ScriptManager.RegisterServices() +728 System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +244 System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2012724 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1566
|
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210