Solvent solutions
Subscribe to the Gourami newsletter
3 replies [Last post]
CH_Systems
CH_Systems's picture
Joined: 20.11.2008
User offline. Last seen 1 year 39 weeks ago.

When i go into policy tools, i get an unhandled exception has occurred in your application.

Unable to cast COM object of type 'System__ComObject' to interface type 'MetaFramCOM.MetaFramPolicy'. (followed by more info and details as below. Any help would be appreciated.

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'MetaFrameCOM.MetaFramePolicy'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{ED62F636-63C2-11D4-94D8-00C04FB0F326}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
   at Policy_Tools.Form1.DumpPoliciesToListview(IMetaFramePolicies2 Policies, ListView ListViewToDump)
   at Policy_Tools.Form1.Init()
   at Policy_Tools.Form1.Form1_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///M:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Policy Tools
    Assembly Version: 4.0.1.4
    Win32 Version: 4.0.1.4
    CodeBase: file:///M:/Program%20Files/Gourami/FASe/policy%20tools.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///M:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
zip
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///M:/Program%20Files/Gourami/FASe/zip.DLL
----------------------------------------
Policy Tools
    Assembly Version: 4.0.1.4
    Win32 Version: 4.0.1.4
    CodeBase: file:///M:/Program%20Files/Gourami/FASe/policy%20tools.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///M:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///M:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///M:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///M:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Gourami Tools
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.1.4
    CodeBase: file:///M:/Program%20Files/Gourami/FASe/policy%20tools.exe
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///M:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Interop.MetaFrameCOM
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.1.4
    CodeBase: file:///M:/Program%20Files/Gourami/FASe/policy%20tools.exe
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///M:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
CustomMarshalers
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///M:/WINDOWS/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


 

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

Thanks for adressing this,

 

Please mail the log file (my documents) to: support 4t gourami d0t eu

CH_Systems
CH_Systems's picture
Joined: 20.11.2008
User offline. Last seen 1 year 39 weeks ago.

I am guessing this may be related to similar problem on http://www.gourami.eu/node/167 - you've got the log file from there already.

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

Yes, this is related to the problem with farm reporter, please read the update there!, Thanks,

 

Gourami support

Copyright © Gourami 2010

Citrix Ready
Citrix Partner