Reply Complaint ::
On Dated : 9/9/2013
Category : Query
Subject : Error in Add New Volume
Message : The following Error at the time of add new volume plz solve the error 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\drji.org\httpdocs\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\drji.org\httpdocs\Publisher\AddVolume.aspx.cs:26 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
Reply :