Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Excel.Application error

Hi,

My application running on production server is throwing this exception:

Retrieving the COM class factory for component with CLSID
{00024500-0000-0000-C000-000000000046} failed due to the following
error:80040154.
while executing this code in C#:

Excel.Application excelApp = new Excel.ApplicationClass();

It works ok in my workstation, I have Microsoft Office 2003 installed and is
running as Administrator. But the production server has no MS Excel 2003
installed.

So my question is is Excel 2003 or 2007 must be installed to run the code.
Can I just copy the dll Microsoft.Office.Interop.Excel.dll on the server?
what else needs to be configured?

Thanks in advance.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel error with .NET web application sheetjo Excel Programming 0 May 16th 06 12:07 AM
excel error using .NET web application sheetjo Excel Programming 0 May 11th 06 12:43 AM
Error calling Web Service from Excel Application GPrabaka Excel Programming 2 August 8th 05 03:56 PM
EXCEL.EXE Application Error James McDowell[_2_] Excel Programming 0 July 20th 05 03:31 PM
olemainthreadwndname:excel.exe - application error Adi Babu Excel Programming 0 July 28th 03 09:18 PM


All times are GMT +1. The time now is 08:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"