View Single Post
 
Old 05-28-2013, 10:05 AM
an_ezfriend an_ezfriend is offline
Newcomer
 
Join Date: Mar 2004
Posts: 11
Default Exception: File does not exist

I have a default.aspx page in my subfolder (Document) which uses the Main.Master template on the root folder. The Main.Master template reference a logo in the IMAGES folder. Each time I navigate to the subfolder (or any subfolders), I always get the exception below which the default.aspx in the subfolder is trying to find images/logo.png.

File does not exist. http://localhost:2079/Document/images/logo.png

I appreciate your inputs.

Main.Master (root)
<a href="default.aspx" runat="server"><img id="x_company_logo" src="images/logo.png" runat="server" border="0"/>

Root struction
Main.Master
images/logo.png
Document/default.aspx
--------------------------------------------------------------------------
Exception TYpe
HttpException

Message
File does not exist.

Stack Trace
at System.Web.StaticFileHandler.GetFileInfo(String virtualPathWithPathInfo, String physicalPath, HttpResponse response)
at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context, String overrideVirtualPath)
at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApp lication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Reply With Quote