This might help you So there are a few things to remember when dealing with COM API that instantiates an application (such as the office COM) when working with HPC. You seem to have already covered permissions when run locally; however when running under the guise of a service it gets a bit trickier. HPC mocks IIS as it hosts your service; and as such has to be treated similarly; in IIS when you need to run one of these applications through a WCF Service you usually specify allowing the AppPool's identity to launch a profile which will give the application profile directories to access to perform actions. You also have to ensure that any settings you make to your app pools to run these services without HPC are also reflected within the Service Config file you place in the Service Registration directory for HPC.
Does that help Use the standard "Open" command. Then go to "Text Import Wizard" and choose that the original data type was delimited. You may need to go to a different step of the Wizard to specify that the delimiter is a space, but the Wizard does include the option of specifying what character the delimiter is.
Exception HResult 0x800a03ec when trying to open Excel with Microsoft.Office.Interop.Excel.Workbooks.Open()
Does that help Before trying this solution be sure that you read the "Things I've done" paragraph from the question (and tried what applies to you) The Exception was thrown upon opening the Document; on the machine which generated the Excels, the files were generated invalid.
Is it possible open excel csv file directly into microsoft excel or other excel supported application via PHP code
help you fix your problem No it is not possible using PHP. Either you set it on the Firefox Browser or Google Chrome download action. Here is the intruction on how you can do it on the Firefox browser and here is the one for chrome.
microsoft office interop excel open file without saving