Debugging SharePoint 2010 Server Search Crawler With Fiddler2

April 27 2012 62 comments

Every now and then you may end up in a situation where SharePoint crawler returns just one top level error or multiple errors. Probably most of us would first enable verbose logging for SharePoint search, run crawl and monitor ULS logs with ULS Viewer. This is a good beginning, but it often offers very little information and very limited insight to crawler’s behavior.

By using Fiddler as a proxy server for SharePoint crawler, we can actually track what the crawler is actually crawling. This is very handy when debugging problems arising e.g. from multiple redirects, proxy- or authentication issues. You can enable fiddler proxy by following the following steps:

  1. 1. Download and install Fiddler2
  2. 2. Start Fiddler2 to enable it to act as proxy
  3. 3. Create file called mssdmn.exe.config to folder %CommonProgramFiles%\Microsoft Office Servers\14.0\Bin (mssdmn.exe file should be also found here)
  4. 4. Add following lines to the file
    <configuration>
    <system.net>
    <defaultProxy>
    <proxy
    usesystemdefault="true"
    proxyaddress="http://127.0.0.1:8888"
    bypassonlocal="true"
    />
    </defaultProxy>
    </system.net>
    </configuration>
  5. 5. Restart SharePoint Server Search 14 service on server to apply proxy settings.
  6. 6. Start SharePoint crawl and monitor Fiddler2. You should see something similar to picture below:

So, now you have a little bit better insight to SharePoint’s crawler. Hope this helps you to solve crawler related problems.

Update: You need to run Fiddler has the same account the Search Service is running. Otherwise Fiddler doesn’t log anything as it will run in a different user context.

Popularity: 3% [?]

62 comments to “Debugging SharePoint 2010 Server Search Crawler With Fiddler2”

  1. CHRISTIAN says:

    Much obliged to you for sharing this, it’s a fabulous article. I’m eager to peruse a greater amount of your work check these guys out

  2. this is great thanks for sharing

  3. transexuel reims for your own sexy chat contacts in France

  4. If you are alone check our web platform for casual chat contacts in France Chat Sexe Nantes

  5. If you want to find out something about fine ladies in EU you must check Sextreffen in Köniz

  6. If you are alone check casual ladies from Italy Annunci trans Napoli

  7. I liked this article. It was inspiring. Please keep on posting.

  8. Angel17 says:

    Thank you for sharing these tips. Keep sharing. https://www.aaafencedeck.com

  9. Angel17 says:

    I am happy to read this blog post. This is helpful. concrete driveway cary nc

Leave a Reply