troubleshooting Question

Error Message:Invalid file name for monitoring:

Avatar of dplsr
dplsrFlag for Afghanistan asked on
Windows Server 2003Visual Basic.NETServer Hardware
5 Comments1 Solution835 ViewsLast Modified:
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:
Error Message:Invalid file name for monitoring: 'D:\WWWRoot\\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)
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros