Results 1 to 10 of 10

Thread: [RESOLVED] ASP.NET 4.0 Web extension is not enabled on the Web server Error

  1. #1

    Thread Starter
    "The" RedHeadedLefty
    Join Date
    Aug 2005
    Location
    College Station, TX Preferred Nickname: Gig Current Mood: Just Peachy Turnons: String Manipulation
    Posts
    4,495

    Resolved [RESOLVED] ASP.NET 4.0 Web extension is not enabled on the Web server Error

    We have installed the .net 4.0 framework and registered asp.net 4.0 to IIS using aspnet_regiis, but we keep getting this error when we try to create a new (or upgrade an existing) project on our development box.

    "The ASP.NET 4.0 Web extension is not enabled on the Web server. <our site address> is targeting ASP.NET 4.0.

    Do you want to enable ASP.NET on the Web Server?"


    When we hit "Yes", it pulls up another message of:

    "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, Press F1 for more details."

    Any ideas? That particular message pulls up nothing in a Google search...

  2. #2
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: ASP.NET 4.0 Web extension is not enabled on the Web server Error

    Hey,

    What version of IIS are you using?

    When you ran aspnet_regiis, did you use any command line arguments?

    Gary

  3. #3

    Thread Starter
    "The" RedHeadedLefty
    Join Date
    Aug 2005
    Location
    College Station, TX Preferred Nickname: Gig Current Mood: Just Peachy Turnons: String Manipulation
    Posts
    4,495

    Re: ASP.NET 4.0 Web extension is not enabled on the Web server Error

    I'm using IIS7 on Server 2008 R2. The more I read, the more I find that aspnet_regiis shouldn't be needed for IIS7. Is this correct?

    I am in the middle of rebooting after an asp.net feature removal and re-install on the server, as well as a .NET framework 4 repair, and I'll see how that goes.

  4. #4
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: ASP.NET 4.0 Web extension is not enabled on the Web server Error

    Out of curiousity, what order did you install things?

    IIS first, then .Net 4.0? Or 4.0 and then IIS?

    Historically, I have seen issues with the order of installation with IIS 6, but I haven't yet ran into one with IIS7.

    Gary

  5. #5

    Thread Starter
    "The" RedHeadedLefty
    Join Date
    Aug 2005
    Location
    College Station, TX Preferred Nickname: Gig Current Mood: Just Peachy Turnons: String Manipulation
    Posts
    4,495

    Re: ASP.NET 4.0 Web extension is not enabled on the Web server Error

    IIS first, then .NET 4. Had ASP.NET dev sites working fine using ASP.NET 2.0. Tried to get 4.0 sites working and ran into the error.

  6. #6

    Thread Starter
    "The" RedHeadedLefty
    Join Date
    Aug 2005
    Location
    College Station, TX Preferred Nickname: Gig Current Mood: Just Peachy Turnons: String Manipulation
    Posts
    4,495

    Re: ASP.NET 4.0 Web extension is not enabled on the Web server Error

    Ok, I completely removed the ASP.NET feature from the web server, reinstalled, and repaired .NET 4.0, and the error still persists. The 4.0 application pools are all there, and I am able to choose between ASP.NET 2.0 or 4.0 for the version for the pools. Everything seems to be installed correctly, but when I try to create or open a 4.0 site remotely, the error appears, with the same thing.
    Last edited by gigemboy; Jul 8th, 2010 at 09:19 AM.

  7. #7

    Thread Starter
    "The" RedHeadedLefty
    Join Date
    Aug 2005
    Location
    College Station, TX Preferred Nickname: Gig Current Mood: Just Peachy Turnons: String Manipulation
    Posts
    4,495

    Re: ASP.NET 4.0 Web extension is not enabled on the Web server Error

    On top of that, a default 4.0 web application that is created has the error, but then finishes being created. I can still debug that application, and the application appears to run fine, but the error persists every time we open or create a 4.0 app.

  8. #8
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: ASP.NET 4.0 Web extension is not enabled on the Web server Error

    Hmmm, very strange.

    I have really only just started playing with IIS 7, so not really sure how much I can add to this, sorry.

    Gary

  9. #9

    Thread Starter
    "The" RedHeadedLefty
    Join Date
    Aug 2005
    Location
    College Station, TX Preferred Nickname: Gig Current Mood: Just Peachy Turnons: String Manipulation
    Posts
    4,495

    Re: ASP.NET 4.0 Web extension is not enabled on the Web server Error

    I was able to fix it. I figured there were issues due to Server 2K8 UAC and trying to open it remotely, so I installed Visual Web developer express, ran it as an admin, and opened up the 4.0 site, and was able to get click Yes on the error message and it registered what it needed to correctly. We can now create sites fine without the errors.

  10. #10
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] ASP.NET 4.0 Web extension is not enabled on the Web server Error

    Ah, good to know.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width