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

Generating default MIME mappings file failed

5 Answers 165 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Donnie
Top achievements
Rank 1
Donnie asked on 07 Dec 2017, 08:55 PM

Received this error when starting up Telerik after install

---------------------------
Generating default MIME mappings file 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.

Access to the path 'C:\Users\donnie\Documents\Fiddler2\CustomMimeMappings.xml' is denied.

Type: System.UnauthorizedAccessException
Source: mscorlib
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode)

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


Fiddler v5.0.20173.49666 (x64 AMD64) [.NET 4.0.30319.36392 on Microsoft Windows NT 6.0.6002 Service Pack 2] 
---------------------------
OK   
---------------------------

5 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 15 Dec 2017, 02:42 PM
Hello,

Do you have write access to the following path - C:\Users\donnie\Documents\Fiddler2\CustomMimeMappings.xml?

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
Donnie
Top achievements
Rank 1
answered on 15 Dec 2017, 03:06 PM
Yes.  That is my user directory.
0
Alexander
Telerik team
answered on 02 Jan 2018, 03:20 PM
Hi,

Would it be possible to check if the file exists? Please, before checking ensure that hidden files and folders are shown - link.

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
Donnie
Top achievements
Rank 1
answered on 02 Jan 2018, 04:50 PM

Yes the file does exist.  I was able to get Fiddler to open without this error by opening Fiddler as Administrator.  So the file does exist; however, I am having issues decoding SSL as well and I believe the same security issues that was causing this error are the same that is causing my SSL decode issue even when Fiddler is opened as Administrator.

 

Thanks,

Donnie

0
Alexander
Telerik team
answered on 15 Jan 2018, 06:37 PM
Hi,

Please, excuse me for the delay.

Opening Fiddler as administrator should not be necessary. Try deleting the file and then start Fiddler as user. It will recreate the file and this should fix this problem. However, keep in mind that you have to back-up your current file if you have made any changes to it.

About the HTTPS decryption - did you trust Fiddler's root certificate?

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
Fiddler Classic
Asked by
Donnie
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Donnie
Top achievements
Rank 1
Share this question
or