Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Urgent - Issues with using Office 2003 PIA on Windows Server 2008

Reply
Thread Tools

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

 
 
dinoo
Guest
Posts: n/a
 
      07-08-2009

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.


 
Reply With Quote
 
 
 
 
filip@gemboxsoftware.com
Guest
Posts: n/a
 
      07-09-2009
On Jul 9, 1:11*am, dinoo <(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
 
dinoo
Guest
Posts: n/a
 
      07-09-2009
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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
> >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...US;q257757#kb2 - note
> specifically the paragraph in bold...
>
> Use this:
> http://www.aspose.com/categories/fil...a/default.aspx
> and your problems will disappear.
>
> Remember to uninstall Office from your webserver too...
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net
>
>

 
Reply With Quote
 
Andrew Morton
Guest
Posts: n/a
 
      07-09-2009
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Office 2003 SP3 blocks some Office 2003 files from opening, by design. why? Computer Support 0 01-02-2008 04:36 PM
COM Error using Office 2003 PIA in ASP.Net =?Utf-8?B?dGlnZXJqYWRl?= ASP .Net 1 08-01-2006 02:00 PM
ASP.NET: Can't Kill EXCEL.exe with Office PIA =?Utf-8?B?Q2hyaXNGcm9obGljaA==?= ASP .Net 2 04-25-2006 07:07 PM
Deploy Office PIA to ASP.NET Server =?Utf-8?B?Q2hyaXNGcm9obGljaA==?= ASP .Net 3 04-12-2006 09:20 PM
Office PIA bomb out Alvin Bruney ASP .Net 1 07-13-2003 03:37 AM



Advertisments