Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RE: long time to update directory cache

135 views
Skip to first unread message

Umesh V.G(MSFT)

unread,
Sep 3, 2004, 11:03:40 PM9/3/04
to
Hi Eric,

One of the possible reasons could be that the system is trying to update
the registry every time.

1. Close Visio if it is running
2. Please disable any antivirus running on the system
3. From the Start > Run
- Enter Visio.exe /r and click on Ok
4. This will repair the installation and update the registry settings and
clear many a problem in the installation
5. After this completes, you may just see the grey screen with no
completion messages, It is safe to work on the drawings or you may even
prefer to close visio and launch it again
6. Now you can then re-enable the Anti-Virus program if any

Hope this helps,

Thanks and regards,

Umesh V.G
Microsoft Visio Technical Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Eric Howard

unread,
Sep 15, 2004, 10:41:04 AM9/15/04
to
I have seen this method suggested for other users on this usegroup.

I have tried it.

It doesn't fix the problem.

Has anyone else had their problem fixed by this method? There sure are a
lot of posts regarding this issue. Seems like a bug...

Richard Price

unread,
Sep 16, 2004, 1:17:26 PM9/16/04
to
Eric,

Visio displays the 'updating directory cache' message if it can't find
the file Visio.bin when it starts up, in which case it seems to need a
long time to recreate the information and this file. So the problem
arises if the file is for some reason lost between one session and the
next.

The file is stored under a Local Settings folder, in your profile (if
applicable) - the exact path will depend on your operating system. You
should be able to find it once Visio is running, and then you may be
able to work out why it keeps disappearing.

In my case, running Windows XP on a corporate network, Visio.bin lives
in the folder C:\Documents and Settings\<username>\Local
Settings\Application Data\Visio (or something very like that - I'm not
at that PC right now). The problem is that by default XP does not copy
anything under Local Settings into the roaming profile when you log off,
so there is nothing to copy back when you log on, so the file gets lost.
This is quite consistent with the purpose of Local Settings, which is
for discardable, local-only user data files. In my view Visio is clearly
at fault, because it shouldn't be using this location for something that
has to persist - it should use C:\Documents and
Settings\<username>\Application Data\Visio instead. To make matters
worse, and to answer your second question about a setting or option: the
location of this file is not configurable in Visio.

If the above happens to describe your situation, please post back and I
will dig out the fix which I eventually got out of Microsoft support -
basically it involves a registry hack to tell XP to 'roam' the Local
Settings folder after all, which defeats its original purpose but does
keep Visio happy.

Richard Price

"Eric Howard" <Eric How...@discussions.microsoft.com> wrote in message
news:2922055A-6C86-4954...@microsoft.com...
> When I run Visio 2002, I get a dialog screen stating that Visio is
updating
> its directory cache. This (for some reason) takes about 3 minutes -
every
> time I run the program. Is there anyway to decrease the time? Is
some
> setting/option "off"?

Rob Thomas

unread,
Sep 22, 2004, 7:08:07 AM9/22/04
to
Hi Richard,
I'd like that reg fix if you have it as this problem is driving me mad
especially when importing visio files into word!! Although I did a quick
search on my hard drive and couldn't find a visio.bin file, I'm using
Visio 2002 if that makes any difference.
If this doesn't work then I have once last option which I saw in the visio
trouble shooting. This involves reinstalling Visio under the profile you
are using it under. Not sure if that will make any difference as I didn't
install it under a different profile in the first place. The only thing I
can think here is that I'm using the default Administrator account which
has been renamed to my user ID. I suppose that could be confusing Visio?
Cheers
Rob

On Thu, 16 Sep 2004 18:17:26 +0100, Richard Price <rjpr...@yahoo.co.uk>
wrote:

--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

Richard Price

unread,
Sep 22, 2004, 4:07:24 PM9/22/04
to
Rob,

This is the advice I received from Microsoft support:

<<To resolve this issue Visio must store information locally. Remove the
Local Settings value from the following registry location:

HKEY_CURRENT_USER\software\Microsoft\Windows NT\Current
version\winlogon\ExcludeProfileDirs

or

Enable the "Exclude directories in roaming profiles" policy, but remove
the Local settings folder from the list of folders that do not roam with
the user. This policy is available under:

User Configuration\Administrative Templates\System\Logon/logoff
>>

The first method (editing the registry) worked for me, so I didn't
investigate the second one. If you can't find Visio.bin at all your
problem may be more fundamental. For example, perhaps you don't have the
rights to create files in the appropriate folder at all. In my case
(Visio 2002, Win XP) that's C:\Documents and Settings\<username>\Local
Settings\Application Data\Microsoft\Visio (I missed out the 'Microsoft'
in my earlier post!). Whether that has something to do with your using
the default Administrator account I can't say, but perhaps reinstalling
could help.

Richard Price

"Rob Thomas" <wels...@gmail.com> wrote in message
news:opsep6jt...@ibm-zylgb009553.ibm.com...


Hi Richard,
I'd like that reg fix if you have it as this problem is driving me mad
especially when importing visio files into word!! Although I did a quick
search on my hard drive and couldn't find a visio.bin file, I'm using
Visio 2002 if that makes any difference.
If this doesn't work then I have once last option which I saw in the
visio
trouble shooting. This involves reinstalling Visio under the profile you
are using it under. Not sure if that will make any difference as I
didn't
install it under a different profile in the first place. The only thing
I
can think here is that I'm using the default Administrator account which
has been renamed to my user ID. I suppose that could be confusing Visio?
Cheers
Rob

On Thu, 16 Sep 2004 18:17:26 +0100, Richard Price
<rjpr...@yahoo.co.uk>
wrote:

> Visio displays the 'updating directory cache' message if it can't find
> the file Visio.bin...


>
> The file is stored under a Local Settings folder, in your profile (if
> applicable) - the exact path will depend on your operating system. You
> should be able to find it once Visio is running, and then you may be

> able to work out why it keeps disappearing...


>
> The problem is that by default XP does not copy
> anything under Local Settings into the roaming profile when you log
off,
> so there is nothing to copy back when you log on, so the file gets

lost...

Rob Thomas

unread,
Sep 25, 2004, 9:47:40 AM9/25/04
to
Thanks Richard,
It didn't work unfortunately so I uninstalled Visio created a new user
with admin rights and reinstalled it under that account. It then worked
under both that account and the one I normally use without the dreaded
directory cache problem. Not sure if just reinstalling it under the
original account would have worked as I had only tried the repair option.
However I still don't seem to have a visio.bin file anywhere which is odd
but it works so I'm not complaining.
Cheers
Rob

On Wed, 22 Sep 2004 21:07:24 +0100, Richard Price <rjpr...@yahoo.co.uk>
wrote:

--

0 new messages