Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am rolling out .NET 4 to around 60 servers, and I need register the .mvc extension to run with ASP.NET on each server after the install.

Does anyone know a way to do this from the command line? Is it possible?

I looked at the aspnet_regiis tool, but it doesn't seem to promising past installing/uninstalling ASP.NET.

Thanks in advance for your help.

share|improve this question
up vote 2 down vote accepted

The command line tool in IIS6 is c:\inetpub\adminscripts\adsutil.vbs. Just run it without any parameters to get some basic help.

It's ScriptMaps that are used, and you'll just need to copy the current .aspx script map but save it with a .mvc extension.

share|improve this answer
    
Thanks, I totally forgot about this tool. – IronicMuffin May 24 '11 at 13:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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