Started Receiving Error

Sep 28, 2007 at 3:16 PM
Hi,
Not sure whats happening but I've started receiving this error when I run my IFrames application from my development box

Server Error in '/SampleApp' 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 651: }
Line 652:
Line 653: string script = String.Format(@"<script type=""text/javascript"">window.fbContext = '{0};{1};{2}'; window.fbUserID = '{2}'; window.fbProxy = '{3}';</script>",
Line 654: ApplicationName, _session.SessionKey, _session.UserID,
Line 655: ResolveClientUrl("~/FacebookProxy.axd"));


Source File: D:\libraries\Facebook\DotNet3\FrameworkWeb\Web\FacebookApplication.cs Line: 653

Stack Trace:


NullReferenceException: Object reference not set to an instance of an object.
Facebook.Web.FacebookApplication.Render(HtmlTextWriter writer) in D:\libraries\Facebook\DotNet3\FrameworkWeb\Web\FacebookApplication.cs:653
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +53
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +294
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +21
System.Web.UI.Page.Render(HtmlTextWriter writer) +27
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +53
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +294
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8432




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832



I think it may have something to do with the Microsoft Facebook Toolkit which I installed today and then immediately uninstalled.