Receive Error: "Unable to cast COM object of type 'System.__ComObject' to interface type 'HSVMETADATALib.HsvMetadata'" when Integrating with HFM and FDM Installed in a 64bit OS | |||||
|
|||||
Modified 26-MAY-2010 |
Applies to:
Hyperion Financial Data Quality Management - Version: 11.1.1.3.00<max_ver> and later [Release: 11.1 and later ]Information in this document applies to any platform.
Symptoms
Unable to integrate with HFM with the following error at line 393
Error: Unable to cast COM object of type 'System.__ComObject' to interface type 'HSVMETADATALib.HsvMetadat5a'. This operation failed because the4 QueryInterface call on the COM Component for the interface with ID '{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}' failed due to the following error: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Cause
When the Workbench is being used to register an adapter on a 64bit OS the "Register Adapter" as outlined in the Configuration Documentation has a problem distinguishing between 32bit and 64bit Operating Systems.Solution
- Launch DCOM (dcomcnfg)
- Expand Component Services
- Expand Computers
- Expand My Computer
- Expand COM+ Applications
- Delete the Application called 'fdmFM11xG5C'
- Launch a command prompt window
- Navigate to the Microsoft.Net64 FrameWork (generally C:\Windows\Microsoft.Net\Framework64\v2.0.50727)
- Find the following file in Windows Explorer: fdmAdapterCOMadmin.
-
Enter the following command into the command prompt window but do not hit enter:
RegASM /codebase
- Drag and Drop the file "fdmAdapterCOMadmin.dll" onto the command window (Windows Explorer will automatically paste in the path to the file
- Hit Enter to execute the command
-
Enter the following command into the command prompt window but do not hit enter:
RegSVCS
- Drag and drop the file "fdmFM11xG5C.dll" onto the command window (Windows Explorer will automatically paste in the path to the file
- Press Enter
- Go back into the Workbench Win32
- Expand the Target System Adapters
- Right Click the HFM Adapter and choose "Configure"
- Enter the COM+ Service Account Information
GKontos
Comments