Object reference not set to an instance of an object.

Server Error in '/' 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 10:         var req = SiteRequest.Load(Context);
Line 11:         var file = service.GetFile(req.Path);
Line 12:         req.Path = file.Path;
Line 13:     %>
Line 14:     <title>

Source File: c:\websites\SharpKit\DesktopBrowser\Default.aspx    Line: 12

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\websites\SharpKit\DesktopBrowser\Default.aspx:12
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +149
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5362


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34212