Server Error in '/' Application.

Could not find file 'D:\Inetpub\vhosts\wakkee.nl\httpdocs\2010.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.FileNotFoundException: Could not find file 'D:\Inetpub\vhosts\wakkee.nl\httpdocs\2010.html'.

Source Error:


Line 982:			if (Cache[cachekey]==null || Cache[cachekey].ToString()	+""=="")
Line 983:			{
Line 984:				Cache[cachekey]= File.ReadAllText(Server.MapPath("~/" + filename));
Line 985:				logger("read file and set cache for: "+ filename);
Line 986:			}

Source File: d:\inetpub\vhosts\wakkee.nl\httpdocs\index.aspx    Line: 984

Stack Trace:


[FileNotFoundException: Could not find file 'D:\Inetpub\vhosts\wakkee.nl\httpdocs\2010.html'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +519
   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) +776
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +66
   System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) +101
   System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost) +62
   System.IO.File.ReadAllText(String path) +40
   ASP.index_aspx.GetFile(String filename, String cachekey) in d:\inetpub\vhosts\wakkee.nl\httpdocs\index.aspx:984
   ASP.index_aspx.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\wakkee.nl\httpdocs\index.aspx:119
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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