I have a Windows Form Application that creates a Word document and then saves it to a PDF. The application works fine on three workstations. On two workstations, we get the an error at the point the document is saved.
Microsoft.Office.Interop.Word.DocumentClass.SaveAs(Object FileName, Object FileFormat, Object LockComments, Object Password, Object AddToRecentFiles, Object WritePassword, Object ReadOnlyRecommended, Object EmbedTrueTypeFonts, Object SaveNativePictureFormat, Object SaveFormsData, Object SaveAsAOCELetter, Object Encoding, Object InsertLineBreaks, Object AllowSubstitutions, Object LineEnding, Object AddBiDiMarks)
We have confirmed that all the workstations have Microsoft Office 2007 Primary Interop Assemblies and Visual Studio 2010 Tools for Office Runtime installed.
I have tried to compare all the workstations to figure out if there is a missing installation or setting, but have had no success.
Any and all help is greatly appreciated.
Microsoft.Office.Interop.Word.DocumentClass.SaveAs(Object FileName, Object FileFormat, Object LockComments, Object Password, Object AddToRecentFiles, Object WritePassword, Object ReadOnlyRecommended, Object EmbedTrueTypeFonts, Object SaveNativePictureFormat, Object SaveFormsData, Object SaveAsAOCELetter, Object Encoding, Object InsertLineBreaks, Object AllowSubstitutions, Object LineEnding, Object AddBiDiMarks)
We have confirmed that all the workstations have Microsoft Office 2007 Primary Interop Assemblies and Visual Studio 2010 Tools for Office Runtime installed.
I have tried to compare all the workstations to figure out if there is a missing installation or setting, but have had no success.
Any and all help is greatly appreciated.