am stuck in very strange issue. What i am doing is opening a file through Miscrosft Office DLL
Microsoft.Office.Interop.Word.Application appWord = new Microsoft.Office.Interop.Word.Application();
wordDocument = appWord.Documents.Open("C:\\aa.docx");
enery thing is working fine till i run my application from visual studio, but when i run it through IIS thne wordDocument comming null.
i think it is rights issue but dont know whet to doo. My web site app pool identity is "LocalSystem"
Usually there are two issues:
There is another big thing you should consider: Word interop IS NOT RECOMMENDED on an IIS process. See this Microsoft document.