LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
YH YH is offline
external usenet poster
 
Posts: 18
Default unable to cast ..Excel.ApplicationClass to ..Excel._Application

trying to deploy a vb.net dll to clients; on some machines the following
run-time error occurs:

Unable to case COM object of type 'Microsoft.Interop.Excel.ApplicationClass
to interface type 'Mirosoft.ofiice.interop.Excel._Application'. This
operation failed because the Queryinterfacecall on COM component for the
interface with IID '{000208D5-0000-0000-C000-0000000047}' failed due to the
following error: Interface not registered (Exception from HRESULT:
0x80040155).

On some machines, this run-time error does _not_ occur.

Reading on the net I found some comments about the PIA not being installed,
but I don't know about it enough.

One of the machines this run-time occurs for is with completely new
installtion of office excel 2003 (standard edition).


The reference in the dll is to the COM interop of office 11 (GAC).


Has anyone got an idea how to solve? this has to work on client machines
without messing registry or requireng additional installations, so I hope for
a fix in the dll reference/code.

Thanks in advance.
 
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
Unable to cast com object (interop) yh Excel Discussion (Misc queries) 0 April 26th 10 09:16 AM
How do I cast time when the total exceeds 24 hours arm266 Excel Discussion (Misc queries) 11 September 26th 09 06:58 PM
Unable to click on charts & unable to create any new charts Excel Snapclick Charts and Charting in Excel 4 February 1st 09 07:59 PM
Unable to save modified Excel 2003 worksheets using Excel 2007 vkeller Excel Discussion (Misc queries) 0 May 9th 08 10:38 PM
CAST Function Matt S Excel Discussion (Misc queries) 1 February 19th 08 05:16 PM


All times are GMT +1. The time now is 10:30 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"