Urgent - Issues with using Office 2003 PIA on Windows Server 2008

Discussion in 'ASP .Net' started by dinoo, Jul 9, 2009.

  1. dinoo

    dinoo Guest

    I would appreciate immediate help on this.

    We are using a functionality to read and write Excel files using Office
    Automation using PIA assemblies for MS Office 2003. We have office 2003
    installed on Windows Server 2008.
    While trying to run the application we are getting following error -
    System.Runtime.InteropServices.COMException
    ErrorCode: -2146827284
    Message: Exception from HRESULT: 0x800A03EC

    The application is running under Network Service account and we have added
    this account to Admin group.

    Appreciate if some one can help out on this issue at the earliest.
     
    dinoo, Jul 9, 2009
    #1
    1. Advertising

  2. dinoo

    Guest

    On Jul 9, 1:11 am, dinoo <> wrote:
    > I would appreciate immediate help on this.
    >
    > We are using a functionality to read and write Excel files using Office
    > Automation using PIA assemblies for MS Office 2003. We have office 2003
    > installed on Windows Server 2008.
    > While trying to run the application we are getting following error -
    > System.Runtime.InteropServices.COMException
    > ErrorCode: -2146827284
    > Message: Exception from HRESULT: 0x800A03EC
    >
    > The application is running under Network Service account and we have added
    > this account to Admin group.
    >
    > Appreciate if some one can help out on this issue at the earliest.


    Hi,

    Using Excel Automation is not such a good idea cause it's very
    complicated to program with it. You should use 3rd party component
    like GemBox.Spreadsheet. You will also avoid problems in the future
    like if somebody who wants to use your application doesn't have
    installed Microsoft Excel he will still be able to use the
    application.

    http://www.gemboxsoftware.com/GBSpreadsheet.htm

    Filip
     
    , Jul 9, 2009
    #2
    1. Advertising

  3. dinoo

    dinoo Guest

    Re: Urgent - Issues with using Office 2003 PIA on Windows Server 2

    I checked on the internet and people have success using Office 2000 and
    Office 2003 in IIS with some configuration.
    The only thing is it is not working for us because we are missing some thing.
    Is there any information any one can point to related this configuration?

    This application is using Office 2003 on II6 with no issues for last 3 years
    using .Net framework 1.1. The application is now being converted to .Net 2.0
    and being ported on 2008 server.

    1. Do I need to have Framework 1.1 installed on the 2008 server? We are
    using PIA assemblies for excel and on Microsoft site it shows the requirement
    of .Net Framework 1.1.

    2. My another question is - Do you think using PIA assemblies for Office
    2007 will work here if Office 2003 being used on the server.


    "Mark Rae [MVP]" wrote:

    > "dinoo" <> wrote in message
    > news:...
    >
    > >I would appreciate immediate help on this.
    > >
    > > We are using a functionality to read and write Excel files using Office
    > > Automation using PIA assemblies for MS Office 2003. We have office 2003
    > > installed on Windows Server 2008.
    > > While trying to run the application we are getting following error -
    > > System.Runtime.InteropServices.COMException
    > > ErrorCode: -2146827284
    > > Message: Exception from HRESULT: 0x800A03EC
    > >
    > > The application is running under Network Service account and we have added
    > > this account to Admin group.
    > >
    > > Appreciate if some one can help out on this issue at the earliest.

    >
    > Microsoft Office isn't designed to be used in this way, to the extent that
    > Microsoft won't support any solution which even tries:
    > http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2 - note
    > specifically the paragraph in bold...
    >
    > Use this:
    > http://www.aspose.com/categories/file-format-components/aspose.cells-for-.net-and-java/default.aspx
    > and your problems will disappear.
    >
    > Remember to uninstall Office from your webserver too...
    >
    >
    > --
    > Mark Rae
    > ASP.NET MVP
    > http://www.markrae.net
    >
    >
     
    dinoo, Jul 9, 2009
    #3
  4. dinoo wrote:
    > The application is running under Network Service account and we have
    > added this account to Admin group.


    Doesn't security matter on this server?

    Andrew
     
    Andrew Morton, Jul 9, 2009
    #4
    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. Hawkmoth
    Replies:
    4
    Views:
    966
    =?Utf-8?B?SGF3a21vdGg=?=
    Mar 30, 2005
  2. Alvin Bruney

    Office PIA bomb out

    Alvin Bruney, Jul 13, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    451
    Alvin Bruney
    Jul 13, 2003
  3. =?Utf-8?B?Q2hyaXNGcm9obGljaA==?=

    Deploy Office PIA to ASP.NET Server

    =?Utf-8?B?Q2hyaXNGcm9obGljaA==?=, Apr 12, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    5,393
    David Browne
    Apr 12, 2006
  4. =?Utf-8?B?Q2hyaXNGcm9obGljaA==?=

    ASP.NET: Can't Kill EXCEL.exe with Office PIA

    =?Utf-8?B?Q2hyaXNGcm9obGljaA==?=, Apr 14, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    8,217
    =?Utf-8?B?S2VpdGg=?=
    Apr 25, 2006
  5. =?Utf-8?B?dGlnZXJqYWRl?=

    COM Error using Office 2003 PIA in ASP.Net

    =?Utf-8?B?dGlnZXJqYWRl?=, Jul 31, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    3,501
    =?Utf-8?B?dGlnZXJqYWRl?=
    Aug 1, 2006
Loading...

Share This Page