Opening Excel workbook from ASP.NET WCF Web Service HRESULT: 0x800

Discussion in 'ASP .Net Web Services' started by faffo1980, Sep 23, 2009.

  1. faffo1980

    faffo1980 Guest

    Hi all,
    I'm trying to develop a C# WCF Web Service method to open and manipulate an
    excel file programmatically.
    I was getting error "Retrieving the COM class factory for component with
    CLSID {A1093992-8BEB-4307-943B-3FF7023AD1E2} failed due to the following
    error: 80070005" while accessing application so I changed DCOM permissions.

    Unfortunately now I'm getting error "Exception da HRESULT: 0x800A03EC" while
    opening workbook. The problem occurs only when service in deployed on IIS
    server. In debug mode (with WCF host) the problem is not present.

    Could anyone help me finding out where is the error?

    Thanks in advance for the help

    faffo1980
     
    faffo1980, Sep 23, 2009
    #1
    1. Advertising

  2. I have this exact same scenario - Did you find a solution?

    Thanks
    John Goodstadt

    "faffo1980" wrote:

    > Hi all,
    > I'm trying to develop a C# WCF Web Service method to open and manipulate an
    > excel file programmatically.
    > I was getting error "Retrieving the COM class factory for component with
    > CLSID {A1093992-8BEB-4307-943B-3FF7023AD1E2} failed due to the following
    > error: 80070005" while accessing application so I changed DCOM permissions.
    >
    > Unfortunately now I'm getting error "Exception da HRESULT: 0x800A03EC" while
    > opening workbook. The problem occurs only when service in deployed on IIS
    > server. In debug mode (with WCF host) the problem is not present.
    >
    > Could anyone help me finding out where is the error?
    >
    > Thanks in advance for the help
    >
    > faffo1980
     
    John Goodstadt, Dec 4, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SmltIEhlYXZleQ==?=

    Excel _WorkBook vs. Excel.Workbook

    =?Utf-8?B?SmltIEhlYXZleQ==?=, Sep 29, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    3,664
    Steve C. Orr [MVP, MCSD]
    Sep 29, 2004
  2. Simon
    Replies:
    0
    Views:
    1,043
    Simon
    Oct 13, 2009
  3. Cindy Lee
    Replies:
    1
    Views:
    2,192
    Mr. Arnold
    Mar 19, 2010
  4. fniles
    Replies:
    0
    Views:
    282
    fniles
    Apr 26, 2009
  5. faffo1980
    Replies:
    1
    Views:
    1,373
    Bob Barrows
    Sep 23, 2009
Loading...

Share This Page