4

I have some troubles configuring IIS 7.5 on a Windows 2008 R2 server. I need to debug .asp pages with Visual studio so I enabled "Enable server side debugging" in the asp debugging section on my website.

Everything goes right when i attach a debugger to w3wp process but if it's not attached and load an asp page with some errors in the code, in my browser i get only a blank page (with code 200).

It's something similar to this issue but I can't set option to false because I need it.

So, is there a way to show the Error in the browser even if I don't have an active debugger attached to the iis process? I have already activated "send errors to browser" and in the Error section "Detailed error" is chosen.

Thank you very much

Riccardo

Community
  • 1
  • 1
user2239563
  • 41
  • 1
  • 2
  • Have you seen this question? http://stackoverflow.com/questions/1453791/classic-asp-on-iis7-refusing-to-send-errors-to-browser-on-500-internal-server-e# – John Apr 04 '13 at 11:17
  • Thank you but as you can read i've already enabled "Detail errors" :( – user2239563 Apr 05 '13 at 15:34
  • Are your error pages coming from a local IP or a remote server? If it's a remote server then this might be the problem - http://www.dondraper.com/2011/01/500-internal-server-error-from-iis-7-5-on-windows-2008-r2/ – John Apr 05 '13 at 17:58
  • I have the same behaviour from the server itself or from a remote machine – user2239563 Apr 11 '13 at 12:21
  • 2
    Are you sure ASP classic pages can be debugged at all? I think they are not compiled and hence you are limited by just the send errors to browser and then manually debugging. – Frank Mar 01 '15 at 11:01
  • ASP pages cannot be debugged, you need to set "send errors to browser" on remote requests. That will tell you what line number the error is on and then you can debug manually. – Frank Jul 19 '15 at 13:52
  • 1
    I would also like to know how to do this. I have been able to do this for the past 15 or so years, but after reinstalling with Win10/IIS10/VS2017 it is no longer possible. @Frank - Millions of people have been debugging ASP pages in Visual Studio for the best part of 20 years! I can't believe you said that! – EpochGrinder Feb 19 '18 at 14:57

0 Answers0