tags:

views:

11

answers:

0

Hello,

In my application, I want to remove all the Application Mappings except one mapping, for a virtual application. I wrote a piece of code, to get the mappings collection that uses DirectoryEntry and PropertyValueCollection objects. I use Remove method iteratively on the collection to remove all mappings except the one that i want. Now the problem is, the code works fine on IIS 6 but not works as expected on IIS 7. The Handler Mapping Section on IIS 7 shows many other entries with what i added. What is the difference between what we see in Application mappings in IIS 6 and Handler mappings in IIS 7?

Please Help.