locked
Excel Automation on Server 2008 (IIS7) ? RRS feed

  • Question

  • Im getting the a Com Exception when trying to OPEN a workbook: HRESULT: 0x800A03EC

    xlBook = xlApp.Workbooks.Open("c:\\book1.xls", Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,Type.Missing, Type.Missing, Type.Missing, Type.Missing,Type.Missing, Type.Missing);

    But more importantly in the Application Event Log has the following entry:

    Product: Microsoft Office Professional Edition 2003 -- Error 1719. The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.

    Source: MsiIntaller

    EventID: 11719


    User: NETWORK SERVICE

    Well to me this would happen when the following line of code is executed:

    xlApp = new Excel.ApplicationClass();

    Why is this happening? How can it be fixed? To me it seems like NETWORK SERVICE does not have the right amount of privliages to perform Excel Automation. I've googled and googled an I cant seem to find any help around this issue and HRESULT: 0x800A03EC seem to be a generic error code.

    • Moved by Figo Fei Wednesday, June 18, 2008 3:37 AM off topic for netfx setup
    Monday, June 16, 2008 6:43 AM

Answers

All replies