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 97: string birthday = fbUserInfo["birthday"].ToString().Replace("\"", "");
Line 98: string gender = fbUserInfo["gender"].ToString().Replace("\"", "");
Line 99: string emailAddr = fbUserInfo["email"].ToString().Replace("\"", "");
Line 100: birthday = birthday.Substring(6, 4) + birthday.Substring(0, 2) + birthday.Substring(3, 2);
Line 101:
Source File: c:\WWWPortal\WarpportalDev\Account\FBRegistration.aspx.cs Line:99
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
FB_Registration.Page_Load(Object sender, EventArgs e) in c:\WWWPortal\WarpportalDev\Account\FBRegistration.aspx.cs:99
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
server eror/in aplication,why?any solution?
Started by
subiantoro
, May 20 2013 10:28 PM
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users