Monday, July 27, 2009

How to access IIS's aspnet_regiis utility?

I just installed IIS 5.0 and want to use the aspnet_regiis.exe command utility to register ASP.Net file mappings with IIS.





According to the asp.net book I have, the directory of the utility is:


C:\Program Files\Microsoft.NET\Framework\[Version]\... -i





However, when I checked the directory, there is no Framework folder inside the Microsoft.NET folder.





I have installed MS Visual Studio 2005 before installing IIS. Is there a way to access the utility?

How to access IIS's aspnet_regiis utility?
This is a command prompt utility. To run it go to:


Programs %26gt; Visual Studio 2005 %26gt; Visual Studio tools %26gt; Visual Studio 2005 command prompt





type: aspnet_regiis





if you need to supply special arguments to it, check online help.





Hope this helps.
Reply:The above answer is right on, but your book is incorrect on the location of aspnet_regiis.exe. It can be found here:





C:\WINDOWS\Microsoft.NET\Framework\%26lt;fr... version here%26gt;\aspnet_regiis.exe

quince

No comments:

Post a Comment