Rectangle 27 0

.net 3.5 URL Routing is not working in IIS 7.0 witrh apllication pool 2.0 Classical Mode?

    <handlers accessPolicy="Read, Script">
      <remove name="StaticFile" />
      <add name="ASP.NET-ISAPI-2.0-Wildcard"
         path="*" verb="GET,HEAD,POST,DEBUG"
         preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
      <add name="StaticFile" 
         path="*" verb="*" 
         resourceType="Either" requireAccess="Read" />

I have added the given code in my web.config, after that it gives the 500 Internal server error...

Probably an error in your config, did you add it into <system.webServer>? Can you post what you have? Sorry just realised I gave you wrong link as well, I'll fix.

have a look a the error message, or post your config.

just realised in your question you refer to .net 2.0, routing is only available in 3.5 SP1 - are you using that?