Caching Block causing Excel add-in to hang

Topics: Caching Application Block , Enterprise Library Core, General discussion
May 19, 2008 at 8:16 PM

PROBLEM DESCRIPTION
=================

WE have designed an Excel add-in application which works with Dataserve server. The application uses enterprise library block [“Caching Block”]. When we integrated “Caching Block” into our project, you noticed that the application hangs for 15 secs. And when we try to debug it, we see a problem within changewatcher.cs, poller function where it reads the configuration information and hangs on the call to Thread.Sleep(15000)...
Can you help us with our problem?

Btw, plugin works fine when caching block is not used.

May 20, 2008 at 2:40 PM
This looks like an issue with thread management in Excel Add-ins. Could you provide a repro add-in project showing this issue?
This post on Threading Support in Office seems to describe the situation.

Fernando


tjb77494 wrote:

PROBLEM DESCRIPTION
=================

WE have designed an Excel add-in application which works with Dataserve server. The application uses enterprise library block [“Caching Block”]. When we integrated “Caching Block” into our project, you noticed that the application hangs for 15 secs. And when we try to debug it, we see a problem within changewatcher.cs, poller function where it reads the configuration information and hangs on the call to Thread.Sleep(15000)...
Can you help us with our problem?

Btw, plugin works fine when caching block is not used.