What does aspnet_regiis.exe do exactly other than updating the document mappings to correct aspnet_isapi.dll version, is updating the ASP.NET version from inetmgr same as running aspnet_regiis, I could not find any blog post or article describing the steps this particular batch command does. Please give any links you know of detailing the steps of aspnet_regiis.exe
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
- How to dynamically load partial view Via jquery aj
My favorite feature of it, is the ability to encrypt settings in web.config something along the lines of:
aspnet_regiis -pe /myapprootvirtualdirector
and decrypt is -pd
encrypt only after deployment to the server - as encrypting on one machine won't be valid on the other unless you share machine keys.
From MSDN reference:
From Scott Forsyth's blog:
It can also repair an install of aspnet.
Sometimes it just breaks and you need to run aspnet_regiis -i or -ir to fix it.
I Faced an issue where
localhost
was not running(i.e. the website did not load).I had installed
IIS 10.0 express
after I had installedVisual Studio
along with.NET framework
.Due to this later installation of
IIS
,localhost
did not load.I ran
aspnet_regiis -i
under the pathC:\Windows\Microsoft.NET\Framework64\v4.0.30319
This sucessfully solved the issue.
aspnet_regiis.exe -h
generates the following helpful information about how the utility works internally.It reg isters ASPNET extensions with IIS.