Reply Complaint ::
On Dated : 12/12/2013
Category : Complaint
Subject : error occurs
Message : Dear Athority, Ehen I am adding the new volume then this has been shown. 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 24: xmlyear.Load(Server.MapPath("~/App_Data/JournalData.xml")); Line 25: XmlNode yearnode = xmlyear.SelectSingleNode("DRJI/JournalDetails[@ISSN_No='" + Request.QueryString["uname"] + "']/ApplyJournal"); Line 26: int yr = Convert.ToInt32(yearnode.Attributes["StartYear"].InnerText); Line 27: //////////////////////////////////////////////////// Line 28: Source File: d:\inetpub\vhosts\academicprofile.org\directory_of_research_journals_indexing\Publisher\AddVolume.aspx.cs Line: 26 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] Publisher_AddVolume.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\academicprofile.org\directory_of_research_journals_indexing\Publisher\AddVolume.aspx.cs:26 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) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Reply :