Generating default MIME mappings file failed

6 posts, 0 answers
  1. Donnie
    Donnie avatar
    4 posts
    Member since:
    May 2013

    Posted 07 Dec 2017 Link to this post

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

  2. Alexander
    Admin
    Alexander avatar
    336 posts

    Posted 15 Dec 2017 Link to this post

    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
  3. Donnie
    Donnie avatar
    4 posts
    Member since:
    May 2013

    Posted 15 Dec 2017 in reply to Alexander Link to this post

    Yes.  That is my user directory.
  4. Alexander
    Admin
    Alexander avatar
    336 posts

    Posted 02 Jan Link to this post

    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
  5. Donnie
    Donnie avatar
    4 posts
    Member since:
    May 2013

    Posted 02 Jan in reply to Alexander Link to this post

    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

  6. Alexander
    Admin
    Alexander avatar
    336 posts

    Posted 15 Jan Link to this post

    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
Back to Top