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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   System.Xml.XmlReader.CalcBufferSize(Stream input) +14
   System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) +122
   System.Xml.XmlTextReaderImpl..ctor(String url, Stream input, XmlNameTable nt) +86
   System.Xml.XmlDocument.Load(Stream inStream) +81
   Javidan.Core.Framework.Utils.Xml.clsXml.GetXmlDocFromAssembly(String sXmlPath) in E:\Develop\Repo\nexus.net\Javidan.Core.Framework\Utils\Xml.cs:160
   Javidan.Core.Framework.Utils.Xml.clsXml..ctor(String sXmlPath) in E:\Develop\Repo\nexus.net\Javidan.Core.Framework\Utils\Xml.cs:140
   Javidan.Core.Framework.Culture.clsCulture.GetDirResource(String sCulture) in E:\Develop\Repo\nexus.net\Javidan.Core.Framework\Culture\Culture.cs:413
   Javidan.Core.Framework.Culture.clsCulture.GetDir(String sType, String sCulture) in E:\Develop\Repo\nexus.net\Javidan.Core.Framework\Culture\Culture.cs:385
   Javidan.Portal.Web.Container.Client.initValues() in E:\Develop\Repo\nexus.net\Javidan.Portal.Web\Container\Client.ascx.cs:56
   Javidan.Portal.Web.Container.Client.Page_Load(Object sender, EventArgs e) in E:\Develop\Repo\nexus.net\Javidan.Portal.Web\Container\Client.ascx.cs:94
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
   System.Web.UI.Control.OnLoad(EventArgs e) +79
   System.Web.UI.Control.LoadRecursive() +130
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2853


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4676.0