Server Error in '/' Application.

Could not find a part of the path 'C:\inetpub\wwwroot\LocalUser\sequel\lovesuperg.com\html\assistant-financial-controller.html'.

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\wwwroot\LocalUser\sequel\lovesuperg.com\html\assistant-financial-controller.html'.

Source Error:


Line 57:                             oggetto = "Work with us - Assistant operations manager - Operation Department"
Line 58:                         Case 2
Line 59:                             lblhtmldinamico.Text = File.ReadAllText(Server.MapPath("html/assistant-financial-controller.html"))
Line 60:                             txtNazione.Attributes.Add("placeholder", "assistant financial controller *")
Line 61:                             nomearea = "Assistant financial controller - Finance Department"

Source File: C:\inetpub\wwwroot\LocalUser\sequel\lovesuperg.com\posizione.aspx.vb    Line: 59

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'C:\inetpub\wwwroot\LocalUser\sequel\lovesuperg.com\html\assistant-financial-controller.html'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +373
   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) +738
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +68
   System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) +104
   System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost) +64
   System.IO.File.ReadAllText(String path) +42
   posizione.info_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\LocalUser\sequel\lovesuperg.com\posizione.aspx.vb:59
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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