Hello,
I have configured around 2000+ virtual directories under Default Web
Site. I have exported individual virtual directories using iiscnfg.vbs
script. I have a cron job which periodically picks up the exported
metabase configuration and imports it back using iiscnfg.vbs.
Sometimes, the import command fails with the error "The path specified
cannot be used at this time". The output of the script is attached
below. The indexing service is disabled on the server and I don't have
any antivirus software on the system that may lock metabase.
C:\WINDOWS\system32>cscript iiscnfg.vbs /import /f
c:\metaexport\foo.xml /sp /LM/W3SVC/1/ROOT/foo /dp /LM/W3SVC/1/ROOT/foo
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Connecting to server ...Done.
Error while importing configuration.
The path specified cannot be used at this time.
I have following questions
1. Under what other circumstances, this issue may surface
2. Are there any tools to diagnose who is locking the metabase
3. Are there any settings to increase the timeout before it bail out
with locking issue.
Thanks.
-Prasad