BreakHead
BreakHead

Reputation: 10672

web.config system.webServer Vs system.web

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 both

Upvotes: 1

Views: 4165

Answers (1)

BreakHead
BreakHead

Reputation: 10672

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.

Upvotes: 1

Related Questions