Reply Complaint ::
On Dated : 10/25/2013
Category : About Site
Subject : Error in "Add New Volume"
Message : When I click in "Add New Volume" I'm getting the following 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 ___________________________________________________ Waiting for solution. Please answer to veroneze@gmail.com either.
Reply :