[IronPython] Problem with com object
Alberto Fernandez
listasalberto at totalmar.com
Wed Feb 10 19:17:38 CET 2010
Here it goes:
Devuelto error HRESULT E_FAIL de una llamada a un componente COM.
en System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
en Microsoft.Scripting.ComInterop.ComRuntimeHelpers.GetITypeInfoFromIDispatch(IDispatch dispatch, Boolean throwIfMissingExpectedTypeInfo)
en Microsoft.Scripting.ComInterop.IDispatchComObject.EnsureScanDefinedMethods()
en Microsoft.Scripting.ComInterop.IDispatchComObject.System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(Expression parameter)
en System.Dynamic.DynamicMetaObject.Create(Object value, Expression expression)
en System.Dynamic.DynamicMetaObjectBinder.Bind(Object[] args, ReadOnlyCollection`1 parameters, LabelTarget returnLabel)
en System.Runtime.CompilerServices.CallSiteBinder.BindCore[T](CallSite`1 site, Object[] args)
en System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
en CallSite.Target(Closure , CallSite , Object )
en System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
en CallSite.Target(Closure , CallSite , Object , CodeContext )
en System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
en Microsoft.Scripting.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
en Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
en Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
en IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
en IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
en IronPython.Hosting.PythonCommandLine.RunFileWorker(String fileName)
en IronPython.Hosting.PythonCommandLine.RunFile(String fileName)
EnvironmentError: System.Runtime.InteropServices.COMException (0x80004005): Devuelto error HRESULT E_FAIL de una llamada a un componente COM
en System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
en Microsoft.Scripting.ComInterop.ComRuntimeHelpers.GetITypeInfoFromIDispatch(IDispatch dispatch, Boolean throwIfMissingExpectedTypeInfo)
en Microsoft.Scripting.ComInterop.IDispatchComObject.EnsureScanDefinedMethods()
en Microsoft.Scripting.ComInterop.IDispatchComObject.System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(Expression parameter)
en System.Dynamic.DynamicMetaObject.Create(Object value, Expression expression)
en System.Dynamic.DynamicMetaObjectBinder.Bind(Object[] args, ReadOnlyCollection`1 parameters, LabelTarget returnLabel)
en System.Runtime.CompilerServices.CallSiteBinder.BindCore[T](CallSite`1 site, Object[] args)
en System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
en CallSite.Target(Closure , CallSite , Object )
en System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
en CallSite.Target(Closure , CallSite , Object , CodeContext )
en System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
en Microsoft.Scripting.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
en Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
en Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
en IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
en IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
en IronPython.Hosting.PythonCommandLine.RunFileWorker(String fileName)
en IronPython.Hosting.PythonCommandLine.RunFile(String fileName)
Hope this helps
Alberto Fernandez
More information about the Ironpython-users
mailing list