Server Error in '/' Application.

Could not find a part of the path 'D:\OKEWebSite\okesite\templates\jcpc\_nav_head.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 'D:\OKEWebSite\okesite\templates\jcpc\_nav_head.html'.

Source Error:


Line 29: <body onload="CheckYYNode(0,0,30);">
Line 30:     
Line 31:        <%Response.WriteFile("/templates/jcpc/_nav_head.html");%> 
Line 32:        <%Response.WriteFile("/templates/jcpc/_head.html");%>
Line 33:     

Source File: d:\OKEWebSite\okesite\yyProduct.aspx    Line: 31

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'D:\OKEWebSite\okesite\templates\jcpc\_nav_head.html'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +353
   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) +1326
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +65
   System.Web.HttpResponse.WriteFile(String filename, Boolean readIntoMemory) +80
   System.Web.HttpResponse.WriteFile(String filename) +19
   ASP.yyproduct_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\OKEWebSite\okesite\yyProduct.aspx:31
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1303


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