LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Microsoft.Office.Interop.Excel myexcel = new EXCEL.Application()

I keep getting the error message when trying to execute

Microsoft.Office.Interop.Excel.Application myexcel = new
Microsoft.Office.Interop.Excel.Application()

In the bigining the error message was

Retrieving the COM class factory for component with CLSID
{00024500-0000-0000-C000-000000000046} failed due to the following error:
80070005.


But after reading and implementing some blogs suggestions like
http://blog.crowe.co.nz/archive/2006/03/02/589.aspx

The error changed to

Creating an instance of the COM component with CLSID
{00024500-0000-0000-C000-000000000046} from the IClassFactory failed due to
the following error: 8001010a

The application works perfect on my local the problem is on the hosting
server, windows 2003 server ( I have tried to give all the permission to
Network service administrator in DCOMCNFG and excel is installed on the
server too) but I keep on getting this error , from what I noticed every time
this line (Microsoft.Office.Interop.Excel.Application myexcel = new
Microsoft.Office.Interop.Excel.Application()

is Executed I see EXCEL.EXE on task manager with the corresponding user
name ,NETWORK SERVICE and then fail to proceed with the error message given
above

 
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
Microsoft.Office.Interop.Excel.Application Andie Excel Programming 1 May 22nd 09 04:27 AM
Microsoft.Office.Interop.Excel when exporting from another program Colin Excel Discussion (Misc queries) 0 January 2nd 09 06:08 AM
Microsoft.Office.Interop.Excel Texttocolumns C# Cheryl[_5_] Excel Programming 1 April 6th 07 08:40 PM
Where can I find Microsoft.Office.Interop.Excel.dll? Fred Abrahamian Excel Programming 1 December 17th 06 10:52 PM
COMException With Microsoft.Office.Interop.Excel frankvfox Excel Programming 4 September 27th 06 04:36 PM


All times are GMT +1. The time now is 01:51 AM.

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"