Use Fiddler with NAV

Fiddler is a nice tool for sniffing network traffic.

It can be downloaded here:

When I needed to sniff my network traffic (NAV Consume Webservice Black-Belt ) I discovered that Fiddler “out-of-the-box” does not show the Network packages from NAV.

This is cause NAV instance is running as a service and Fiddler only looks at processes within your current session.

If you need to sniff the network packages from NAV as well please follow these steps:

This is done like this:

  1. Go to : C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config
  2. locate the file machine.config.
  3. open the file (first create a backup)
  4. locate the section <>  (or create this section at the bottom , within configuration tag).
    Update the section to:

      <!-- The following section is to force use of Fiddler for all 
           applications, including those running in service accounts -->
            enabled = "true"
            useDefaultCredentials = "true">
            <proxy autoDetect="false" bypassonlocal="false" 
                usesystemdefault="false" />
  5. Restart NAV Service tier.
  6. (do not forget to remove this section (use the backup from step 3) and restart NAV after sniffing.

This makes the NAV calls visible within Fiddler!




2 thoughts on “Use Fiddler with NAV

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s