Link to home
Start Free TrialLog in
Avatar of dplsr
dplsrFlag for Afghanistan

asked on

Error Message:Invalid file name for monitoring:

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)
ASKER CERTIFIED SOLUTION
Avatar of SysExpert
SysExpert
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Tilde characters are definitely okay in Windows and internet space... but I'll bet that's where it's not liking it.
'D:\WWWRoot\plumbingandlightingfixtures.com.....'
Should that not be 'D:\INETPUB\WWWRoot\plumbingandlightingfixtures.com
Avatar of dplsr

ASKER

I use ~ for search engine optimzation. Search engine done like ? & =. I use ISAPI_Rewrite to change the ~ back to ? = &
Glad I  could help !