Results 1 to 8 of 8
  1. #1
    Star Lounger
    Join Date
    Jan 2001
    Location
    Andover, MA USA
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Repeated Word crashes; virus-like but no viruses (Word 2000 SR-1)

    We are baffled by a rash of Word crashes, the symptoms of which seem virus-like, though neither Norton AV nor McAfee detects a virus.

    The symptoms first occurred on one laptop, then spread to a second, a third and a fourth (three running Windows 2000; on with NT 4.0). The primary symptom is that Word crashes and disappears with the dialog shown in the attached file. Dr. Watson does trap the error and I have dozens of error logs from three of the machines.

    In trying to isolate the problem, we've removed all .dot files, reloaded Office several times and have finally concluded that the problem resides in specific documents that appear to be infected. The problem moves with the document, i.e., if I copy the bad doc to a new machine and open it with Word, Word will crash within seconds. We are unable to determine how the "infection" occurred or how to get rid of it. Our only recourse is to revert to a previously saved version of the document.

    Any suggestions warmly received!
    Attached Files Attached Files

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Repeated Word crashes; virus-like but no viruses (Word 2000 SR-1)

    Do the templates from which these documents originate (or the documents themselves) have any code? Specifically, code that creates toolbars?
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  3. #3
    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: Repeated Word crashes; virus-like but no viruses (Word 2000 SR-1)

    Does it matter whether you open the problem document in normal mode or print layout? If so, there is some kind of corruption that Word is tripping over during pagination or the display of drawing layer objects. If it bombs either way, you might suspect corruption in an embedded object or somewhere else. This might not be fixable.

    What happens if you run this macro? The theory is to try to open the document without Word having to format it for display or paginate it.
    <pre>Sub CopyAndPasteFromHidden()
    If MsgBox("Use the next dialog to tell me the path to the corrupted doc", _
    vbInformation + vbOKCancel) = vbCancel Then Exit Sub

    Dim strFileName As String, doc1 As Document, doc2 As Document
    With Dialogs(wdDialogFileOpen)
    If .Display = -1 Then
    strFileName = .Name
    Else
    Exit Sub
    End If
    End With

    Set doc1 = Documents.Open(FileName:=strFileName, Visible:=False)
    Set doc2 = Documents.Add(Visible:=False)

    doc1.Content.Copy
    doc2.Content.Paste

    doc1.Close
    Set doc1 = Nothing

    MsgBox "Corrupted doc closed. About to display new document containing copied content."
    doc2.Activate
    ActiveWindow.Visible = True

    Set doc2 = Nothing
    End Sub</pre>

    Probably not related, but I recently had to delete an AutoRecover file because it kept crashing Word at startup. You might want to check for any of those that were created as part of this problem.

  4. #4
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Repeated Word crashes; virus-like but no viruses (Word 2000 SR-1)

    Might not be a virus.
    Document, like certain Olympics judges, could have gotten corrupted.

  5. #5
    Star Lounger
    Join Date
    Jan 2001
    Location
    Andover, MA USA
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Repeated Word crashes; virus-like but no virus

    One of the machines has an Adobe marco that creates a WritePDF toolbar. The others do not. What are the issues around toolbars that I should watch for?

  6. #6
    Star Lounger
    Join Date
    Jan 2001
    Location
    Andover, MA USA
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Repeated Word crashes; virus-like but no virus

    Thanks for the code. We'll give it a try.

    I just realized that this may not be format related, however. One of the things we tried was a doc compare between an older good version of an infected document and the infected document. In this situation, the infected document was never displayed, but was just opened in the background for compare purposes. Word still crashed almost immediately after starting the compare.

  7. #7
    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: Repeated Word crashes; virus-like but no virus

    Could there be a bad template, or are these documents just based on Normal.dot? (You should be able to see the template name in the properties dialog if you right-click the doc in Windows Explorer.)

  8. #8
    5 Star Lounger
    Join Date
    Dec 2000
    Location
    Tallahassee, Florida, USA
    Posts
    901
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Repeated Word crashes; virus-like but no virus

    First, set your macro security to medium. If there's any code associated with the file you will get a prompt.. don't enable the macros. This way if it's a macro virus or simply corrupt VBA coding, you should be able to get the formatted document which you could then save as and create a new file from clean of VBA.

    If that doesn't work, you may want to open the document using "Recover all text" under file type. The file should open in flat mode without much formatting. At the bottom of the document will be a great deal of metadata and possible clues to the corruption. If at this point you have large chunks of unrecognizable text, your file is corrupt -- possibly to the point of being irreparable.

    If you can see all the text, you can copy and important using Edit / Paste Special / Unformatted text paste into a clean document. You may have a chore to reformat, but at least you will have the text intact.

    Good luck!
    Karen

Posting Permissions

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