کد:
71707
پرسش
سلام .
من در هنگام باز كردن صفحات پاسخ سوالات كامپیوتر با ارر
Server Error in /vs 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 11:
Line 12: if(Session["username"]!=null){
Line 13: panel.user = Session["username"].ToString();
Line 14: panel.role = "4";
Line 15: if(panel.user.Equals("مهمان")){
Source File: D:\WWW\tebyanwebsite\m-amozeshi\consulting\ask.aspx Line: 13
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
ASP.ask_aspx.Page_Load(Object sender, EventArgs e) in D:\WWW\tebyanwebsite\m-amozeshi\consulting\ask.aspx:13
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
مواجه می شوم. و 100 بار باید سعی كنم تا بالاخره این صفحه باز شود.
قسمت نظرات هم (مشاهده نظرات دیگران )همین طور است البته با یك ارر دیگر
پاسخ
مشاور :
حسيني
| پرسش :
يکشنبه 21/4/1383
| پاسخ :
يکشنبه 21/4/1383
|
|
|
0
سال
|
فني سايت
| تعداد مشاهده:
72 بار