Installation issue on windows 10

4 posts, 0 answers
  1. Calvin
    Calvin avatar
    1 posts
    Member since:
    Aug 2014

    Posted 24 Oct 2017 Link to this post

    Hi there,

    I got the following error on the first launching Fiddler after installed it on windows 10:

     

    ---------------------------
    Loading custom MIME mappings failed
    ---------------------------
    Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.


    There is an error in XML document (0, 0).


    Type: System.InvalidOperationException
    Source: System.Xml
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)


       at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)


       at Fiddler.XmlFileMimeMappings..ctor(String filePath) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\MimeMapping\XmlFileMimeMappings.cs:line 40


       at Fiddler.frmViewer.š(Object , EventArgs ) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Viewer.cs:line 9816


    System.Xml.XmlException: Root element is missing.


       at System.Xml.XmlTextReaderImpl.Throw(Exception e)


       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()


       at System.Xml.XmlReader.MoveToContent()


       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read3_ArrayOfMimeMap()
    Fiddler v4.6.20173.38786 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.10586.0]
    ---------------------------
    OK  
    ---------------------------


  2. Alexander
    Admin
    Alexander avatar
    336 posts

    Posted 26 Oct 2017 Link to this post

    Hello,

    In order to stop the exception from popping up, please, go and delete this file - %USERPROFILE%\Documents\Fiddler2\CustomMimeMappings.xml. If this does not fix the issue, please, do not hesitate to contact me back.

    Regards,
    Alexander
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Sidhartha
    Sidhartha avatar
    1 posts
    Member since:
    Jan 2018

    Posted 04 Jan Link to this post

    Hi,

    Whenever I click on 'Composer' tab I get the following error and fiddler hangs. Only way is to kill and restart fiddler:

    'Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, .....

    Root element is missing.

    Type: System.Xml.XmlException

    SourceL System.Xml

    at System.Xml.XmlTextReaderImpl.Throw(Exception e)

    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

    at Fiddler.Session.LoadMetadata(Stream strmMetadat) in

    C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Session.cs:link 1616

    Fiddler v5.0.0.20173.50948(x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.16233.0]

    '

    Tried the following and still same error:

    1. Deleted the file as suggested above

    2. Uninstalled and reinstalled.

    3. Uninstalled and deleted every trace of fiddler (even from registry) and installed

    Please help,

    Thanks in advance

     

     

  4. Alexander
    Admin
    Alexander avatar
    336 posts

    Posted 15 Jan Link to this post

    Hi,

    Go to "%USERPROFILE%\Documents\Fiddler2\Captures\Requests" and remove the filed called "ComposerHistory.raz". This should fix the problem. Keep in mind that this will clear your Composer history.

    Regards,
    Alexander
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top