31-03-2011, 12:17 PM
|
|
عضو سوبر
|
|
تاريخ التسجيل: Mar 2011
المشاركات: 333
معدل تقييم المستوى: 4788
|
|
[frame="1 98"]
Server Error in '/WebSite' Application.
Object reference not set to an instance of an object.
.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source *******
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page ********="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] ApplicationAr.getnameformajorparnamej(Int64 val) +352 ApplicationAr.getMajorForlist(Int64 val) +517 ASP.users_application_aspx.__DataBind__control101( Object sender, EventArgs e) +185 System.Web.UI.Control.OnDataBinding(EventArgs e) +91 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +92 System.Web.UI.Control.DataBind() +15 System.Web.UI.Control.DataBindChildren() +201 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101 System.Web.UI.Control.DataBind() +15 System.Web.UI.WebControls.DataList.CreateItem(Int3 2 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +137 System.Web.UI.WebControls.DataList.CreateControlHi erarchy(Boolean useDataSource) +488 System.Web.UI.WebControls.BaseDataList.OnDataBindi ng(EventArgs e) +64 System.Web.UI.WebControls.BaseDataList.DataBind() +55 ApplicationAr.GetAllEducationsRows() +87 ApplicationAr.Page_Load(Object sender, EventArgs e) +689 System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(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
[/frame]
|