I am planning to migrate our windows 2003 server (with IIS 6) to windows 2008 (with IIS7). I have found that with this msdeploy migration tool. With this tool can export my websites package on to newer machine, but the problem is I have hundreds of virtual directories in IIS6 which are not necessary now, since I am using asp.net routing feature with new IIS7;I don't want to move all the crappy virtual directories on the new machine and take advantage of new features. I am not able to find any solution to do this cleanly, any help is appreciated.

link|improve this question
feedback

migrated from stackoverflow.com Oct 17 '11 at 15:37

This question came from our site for professional and enthusiast programmers.

1 Answer

It's probably quicker to migrate the lot and script the removal of virtual directories in IIS7 that you no longer require, and then modify the web.config for Asp.net4 routing.

link|improve this answer
Yes, this seems to be the only choice. – Akshay Oct 20 '11 at 15:02
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.