Error:
Unable to create the virtual directory. ASP.NET 2.0 has not been registered on the Web server. You need to manually configure you Web server for ASP.NET 2.0 in order for your site to run correctly.
Fix:
Open Command Prompt in Admin mode
Navigate to C:\Windows\Microsoft.Net\Framework\
To identify the framework versions installed, type dir /ad
Navigate to the required framework folder
> cd v2.0.50727
Run asp.net registration tool
> aspnet_regiis /i
This will install the asp.net of the selected framework into IIS
Notes:
.Net framework 2.0, 3.0 and 3.5, uses CLR 2.0
.Net framework 4.0 and 4.5 uses CLR 4.0
No comments:
Post a Comment