Server Error in '/' Application.

Could not find a part of the path 'D:\docteurclic\mycss\sites\cgu.htm'.

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:\docteurclic\mycss\sites\cgu.htm'.

Source Error:


Line 19:     <uc:header ID="headerUC" runat="server" />
Line 20:     <div id="centre" class="centre bgwhite">
Line 21:     <% Response.Write(System.IO.File.ReadAllText("D:\docteurclic\mycss\sites\cgu.htm"))%>
Line 22:     </div>
Line 23:     <uc:footer ID="footerUC" runat="server" />  

Source File: E:\kunden\homepages\11\d831221378\www\docteurclic\santeassistance\cgu.aspx    Line: 21

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'D:\docteurclic\mycss\sites\cgu.htm'.]
   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
   ASP.santeassistance_cgu_aspx.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in E:\kunden\homepages\11\d831221378\www\docteurclic\santeassistance\cgu.aspx:21
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +270
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +9840022
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +55
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +43
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +129
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +14
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1342


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