Error message when exporting a .xml

taormina wrote on 9/16/2008, 12:43 PM
I simply went Tools>Scripting>Export XML and it prompted me to save the file. When I typed in a file name and hit save, it created the following error:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at Sony.Vegas.IMediaCOM.GetMetaPathType(UInt32 mediaID, MetaPathType& metaType)
at Sony.Vegas.Media.CreateInstance(UInt32 mediaID)
at Sony.Vegas.MediaBin.GetItem(Int32 index)
at Sony.Vegas.BaseList`1.<GetEnumerator>d__0.MoveNext()
at EntryPoint.ExportMediaBin(XmlElement parent, MediaBin bin)
at EntryPoint.ExportMediaBin(XmlElement parent, MediaBin bin)
at EntryPoint.ExportMediaPool(XmlElement parent, MediaPool pool)
at EntryPoint.ExportProject(XmlElement parent, Project proj)
at EntryPoint.ExportXml(String outputFile)
at EntryPoint.FromVegas(Vegas vegas)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Sony.Vegas.ScriptHost.ScriptManager.Run(Assembly asm, String className, String methodName)
at Sony.Vegas.ScriptHost.CodeDomScriptManager.Run()
at Sony.Vegas.ScriptHost.RunScript(Boolean fCompileOnly)


Any ideas???? I really need to export this project as an .xml

Comments

jetdv wrote on 9/16/2008, 1:34 PM
Sounds like a problem in a media pool bin. I think I'd try clearing out the media pool of all unused media and see if that helped. It's the lightning bolt on the upper left of the Project Media screen.
taormina wrote on 9/16/2008, 2:06 PM
I had already done that previously.....interestingly, this project is only audio with the video tracks stripped out.

Unsure what I am supposed to be "cleaning" all the media in the bins is media I need.