Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2006

Tip: Looking for answers? Try searching our database.

Intermittently problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
niju - 14 Feb 2006 23:55 GMT
Hi there
I get the following error message one or two a day.

System.Web.HttpException: Exception of type System.Web.HttpException
was thrown. ---> System.IO.FileNotFoundException:

C:\WWW.NET\Booking\booking.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)
  --- End of inner exception stack trace ---
  at System.Web.HttpApplication.MapHttpHandler(HttpContext context,
String requestType, String path, String pathTranslated, Boolean
useAppConfig)
at
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously).

Here is my problem.
I don't have the "booking.aspx" page in my application, it is not
called from any pages in the application. However i get
"System.IO.FileNotFoundException" every now and then.What is causing
this problem and how can i resolve this issue.

Many Thanks
Niju
Darren Kopp - 15 Feb 2006 04:07 GMT
There is a link that is pointed to booking.aspx most likely.  Someone
is requesting booking.aspx, which is throwing the exception.  Times
when i have had this error happen a lot is a link to a page that does
not exist yet, and there are search engine bots spidering the pages,
throwing the exceptions.

To solve it, search through your project for booking.aspx (may take a
while) and take care of the link.  If it's someone typing that in, then
kill that person (just kidding, but they will need to stop).  However
you are handling your errors, try logging the ReferringUrl or IP
address to track down the culprit.

HTH,
Darren Kopp
http://blog.secudocs.com/

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.