Results 1 to 5 of 5
  1. #1
    New Lounger
    Join Date
    Jun 2002
    Location
    Portland, Maine
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Slow File Open Looking for Template (97 / SR-2)

    We recently moved our files and templates to a new document server (with a different name). At first we did not turn off the original server just in case we needed something at the last minute. We have attempted to shutdown this old server, only to find that a number of users have started to have problems opening documents (real slow). What we see is that some of the documents look for the template (with the UNC to the old server). If we turn the old server back on, all is fine. Is there anyway to break the connection between the documents and the template it was created with?

    Thanks,

    Wayne Lyle

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Slow File Open Looking for Template (97 / SR-2)

    You can inspect and modify the template by selecting Tools/Templates and Add-ins...

    You can replace the name in the Document Template box by Normal. This is the simplest way, but you will lose macros, customized tool bars etc.
    You can also replace the old UNC path by the new one. More work, but you keep the macros etc. If you copy the new server UMC path to the clipboard, you can do this reasonably fast for a series of documents.

    If you have a lot of documents, you could write a macro to do it for you:

    Use the Dir function to loop through all word documents in a folder.
    Open each document in turn.
    Check if the old UNC path is in ActiveDocument.AttachedTemplate.
    If so, replace it by the new UNC path.
    Close and save the document.

  3. #3
    New Lounger
    Join Date
    Jun 2002
    Location
    Portland, Maine
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow File Open Looking for Template (97 / SR-2)

    This must happen all of the time when people email documents out. Our we causing the problem by having shut down the server but still having a reference to it in WINS. Would this shake out when the WINS database stops saying that there is a FILE Server here by that name?

    Thanks,

    Wayne Lyle

  4. #4
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    New York
    Posts
    214
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Slow File Open Looking for Template (97 / SR-2)

    The previous template location is stored within the documents and so the problem won't go away when the WINS database stops reporting there is file server. It may be that the load time will shorten -- since the failure to find the template where the document thinks it is will happen quicker.

    But that won't solve your main problem, which is how to get the correct template location into the document.

    I wrote a Startup application for my users called CheckTemplate. See attachment.

    Basically, it looks at the expected template every time you change documents and if the expected isn't there, it prompts you to attach the correcct template. But it in Startup for each of your users.
    Attached Files Attached Files

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Slow File Open Looking for Template (97 / SR-2)

    If you are on a TCP/IP network, try adding a lmhosts file entry declaring that the old server is now the new. For example, if the IP address of your new server is 192.168.0.101, you could do this:

    192.168.0.101 OLDSERVERNAME #PRE #preempt default name resolution

    (More info on syntax can be found in c:WINDOWSLMHOSTS.SAM on Windows 9x machines and C:WINNTSYSTEM32DRIVERSETCLMHOSTS.SAM on Windows 2000.)

    Word should use this cached value rather than otehr name resolution methods, and when it fails to find the designated share, it should default to Normal.dot. If you want the template to load as originally intended, you can create a corresponding share on the new server to guide Word. This won't help people make the transition to the new server name, but it should resolve the "no server found" issue.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •