How can we help you today? How can we help you today?

Profiler stops windows Authentication from working

I have a .NET 4.5 site that I am trying to profile and if the server is set to windows authentication when the profiler is started all requests will return 401.
To test this I am using Fiddler 4 with the Automatically Authenticate option checked and when a test request is sent there is a total of three requests recorded in fiddler, all of which have 401 responses; the first 401 is expected of course.

All of this is using the default for ANTS to host on the 8013 port, and if I send my request to port 80 it works fine. It will also work fine if the server is in anonymous authentication mode when the profiler is started.

Any thoughts on the cause or where I can look to figure this out?
phaeze
0

Comments

4 comments

  • Jessica R
    Hi there,

    Thanks for your post!

    Can you kindly try specifying the credentials for the profiler service which starts the IIS process:

    - Go to the Services control panel
    - Right-click on "ANTS Performance Profiler 9 service" and select "Properties"
    - Go to "Log On" and enter the appropriate account details and then hit OK
    - Restart the service and then try profiling again
    Jessica R
    0
  • phaeze
    When I try this, I get an error almost immediately after starting profiling that the IIS service could not be started. My guess is that it would be a permissions issue, do you know what group memberships/permissions would be needed for this?
    The use I tried is a domain user with local admin and is a member of the IIS_IUSRS group.
    phaeze
    0
  • phaeze
    We were able to get this working by also launching the profiler as Administrator.
    phaeze
    0
  • Jessica R
    That's great news! Thanks for the update. Please let us know if any other issues come up!
    Jessica R
    0

Add comment

Please sign in to leave a comment.