Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
YH YH is offline
external usenet poster
 
Posts: 18
Default Unable to cast com object (interop)

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.
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
How do I cast time when the total exceeds 24 hours arm266 Excel Discussion (Misc queries) 11 September 26th 09 06:58 PM
CAST Function Matt S Excel Discussion (Misc queries) 1 February 19th 08 05:16 PM
Referencing interop assembly... Editor Excel Discussion (Misc queries) 0 April 25th 07 09:48 AM
Unable to access GridLines in Microsoft Graph Object [URGENT] usamaalam Charts and Charting in Excel 0 March 7th 05 05:29 AM
Unable to add references to Calendar control and outlook object utham raj via OfficeKB.com Setting up and Configuration of Excel 0 February 3rd 05 09:48 AM


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