Server Error in '/' Application.

Could not find file 'C:\OneDrive\Domains\NIN\viendinhduong.vn\admin\XMLData\LinhVuc_en.xml'.

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.IO.FileNotFoundException: Could not find file 'C:\OneDrive\Domains\NIN\viendinhduong.vn\admin\XMLData\LinhVuc_en.xml'.

Source Error:


Line 28:                     string.Format("~/admin/XMLData/ModelPublisher_{0}.xml", BicLanguage.CurrentLanguage));
Line 29: 
Line 30:                 BicXML.BindDropDownListFromXML(ddlLinhVuc,
Line 31:                      string.Format("~/admin/XMLData/LinhVuc_{0}.xml", BicLanguage.CurrentLanguage));
Line 32:                 LoadData();

Source File: c:\OneDrive\Domains\NIN\viendinhduong.vn\Controls\VanBan\VanBanListing.ascx.cs    Line: 30

Stack Trace:


[FileNotFoundException: Could not find file 'C:\OneDrive\Domains\NIN\viendinhduong.vn\admin\XMLData\LinhVuc_en.xml'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1344
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1217
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +124
   System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy) +116
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +77
   System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +71
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +112
   System.Xml.XmlTextReaderImpl.OpenUrl() +396
   System.Xml.XmlTextReaderImpl.Read() +296
   System.Xml.XmlReader.MoveToContent() +98
   System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving) +428
   System.Data.DataSet.ReadXml(String fileName) +87
   BIC.Utils.BicXML.GetXMLContent() in e:\BICWEB\BICCMS2017\dll_2017_01_23\BICLib\BICLib\Utils\Utils.cs:2505
   BIC.Utils.BicXML.BindDropDownListFromXML(DropDownList ddl, String sPath) in e:\BICWEB\BICCMS2017\dll_2017_01_23\BICLib\BICLib\Utils\Utils.cs:2414
   Controls_Article_ArticleListing.Page_Load(Object sender, EventArgs e) in c:\OneDrive\Domains\NIN\viendinhduong.vn\Controls\VanBan\VanBanListing.ascx.cs:30
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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