Server Error in '/' Application.

Could not find a part of the path 'd:\home\h441883.winp016.arubabusiness.it\erniacervicalelombare.it\log\log.txt'.

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 'd:\home\h441883.winp016.arubabusiness.it\erniacervicalelombare.it\log\log.txt'.

Source Error:


Line 41:     {
Line 42:         if (fStream == null)
Line 43:             fStream = new FileStream(filename, FileMode.Append);
Line 44:         if (streamWrite == null)
Line 45:             streamWrite = new StreamWriter(fStream);

Source File: d:\home\h441883.winp063.arubabusiness.it\erniacervicalelombare.it\App_Code\Log.cs    Line: 43

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'd:\home\h441883.winp016.arubabusiness.it\erniacervicalelombare.it\log\log.txt'.]
   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) +62
   System.IO.FileStream..ctor(String path, FileMode mode) +57
   Log.init() in d:\home\h441883.winp063.arubabusiness.it\erniacervicalelombare.it\App_Code\Log.cs:43
   Log.scrivi(String messaggio) in d:\home\h441883.winp063.arubabusiness.it\erniacervicalelombare.it\App_Code\Log.cs:25
   common_menu.Page_Load(Object sender, EventArgs e) in d:\home\h441883.winp063.arubabusiness.it\erniacervicalelombare.it\common\_footer.ascx.cs:36
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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