Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Glimpse.axd 403ing On IIS

When trying to access /Glimpse.axd after I've published to IIS (7.5), I'm now receiving a 403 Forbidden response. Is there a setting in IIS that disables access to .axd files? Or is this something else entirely?

like image 692
JesseBuesking Avatar asked Jan 12 '12 22:01

JesseBuesking


People also ask

How to Turn on Glimpse?

Enable Glimpse for localhostNavigate to http://localhost:<port #>/glimpse. axd and click the Turn Glimpse On button.

What is Glimpse ASPnet?

Glimpse is a popular, open-source web debugging and diagnostics tool that can be used to gain visibility into the performance of your ASP.Net or ASP.Net MVC applications.


2 Answers

This is usually due to the fact that your source IP Address is not allowed in the web.config section for Glimpse. I just ran in to this issue yesterday.

Look for this in your web.config file, it can go anywhere in the web.config file.

<glimpse enabled="true">
  <ipAddresses>
    <!-- List of IP addresses allowed to get Glimpse data. Optional. localhost (IPv4  &IPv6) by default -->
    <add address="x.x.x.x"/> <!--The ip of your machine -->
    <add address="::1"/>
  </ipAddresses>
</glimpse>
like image 168
CrazyCoderz Avatar answered Sep 28 '22 01:09

CrazyCoderz


I got an error like this when trying to access http://leniel-pc:8083/glimpse.axd:

403 Forbidden
Ensure 'aa90::edad:55a5:7777:cd2c%11' is configured for Glimpse access.

After doing this:

<glimpse enabled="true">
  <ipAddresses>
    <!-- List of IP addresses allowed to get Glimpse data. -->
    <!--The ip of your machine -->
    <add address="aa90::edad:55a5:7777:cd2c%11"/>
  </ipAddresses>
</glimpse>

Problem solved! :D

like image 23
Leniel Maccaferri Avatar answered Sep 28 '22 01:09

Leniel Maccaferri