Ram Shankar Yadav's Blog!

My life's my passion!

  Home  |   Contact  |   Syndication    |   Login
  157 Posts | 0 Stories | 304 Comments | 95 Trackbacks

News


Microsoft Certified Technology Specialist ( MCTS) - .NET 2.0 Windows Development
Microsoft Certified Professional

My Photo Ablum


Cheap Website Hosting - Free Domain

Archives

Post Categories

Image Galleries

Blogs that I like most !

Sites that I like most !

Today I installed URLScan 2.5 and experienced following error: “The Web Server Has Been Locked Down and Is Blocking the DEBUG Verb” while I tried to debug my project. I tried several thing apart from restarting my IIS, but nothing worked !

" UrlScan version 2.5 is a security tool that restricts the types of HTTP requests that Internet Information Services (IIS) will process. By blocking specific HTTP requests, the UrlScan security tool helps prevent potentially harmful requests from reaching the server. UrlScan 2.5 will now install as a clean installation on servers running IIS 4.0 and later."

Then I tried developers' best friend yes, Google! , and I got the solution from microsoft site.


To enable debugging on a Web server with URLScan installed

  1. Locate the Urlscan.ini file. Normally, you will find it in a directory that looks something like this:
    %windir%\System32\Inetsrv\urlscan
  2. Create a copy of the file and name it Urlscan.old.
  3. Open the original copy of the Urlscan.ini file using Notepad or the text editor of your choice.
  4. In Urlscan.ini, locate the [AllowVerbs] section. Add DEBUG to the [AllowVerbs] section. If you see ;DEBUG in the [AllowVerbs] section, you can remove the semicolon (which comments out the verb).
  5. Locate the [DenyVerbs] section. If DEBUG appears in the [DenyVerbs] section, remove it.
  6. Save the file.
  7. Restart the server or restart IIS.


Links:


UrlScan Security Tool: http://www.microsoft.com/technet/security/tools/urlscan.mspx

MSDN page for this error resolution : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/vxtbsthewebserverhasbeenlockeddownisblockingdebugverb.asp


Thanks God ! Everything is now up and running :)

posted on Tuesday, February 28, 2006 6:16 PM