How to Install and Register ASP.Net With IIS
Join the DZone community and get the full member experience.
Join For Freethis article explains how to register asp.net with iis when installing asp.net in iis so that an asp.net page can make a request to recognize or respond from iis. if it is not registered with an internet information services then when you make an asp.net page request to the web server (iis) then the web server will not get a response. and also we will get the error as in the following.
asp.net 2.0
“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.”
(or)
asp.net 4.0
“asp.net 4.0 has not been registered on the web server. you need to manually configure your web server for asp.net 4.0 in order for your site to run correctly”
note: it is an available version of asp.net on your system.
solutions procedure
to find the location for the aspnet_regiis.exe file, go to the location c:\windows\microsoft.net as in the following:
kindly check, based on your system's bits (32 0r 64) for the .net framework location.
kindly check whether you're using an asp.net version with iis and based on that you have opened the specified version folder.
go to a visual studio command prompt
copy and paste to the visual studio command prompt.
then enter.
you have finished the installation of asp.net.
Opinions expressed by DZone contributors are their own.
Trending
-
4 Expert Tips for High Availability and Disaster Recovery of Your Cloud Deployment
-
Which Is Better for IoT: Azure RTOS or FreeRTOS?
-
RAML vs. OAS: Which Is the Best API Specification for Your Project?
-
What to Pay Attention to as Automation Upends the Developer Experience
Comments