ituner throws an Exception

May 30, 2010 at 12:29 PM
Edited May 30, 2010 at 1:18 PM

Dear all,

 

I've installed ituner on my windows 7 64 bits pc and after installation is complete i try opening ituner and the following error mesg appears:

 

<?xml version="1.0" encoding="utf-16"?>
<SmartException etype="System.Windows.Markup.XamlParseException">
  <message>Cannot create instance of 'AppWindow' defined in assembly 'iTuner, Version=1.2.3782.35298, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation.  Error in markup file 'iTuner;component/AppWindow.xaml' Line 2 Position 3.</message>
  <source>PresentationFramework</source>
  <targetSite>
    <assembly>PresentationFramework</assembly>
    <declaringType>System.Windows.Markup.XamlParseException</declaringType>
    <name>ThrowException</name>
  </targetSite>
  <stackTrace>   at System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType)
   at System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException)
   at System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail)
   at System.Windows.Markup.BamlRecordReader.GetElementAndFlags(BamlElementStartRecord bamlElementStartRecord, Object&amp; element, ReaderFlags&amp; flags, Type&amp; delayCreatedType, Int16&amp; delayCreatedTypeId)
   at System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
   at System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
   at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
   at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord)
   at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()
   at System.Windows.Markup.TreeBuilder.Parse()
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
   at System.Windows.Application.DoStartup()
   at System.Windows.Application.&lt;.ctor&gt;b__0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)</stackTrace>
  <helpLink />
  <data>
    <System.Object>System.Collections.DictionaryEntry</System.Object>
  </data>
  <innerException etype="System.Reflection.TargetInvocationException">
    <message>Exception has been thrown by the target of an invocation.</message>
    <source>mscorlib</source>
    <targetSite>
      <assembly>mscorlib</assembly>
      <declaringType>System.RuntimeTypeHandle</declaringType>
      <name>CreateInstance</name>
    </targetSite>
    <stackTrace>   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp; canBeCached, RuntimeMethodHandle&amp; ctor, Boolean&amp; bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Windows.Markup.XamlTypeMapper.CreateInternalInstance(ParserContext pc, Type type)
   at System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail)</stackTrace>
    <helpLink />
    <innerException etype="System.InvalidOperationException">
      <message>Cannot set Owner property to a Window that has not been shown previously.</message>
      <source>PresentationFramework</source>
      <targetSite>
        <assembly>PresentationFramework</assembly>
        <declaringType>System.Windows.Window</declaringType>
        <name>set_Owner</name>
      </targetSite>
      <stackTrace>   at System.Windows.Window.set_Owner(Window value)
   at iTuner.MessageWindow.Show(Window owner, String text, String caption, String log, MessageBoxButton button, MessageWindowImage icon, MessageBoxResult defaultResult)
   at iTuner.MessageWindow.Show(String text)
   at iTuner.KeyManager.RegisterHotKey(Keys code, KeyModifier modifier, HotKeyAction action)
   at iTuner.KeyManager.Load()
   at iTuner.KeyManager..ctor()
   at iTuner.AppWindow.DoLoadingCompleted(Object sender, RunWorkerCompletedEventArgs e)
   at iTuner.AppWindow..ctor()</stackTrace>
      <helpLink />
    </innerException>
  </innerException>
</SmartException>

 

I have itunes version 9.1.1.12 X64

Also i uninstalled itunes and installed it again but no hope. I am not a computer expert so i am wondering if anyone could help me understand what the exception means and how can I solve it.

 

Thanks so much for your time,

Heba