Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6874141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:09:27+00:00 2026-05-27T04:09:27+00:00

Crystal clear : Step 1 Create a webrole with a few websites with a

  • 0

Crystal clear :

Step 1

  • Create a webrole with a few websites with a default.aspx file and a plain regular <%@ OutputCache Duration=”3600″ VaryByParam=”*” %>, in the webconfig use the appfabric cache provider for outputcache and link to your cache subscription in azure with provided code

  • Use only one instance of the webrole, lauch the page, it chaches it, reload few times, it works solid

Step 2

  • Now increase to 2 or more instances of this WebRole

  • Here is my problem, reload your default.aspx page on client, now depending of the Webrole the loadbalancer will direct your request, you might get a System.Web.Caching.CacheDependency error upon the fact that the default.aspx cached in distributed cache seems to be based on a file monitoring dependancy, a hard path of the default.aspx page like “E:\sitesroot\2\”. But you may have (and you do) “F:\sitesroot\2\” on the other instances of the Webrole.

So it fires an error :

System.Web.HttpException (0x80070003): Directory ‘E:\sitesroot\2’ 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, FileAttributesData& fad)
  at System.Web.Caching.CacheDependency.Init(Boolean isPublic, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart)
  at System.Web.Caching.CacheDependency..ctor(Int32 dummy, String[] filenames)
  at System.Web.Caching.OutputCache.HasDependencyChanged(Boolean isFragment, String depKey, String[] fileDeps, String kernelKey, String oceKey, String providerName)
  at System.Web.Caching.OutputCache.Get(String key)
  at System.Web.Caching.OutputCacheModule.OnEnter(Object source, EventArgs eventArgs)
  at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I’m struggling with this errors since one week, i don’t get it, if anyone knows a way for implementing distributed outputcache over multiple instances of webroles please share your solution.

EDIT

I ended dropping completely asp.net outputcache provider for appfabric and writing a custom cache with appfabric. Works great, few line of codes and cachedependancy on azure made easy.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T04:09:28+00:00Added an answer on May 27, 2026 at 4:09 am

    I ended dropping completely asp.net outputcache provider for appfabric and writing a custom cache with appfabric. Works great, few line of codes and cachedependancy on azure made easy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, the question might not be crystal clear. Let me give some details: Let's
In Crystal reports, you can define default values for the report parameters. For example,
I have a crystal report file I need make a tiny edit in. It
I am downloading a Pdf file created by crystal report and I download as
The example treegrid implementation isn't exactly crystal clear. I've got a grid like: ID
I think my question title is already crystal clear. I am invoking Process.Start() method
I've read Apple's Your first iOS application guide and everything there seems crystal clear
Crystal Reports in Visual Studio 2008 with C# Normally Data from single column comes
In crystal reports, how do you remove leading zeroes? I realize for the number
Using Crystal Report 8.5 How to skip blank pages? I want to skip blank

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.