Issue with ASP.NET - Failed to Start Monitoring File Changes



Hello Guys,

I have an application that is installed on three different data centers
across the world (exactly the same environment and installed files for each

I got some errors from just one data center and this is not making sense to

Exception: System.Web.HttpException: Failed to create page of type
'_ASP.requestunregistereditems_aspx'. --->
System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.TypeInitializationException: The type
initializer for
"Recall.Request.Presentations.IE4Plus.requestunregistereditems" threw an
exception. ---> System.Web.HttpException: Directory
'c:\inetpub\wwwroot\ReCall\presentations\ie4plus\bin' does not exist. Failed
to start monitoring file changes.
at System.Web.FileChangesMonitor.FindDirectoryMonitor(String dir, Boolean
addIfNotFound, Boolean throwOnError)
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(String[] filenames)
at Microsoft.Toolkits.EnterpriseLocalization.Settings.get_CurrentManager()
at Recall.Request.Common.Localise.GetString(CultureInfo cultureInfo, String
key, String nonLocalisedEnglish)
at Recall.Request.Presentations.IE4Plus.requestunregistereditems..cctor()
Exception has been thrown by the target of an invocation.
The type initializer for
"Recall.Request.Presentations.IE4Plus.requestunregistereditems" threw an

The directory 'c:\inetpub\wwwroot\ReCall\presentations\ie4plus\bin' isn't
created in any data center and the application works fine without it (on two
data centers and on the development/test environment).

Just for testing purposes, this folder was created and the application has
started to work. After the application was working the directory was deleted
and the application remains working fine.

What I don't understand: why this folder is necessary as my virtual
directory is created at the directory 'c:\inetpub\wwwroot\ReCall' and the bin
directory is under the virtual directory root, with all my DLLs there.

Any ideas?



Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question