This snapshot taken on 02/08/2006, shows web content selected for preservation by The National Archives. External links, forms and search boxes may not work in archived websites.

Server Error in '/WebPages' 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:


Line 233:        If ScottishExecutive.PageCache.CanBeCached(Params.GetPageAlias) Then
Line 234:            If ScottishExecutive.PageCache.lastCached(Params.GetPageAlias) > Date.MinValue AndAlso DateDiff(DateInterval.Minute, ScottishExecutive.PageCache.lastCached(Params.GetPageAlias), Now) < 15 Then
Line 235:                ScottishExecutive.PageCache.ServePage(Params.GetPageAlias)
Line 236:            End If
Line 237:        End If

Source File: E:\seweb\WebPages\global.asax    Line: 235

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ScottishExecutive.PageCache.ServePage(String pgAlias) in C:\Documents and Settings\MWilson\My Documents\Visual Studio 2005\Projects\SEIPS 2\SeipsCore\PageCache.vb:105
   ASP.global_asax.Application_ResolveRequestCache(Object sender, EventArgs e) in E:\seweb\WebPages\global.asax:235
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42