#12 Crashes readin/writing to protected memory

open
nobody
None
5
2011-11-09
2011-11-09
No

When trying to compile a word document it gives me the following error:
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

The Word document is very simple, I have attached it. It has been created with MS Word 2002 (10.6866.6870) SP3 English.

details of the error message:
Stack trace:
at Microsoft.Office.Interop.Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles, Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument, Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& Visible, Object& OpenAndRepair, Object& DocumentDirection, Object& NoEncodingDialog, Object& XMLTransform)

at ChmProcessorLib.MSWord.SaveWord(String wordFileSrc, String htmlFileDst, Object format)

at ChmProcessorLib.MSWord.SaveWordToHtml(String wordFileSrc, String htmlFileDst)

at ChmProcessorLib.DocumentProcessor.ConvertWordSourceFiles(MSWord msWord)

at ChmProcessorLib.DocumentProcessor.OpenSourceFiles()

at ChmProcessorLib.DocumentProcessor.Generate()

at ChmProcessorLib.DocumentProcessor.GenerateHelp()

at ChmProcessor.GenerationDialog.bgWorker_DoWork(Object sender, DoWorkEventArgs e)

Class:
System.AccessViolationException

Data:
System.Collections.ListDictionaryInternal

Source:
Microsoft.Office.Interop.Word

Target site:
Microsoft.Office.Interop.Word.Document Open(System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef, System.Object ByRef)

Discussion

  • Thomas Mueller

    Thomas Mueller - 2011-11-09

    the word document I tried to convert

     
    Attachments
  • Antonio Fco. Bennasar Obrador

    Hello. I have tested the test.doc file and worked for me, with office 2003.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks