Link to home
Create AccountLog in
Avatar of String :-)
String :-)Flag for Australia

asked on

Enable ASP.NET 4.6. on Server 2012 R2?

Hey Team,

Just after some consult for a task im doing.

I need to upgrade some software on a server, and the instructions from vendor say to:

Register ASP.NET With IIS
#
 Start the Server Manager.

# Navigate to Manage > Add Roles and Feature > Server Roles

# Navigate to Web Server (IIS) > Web Server > Application Development
#
Enable ASP.NET 4.6.


My server though is running 2012 R2 and only has ASP.NET 4.5 available as an option (which is already installed with IIS).

Server also already has .netframework 4.6.1 installed.

The vendors documentation doesnt mention .netframework, only ASP.net 4.6 feature.

Is this the same thing?
Cheers
String

Avatar of String :-)
String :-)
Flag of Australia image

ASKER

Further diagnostics below:

(Get-ItemProperty "HKLM:Software\Microsoft\NET Framework Setup\NDP\v4\Full").Version

Result
4.6.01055  = 4.6.1


Get-WindowsFeature

[X] Web Server (IIS)                                    Web-Server                     Installed
    [X] Web Server                                      Web-WebServer                  Installed
        [X] Common HTTP Features                        Web-Common-Http                Installed
            [X] Default Document                        Web-Default-Doc                Installed
            [ ] Directory Browsing                      Web-Dir-Browsing               Available
            [X] HTTP Errors                             Web-Http-Errors                Installed
            [X] Static Content                          Web-Static-Content             Installed
            [X] HTTP Redirection                        Web-Http-Redirect              Installed
            [ ] WebDAV Publishing                       Web-DAV-Publishing             Available
        [X] Health and Diagnostics                      Web-Health                     Installed
            [X] HTTP Logging                            Web-Http-Logging               Installed
            [X] Custom Logging                          Web-Custom-Logging             Installed
            [X] Logging Tools                           Web-Log-Libraries              Installed
            [X] ODBC Logging                            Web-ODBC-Logging               Installed
            [X] Request Monitor                         Web-Request-Monitor            Installed
            [X] Tracing                                 Web-Http-Tracing               Installed
        [X] Performance                                 Web-Performance                Installed
            [X] Static Content Compression              Web-Stat-Compression           Installed
            [ ] Dynamic Content Compression             Web-Dyn-Compression            Available
        [X] Security                                    Web-Security                   Installed
            [X] Request Filtering                       Web-Filtering                  Installed
            [X] Basic Authentication                    Web-Basic-Auth                 Installed
            [ ] Centralized SSL Certificate Support     Web-CertProvider               Available
            [ ] Client Certificate Mapping Authentic... Web-Client-Auth                Available
            [X] Digest Authentication                   Web-Digest-Auth                Installed
            [ ] IIS Client Certificate Mapping Authe... Web-Cert-Auth                  Available
            [ ] IP and Domain Restrictions              Web-IP-Security                Available
            [ ] URL Authorization                       Web-Url-Auth                   Available
            [X] Windows Authentication                  Web-Windows-Auth               Installed
        [X] Application Development                     Web-App-Dev                    Installed
            [ ] .NET Extensibility 3.5                  Web-Net-Ext                    Available
            [X] .NET Extensibility 4.5                  Web-Net-Ext45                  Installed
            [X] Application Initialization              Web-AppInit                    Installed
            [X] ASP                                     Web-ASP                        Installed
            [ ] ASP.NET 3.5                             Web-Asp-Net                    Available
            [X] ASP.NET 4.5                             Web-Asp-Net45                  Installed
            [X] CGI                                     Web-CGI                        Installed
            [X] ISAPI Extensions                        Web-ISAPI-Ext                  Installed
            [X] ISAPI Filters                           Web-ISAPI-Filter               Installed
            [X] Server Side Includes                    Web-Includes                   Installed
            [X] WebSocket Protocol                      Web-WebSockets                 Installed
Avatar of arnold
4.5 is the installed version, but the updates as you note reflect that you have 4.6
look at the web.config and there If not mistaken, you can set the .net framework version you need.

Site application settings is where you can check the .net framework.

Do you have a test environment where you can set this up?
Hi Arnold,
Thanks for taking interest in my issue.

Are you saying "ASP.NET 4.6" windows feature under IIS is the same thing as .net framework that was installed using an offline installer?
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
I am having trouble reaching the vendor to clarify if Server 2012 R2 is supported by this software, thus my reaching out for help.

The above is really good research and gives me confidence to snap the server and move forward with upgrade.
Massive thanks @arnold.
If you are going to a newer version of a product, test it first..
Yer thanks. This is a test environment. and Im taking snaps before I do.
Cheers
String
The above is really good research and gives me confidence to snap the server and move forward with upgrade.
Massive thanks @arnold.