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

I have a windows service application that watches a directory for a new file.
When a file is dropped into the directory, the service attempts to create a
new Excel.Application and load the file into a Workbook. When the code:

Dim App as new Excel.Application is called it fails with:

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

The exact same code works through my Windows Form test application from the
same project.

I have strong named the assembly, granted full trust to the assembly,
ensured the log on name of the assembly has administrative rights on the box,
and changed the service to run under the Local Security context.

I have also attempted to use late binding - none of these actions have
worked.

I would appreciate any ideas.

Thanks

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
Call Application.Volatile(True) NOT WORKING FARAZ QURESHI Excel Discussion (Misc queries) 1 May 8th 08 04:50 AM
Setting Application.EnableEvents=True after Thisworkbook.Close call John Fuller Excel Programming 3 September 4th 06 02:50 PM
Call procedure using Application.Run xlcharlie Excel Programming 7 February 1st 06 08:45 PM
Application.Run Call Err: 1004 Cannot Find Macro Travich Excel Programming 6 December 7th 05 07:08 PM
Call other application from excel A-Design Excel Programming 6 November 19th 04 10:13 PM


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

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

About Us

"It's about Microsoft Excel"