I created a Handler if I add Handler in <system.web>
it works fine for IIS 6.0 but doesn't work on IIS 7.0, and Vice Versa if I add in <system.webServer>
. Is there any thing common I can do so that it should work for b开发者_开发知识库oth
Just go with Martin's comment or http://arcware.net/2008/04/08/use-a-single-web-config-for-iis6-and-iis7/
Note: The link above is not working. Looks like he nuked all his old blog posts, but the page can still be accessed via the wayback machine.
精彩评论