I'm using build 683 and have saved several sets of profile results, but when I try to open them I get the folloing error message:
Ambiguous match found.
System.Reflection.AmbiguousMatchException
at System.RuntimeType.GetField(String name, BindingFlags bindingAttr)
at RedGate.Profiler.Util.DefaultXmlSpitter.<>c__DisplayClass2.b.a(String )
at RedGate.Profiler.Util.DefaultXmlSpitter.a(XmlReader , String , String , a )
at RedGate.Profiler.Util.DefaultXmlSpitter.<>c__DisplayClass2.<Deserialize>b__0(String typeName)
at RedGate.Profiler.Util.DefaultXmlSpitter.a(XmlReader , String , String , a )
at RedGate.Profiler.Util.DefaultXmlSpitter.Deserialize(XmlReader reader)
at RedGate.Profiler.Util.DefaultXmlSpitter.DeserializeOne(XmlReader reader)
at k.ConstructSavedState(Stream stream, IProfileReader profileReader)
at a.a(Object , GenericEventArgs`1 )
at Y.<>c__DisplayClass6.<.ctor>b__1()
at N.a()

After this, the UI shows the "Finished" circle, but nothin elese and none of the analysis buttons or the timeline are enabled.

OS: Windows Vista Business x64.

P.S. I tried using the "Feedback Form" option on the EAP Feedback menu, but just got directed to the Survey Monkey home page.
dereklakin
0

Comments

12 comments

  • Alex D
    Hi, thanks a lot for the error report.

    I wonder if you would be willing to help me debug the problem? I would really appreciate if you could open the results file in a text editor (eg notepad) and copy the XML portion at the beginning of the file into an email to support@red-gate.com, referencing this forum post.

    Thanks, hopefully I can get it fixed soon,
    Alex
    Alex D
    0
  • Alex D
    Thanks for sending in that XML. I know what it is, and the fix should be out later today.

    Thanks,
    Alex
    Alex D
    0
  • dereklakin
    Great! Thanks.
    dereklakin
    0
  • StephenC
    The latest build should now have fixed this issue. You can get build 719 from the forum post:

    http://www.red-gate.com/messageboard/vi ... php?t=8855

    Regards,

    Stephen
    StephenC
    0
  • dereklakin
    I get slightly different error for the same results file in build 719:
    'Element' is an invalid XmlNodeType.
    System.Xml.XmlException
    at System.Xml.XmlReader.FinishReadElementContentAsXxx()
    at System.Xml.XmlReader.ReadElementContentAsString()
    at RedGate.Profiler.XmlPersist.XmlObjectLoader.a(XmlReader , p )
    at i..ctor(XmlReader reader)
    dereklakin
    0
  • StephenC
    Hi,

    are you trying to open the old results file with the new build?

    If that's the case then it won't work.

    You need to profile with the new build and save the results with 719.

    Opening that file then should work fine.

    Stephen
    StephenC
    0
  • dereklakin
    Ah OK. I didn't realise that the old results files were useless :P I'll try again with a new results file and report back if there are any more problems.
    dereklakin
    0
  • StephenC
    The problem was with the way the old results file had been saved so there was no way of opening them with any new build.

    With V5 it shouldn't take long at all to have all your results again. :D

    How are you finding the early access build in terms of performance and features? Do you like the new version so far?

    Stephen
    StephenC
    0
  • dereklakin
    Sure, I understand. The code has moved on since I did those results, so it would be difficult to re-generate them.

    On the whole, I think performance and features are excellent. Certainly streets ahead of the previous version :D My only suggestion would be to make it easier to find things that belong to me rather than those that are part of the framework.
    dereklakin
    0
  • StephenC
    In the Class List there is a find bar at the top where you can type in your namespace or search for a particular class which filters out anything else. In the Summary there's a combo box where you can switch to seeing things just with source code.

    We have tried to also indicate in the graphs things with source and framework objects by fading out anything out that doesn't have source code and have objects with source in black bold.

    Any other suggestions that you would recommend?

    Stephen
    StephenC
    0
  • dereklakin
    Perhaps make seeing just things with source code (which presumably only covers my code) the default option, then?
    dereklakin
    0
  • StephenC
    We have resisted doing this for very good reasons which I don't want to bore you with but hopefully when people see the videos and other support information it will be justified.

    I do see how it would suit a proportion of people for it to be the default but hopefully with the easy filtering people won't find it an issue.

    Thanks,

    Stephen
    StephenC
    0

Add comment

Please sign in to leave a comment.