By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,225 Members | 2,187 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,225 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
one).

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

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.requestunreg istereditems" threw an
exception. ---System.Web.HttpException: Directory
'c:\inetpub\wwwroot\ReCall\presentations\ie4plus\b in' 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(CultureIn fo cultureInfo, String
key, String nonLocalisedEnglish)
at Recall.Request.Presentations.IE4Plus.requestunregi stereditems..cctor()
-----------------------------------
Exception has been thrown by the target of an invocation.
-----------------------------------
The type initializer for
"Recall.Request.Presentations.IE4Plus.requestunreg istereditems" threw an
exception.
-----------------------------------

The directory 'c:\inetpub\wwwroot\ReCall\presentations\ie4plus\b in' 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?

Thanks

Apr 26 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.