Word was unable to read this document. It may be corrupt.Try one or more of the following:* ..

Posted by Vuyiswamb under C# on 6/23/2015 | Points: 10 | Views : 1999 | Status : [Member] [MVP] [Administrator] | Replies : 0
Good Day All

i have a Windows Service written in .NET 4.5 and it is hosted on a Server where there is Office with the Version Microsoft Word 2013 15.0.4420.1017 Microsoft Office Professional Plus 2013

and my Windows Service does a Mail Merge and create Documents on fly.

On my Development machine its working nicely i have Office
Microsoft Word 2013 15.0.4719.1000
Microsoft Office Professional Plus 2013

i have given all the Permissions to the LocaLService user, the Document is not Corrupt , i can open it with no Problem and all the contents are in good shape.

So on the Server i get this Error on my logs

Word was unable to read this document. It may be corrupt.
Try one or more of the following:
* Open and Repair the file.
* Open the file with the Text Recovery converter.


and LocalService is also Part of the Administrator Group for some desperacy reason to resolve this issue.

The File Path of the Document and the Extension is Correct

C:\LetterGenerator\Section78Notice.docx


Thanks

Thank you for posting at Dotnetfunda
[Administrator]



Responses

(No response found.)

Login to post response