Changing ASP.NET version in ASP.NET tab of IIS has no effect
I ran into another similar issue while playing around and thought I must share...
By default, when you open IIS Manager, right click on any Virtual Directory and click on Properties it would show the following dialog box. Note that, I have activated the ASP.NET tab and the ASP.NET Version is showing as blank!!! I have Framework 2.0 installed on my box and if I select that in the ASP.NET version tab, and click on Okay... the settings just won't take effect. I mean, if you open the properties for the same VD again, the changes will be gone!!!
To get to the root cause, here is what I tried...
1. Open the command prompt
2. Go to <WINDOWS FOLDER>\Microsoft.NET\Framework\v2.0.50727
3. Execute the following command... aspnet_regiis -s <path>
This will install scriptmaps for this version at the specified path,recursively. E.g. aspnet_regiis.exe -s w3svc/1/root/configuration
4. I got the following error message (this was my actual intent and I was assuming that if there is any error message swallowed by the GUI, the command prompt will reveal it).
Start registering ASP.NET scriptmap (2.0.50727) recursively at w3svc/1/root/configuration.
An error has occurred: 0x80070005 Access is denied.
5. Thankfully, this is something I was aware of (lots of KBs - 257757 talks about it in brief, but you will get the idea)
The fix of this issue is already given in this post.
Hope that helps!
Until next time
-Rahul
Share this post : |