Re: System.IO.FileNotFoundException help

From: Ken Cox [Microsoft MVP] (BANSPAMken_cox_at_sympatico.ca)
Date: 06/03/04


Date: Wed, 2 Jun 2004 20:59:09 -0400


"When you try to open an ASP.NET Web Application project, the ASP.NET
process accesses a nonexistent file that is named Get_aspx_ver.aspx to
retrieve the ASP.NET version information. If the defaultRedirect attribute
is not set to an HTML file or to an ASP file, the request for the
Get_aspx_ver.aspx file returns the HTTP 404 error and the ASP.NET version
information. If the defaultRedirect attribute is set to an HTML file or to
an ASP file, the request for the Get_aspx_ver.aspx file does not return the
ASP.NET version information. Therefore, you receive the error that is
mentioned in the "Symptoms" section of this article. "

http://support.microsoft.com/default.aspx?scid=kb;en-us;825792

Also:

http://bluebones.net/news/default.asp?action=view_story&story_id=50

"msnews.microsoft.com" <maximus@portvista.com> wrote in message
news:%23B6kthPSEHA.3944@TK2MSFTNGP11.phx.gbl...
> Not sure where this error is coming from. I have my asp.net app set to
> email
> me error messages, but this error message does not indicate where it
> occurs.
> There is no page called get_aspx_ver.aspx and I don't know where it's
> getting that. Any ideas?
>
> System.IO.FileNotFoundException:
> c:\inetpub\wwwroot\framescale\get_aspx_ver.aspx
> at System.Web.UI.TemplateParser.GetParserCacheItem()
> at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String
> virtualPath, String inputFile, HttpContext context)
> at System.Web.UI.TemplateControlParser.GetCompiledInstance(String
> virtualPath, String inputFile, HttpContext context)
> at System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String
> virtualPath, String inputFile, HttpContext context)
> at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String
> requestType, String url, String path)
> at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
> requestType, String path, String pathTranslated, Boolean useAppConfig)
>
>



Relevant Pages

  • Web App cant find web service
    ... When my web service and web application are on the same server (Windows 2003 ... The request failed with HTTP status 404: ... virtualPath, String inputFile, HttpContext context) ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • RE: Failed to start monitoring changes to \machinefolder
    ... > current web request. ... > An unhandled exception was generated during the execution of the current web ... > System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String dir, ... > virtualPath, String inputFile, HttpContext context) +36 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Debugging Dotnet Web Application
    ... What a stack trace is .. ... > virtualPath, String inputFile, HttpContext context) ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • System.Web.HttpException Error.
    ... load the string resources. ... below steps, then request the URL: ... application to be compiled in debug mode. ... virtualPath, String inputFile, HttpContext context) +164 ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Issue with ConfigurationSettings.AppSettings
    ... to our NEW Windows 2003 Web Edition server, ... virtualPath, String inputFile, HttpContext context) +164 ...
    (microsoft.public.dotnet.framework.aspnet)