Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6928063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:08:07+00:00 2026-05-27T11:08:07+00:00

When I start my ASP.Net 4.0 web app in debug mode, I’m getting the

  • 0

When I start my ASP.Net 4.0 web app in debug mode, I’m getting the following exception:

System.Web.HttpException occurred
  Message=Invalid file name for file monitoring: 'C:\src\main-232\src\ZNode\Znode_MultiFront\Web\Controls\Cat5\Navigation'. Common reasons for failure include:
- The filename is not a valid Win32 file name.
- The filename is not an absolute path.
- The filename contains wildcard characters.
- The file specified is a directory.
- Access denied.
  Source=System.Web
  ErrorCode=-2147024809
  WebEventCode=0
  StackTrace:
       at System.Web.DirectoryMonitor.AddFileMonitor(String file)
  InnerException: 

The thing is, the file this is pointing to IS a directory, so why does Visual Studio 2010 think it’s a file? I’m running this on IIS 7 on my local machine

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:08:07+00:00Added an answer on May 27, 2026 at 11:08 am

    The good news: it doesn’t seem to have any knock-on effects

    The bad news: I haven’t figured out the cause or a solution

    The workaround: Disable break-on-exception for HttpException (Debug->Exception), and filter these out in your logs. You can still capture other HttpException in debug mode by placing a breakpoint in Application_Error (if you have implmented it – but you should have anyway)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I start running my asp.net WebForms app from the VS2008 IDE in debug
We have an asp.net 3.5 web app that we must start load testing with
I'm trying to debug something in the global.asax.cs file in an ASP.NET web app
I'm about to start writing a web app (Asp.Net/IIS7) which will be accessible over
I'm trying to start a new ASP.NET Web Application Project using Visual Studio 2008.
We have an ASP.Net MVC project that will start with a single web server
I am just about to launch my ASP.NET MVC3 web app to production, however,
I am writing a web app with asp.net, c# and jquery. Most of the
I'm more of a asp.net web app dev, I came across my first side
I'm making an ASP.NET web forms web app. I've just started with the client

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.