Server Error in '/' Application.

Could not find a part of the path 'C:\inetpub\httpdocs\dangtinwebnhom\thiet-ke-web-hcm\Cache\Uploads\webnhom\LanguageFiles\LanguageVI.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.DirectoryNotFoundException: Could not find a part of the path 'C:\inetpub\httpdocs\dangtinwebnhom\thiet-ke-web-hcm\Cache\Uploads\webnhom\LanguageFiles\LanguageVI.xml'.

Source Error:


Line 25:             String Name = Globals.GetPhysicalUploadsUrl() + "/LanguageFiles/" + FileName + ".xml";
Line 26:             X = new XmlDataDocument();
Line 27:             X.Load(Name);
Line 28:         }
Line 29: 

Source File: c:\inetpub\httpdocs\dangtinwebnhom\App_Code\Conshare.provider\LanguageXml.cs    Line: 27

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'C:\inetpub\httpdocs\dangtinwebnhom\thiet-ke-web-hcm\Cache\Uploads\webnhom\LanguageFiles\LanguageVI.xml'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +338
   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) +1430
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +205
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +90
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +282
   System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +75
   System.Threading.CompressedStack.runTryCode(Object userData) +260
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +118
   System.Xml.XmlTextReaderImpl.OpenUrl() +7377683
   System.Xml.XmlTextReaderImpl.Read() +187
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +176
   System.Xml.XmlDocument.Load(XmlReader reader) +144
   System.Xml.XmlDataDocument.Load(XmlReader reader) +274
   System.Xml.XmlDocument.Load(String filename) +205
   System.Xml.XmlDataDocument.Load(String filename) +23
   Conshare.provider.LanguageXML..ctor(String FileName) in c:\inetpub\httpdocs\dangtinwebnhom\App_Code\Conshare.provider\LanguageXml.cs:27
   Controls_Header.Page_Load(Object sender, EventArgs e) in c:\inetpub\httpdocs\dangtinwebnhom\noi-that-dep\Controls\Header.ascx.cs:27
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178


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