views:

10004

answers:

5

Hi.,

I have a web-page application already created, but when I open it in visual studio 2008, it says there that:

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.

I'm using asp.net 2.0, IIS7 and running on vista home premium.

How to register ASP.NET 2.0 to my web server(IIS7)?

A: 

If you installed IIS after the .Net framework you can solve the porblem by re-installing the .Net framework. Part of its install detects whether IIS is present and updates IIS accordingly.

sipwiz
+14  A: 
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -ir


EDIT: aspnet_regiis.exe should no longer be used with IIS7 to install ASP.NET

Open Control Panel
  Programs\Turn Windows Features on or off
    Internet Information Services
      World Wide Web Services
        Application development Features
          ASP.Net <-- check mark here
Darin Dimitrov
That worked with IIS 5, but is it adequate with IIS 7? Does it enable all of the features that will be necessary? They're disabled by default in IIS 7.
John Saunders
there is an error when i did that. it says that: "An error has occured: 0x800702e4 the requested operation requires elevation."
Thank you so much., it worked like magic.,
Darin, sorry for re-opening this problem again, but I have the same problem here and while trying to follow your suggestion I've figured out that I have no WWW services -> Application development Features available anywhere.... any chance to provide the full paths again and possibly a bit more detailed?[Windows Server 2007 / IIS7 ]thanks!
belzebu
mea culpa... found it.. I was temporarily blinded : )
belzebu
A: 

i can find ASP.net but .NET extensibility instead - are they the same? thanks

akmal
A: 

I got it resolved by doing Repir on .NET framework Extended, in Add/Remove program ;

Using win2008R2, .NET framework 4.0

Sanjay10
A: 

Open Control Panel - Programs - Turn Windows Features on or off expand - Internet Information Services expand - World Wide Web Services expand - Application development Features check - ASP.Net

Its advisable you check other feature to avoid future problem that might not give direct error messages Please don't forget to mark this question as answered if it solves your problem for the purpose of others

Francis Frank