When I try to open a Word file using Interop it will be applied to the System.Runtime.InteropServices.COMException error (0x800A13E9): Word has encountered a problem.
code:
Word.Application app = new Word.Application();
app.Visible = true;
var doc = app.Documents.Open(@"C:\Temp\test.docx");
//..... do something
doc.Close(false);
app.Quit();
The fall is on the "app.Documents.Open()" function. I tried to add Desktop Folder in "C:\Windows\SysWOW64\config\systemprofile" , update in registery and in Component Services but it does not help. The same code works on win7 computer but does not work on win10. And when I try to open Excel file via interop it is opened correctly with the same settings.
I would be happy to help, thank you