We help IT Professionals succeed at work.

Error Message:Invalid file name for monitoring:

Last Modified: 2008-02-01
Can anyone tell me what is causing this error:Error Message:Invalid file name for monitoring
There are no erroers in the server log, and the link works fine. I have global.asa set to email me error .
Does "ResumeSteps(Exception error)" at the bottom mean that the server is trying again?
messages. Here is the total message:
Error Caught in Application_Error event
Error in: http://www.plumbingandlightingfixtures.com/ProductDetails~productsku~WI250138.aspx
Error Message:Invalid file name for monitoring: 'D:\WWWRoot\plumbingandlightingfixtures.com\www\ProductDetails~productsku~WI250138.aspx'. File names for monitoring must have absolute paths, and no wildcards.
Stack Trace:   at System.Web.DirectoryMonitor.AddFileMonitor(String file)
   at System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler callback, String alias)
   at System.Web.FileChangesMonitor.StartMonitoringPath(String alias, FileChangeEventHandler callback)
   at System.Web.Caching.CacheDependency.Init(Boolean isPublic, Boolean isSensitive, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart)
   at System.Web.Caching.CacheDependency..ctor(Boolean isSensitive, String[] filenames, DateTime utcStart)
   at System.Web.Configuration.HttpConfigurationSystem.GetCacheDependencies(Hashtable cachedeps, DateTime utcStart)
   at System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String reqPath, IHttpMapPath configmap)
   at System.Web.HttpContext.GetCompleteConfigRecord(String reqpath, IHttpMapPath configmap)
   at System.Web.HttpContext.GetCompleteConfig()
   at System.Web.HttpContext.GetConfig(String name)
   at System.Web.ImpersonationData.Init(Boolean appLevel, Boolean throwOnError)
   at System.Web.ImpersonationData.GetImpersonationToken(Boolean forGlobalCode, Boolean throwOnError)
   at System.Web.ImpersonationData.Start(Boolean forGlobalCode, Boolean throwOnError, Boolean fromAnotherThread)
   at System.Web.HttpApplication.OnThreadEnter()
   at System.Web.HttpApplication.ResumeSteps(Exception error)
Watch Question

Top Expert 2007
This one is on us!
(Get your first solution completely free - no credit card required)
Tilde characters are definitely okay in Windows and internet space... but I'll bet that's where it's not liking it.
Brett DanneyIT Architect

Should that not be 'D:\INETPUB\WWWRoot\plumbingandlightingfixtures.com


I use ~ for search engine optimzation. Search engine done like ? & =. I use ISAPI_Rewrite to change the ~ back to ? = &
Top Expert 2007

Glad I  could help !

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.