This is a migrated thread and some comments may be shown as answers.

Installation issue on windows 10

3 Answers 377 Views
Windows
This is a migrated thread and some comments may be shown as answers.
Calvin
Top achievements
Rank 1
Calvin asked on 24 Oct 2017, 03:02 PM

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  
---------------------------


3 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 26 Oct 2017, 10:06 AM
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
0
Sidhartha
Top achievements
Rank 1
answered on 05 Jan 2018, 02:19 AM

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

 

 

0
Alexander
Telerik team
answered on 15 Jan 2018, 06:48 PM
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
Tags
Windows
Asked by
Calvin
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Sidhartha
Top achievements
Rank 1
Share this question
or