Pages

Wednesday, September 22, 2010

aspnet_regiis

aspnet_regiis

we have come across this term times more than our Birthday's. Running "aspnet_regiis -i" is not a good option. WHY?

Effect: When you will run aspnet_regiis -i , it will associate all websites on the box with the framework from where the command was run.You have two different flavors available to you locating C:\Windows\Microsoft.NET\Framework\v1.1.4322\ and \v2.0.50727. The one from where you will run will associate to all websites on Box.

Then What should I do
Following option will registers script map for our Application.
Aspnet_regiis -s W3SVC/1/ROOT/SampleApp1 
while aspnet_regiis -ir -enable - Installs ASP.NET version with root and enables it.



So you can decide what you need ! whole Box or one Website.




**My all solutions comes with 'AS IS' warranty only. You may use them on your risk.

No comments:

Post a Comment