I'm trying to figure out the right process to install asp.net 3.5 on win2012 from command line
http://learn.iis.net/page.aspx/1097/iis-80-using-aspnet-35-and-aspnet-45/
ASP.NET 3.5 - This option enables ASP.NET 3.5 to run on IIS 8.0. Note that with Windows Server 8, .NET Framework 3.5 is not available as a part of the base OS image. Instead, the payload is downloaded from the Internet and you need to connect to the Internet.
Here is the command I run
Add-WindowsFeature Net-Framework-Core -Source C:\Apps\NetFramework
Here is the error
Install-WindowsFeature : The request to add or remove features on the specified server failed. Installation of one or more roles, role services, or features failed. - The source files could not be downloaded. Use the /source option to specify the location
of the files that are required to restore the feature. The file location should be either the root directory of a mounted image or a component store that has the Windows Side-by-Side
directory as an immediate subfolder.
At line:1 char:1
+ Add-WindowsFeature Net-Framework-Core -Source C:\Apps\NetFramework\dotnetfx35set ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (18d4ddff-e072-4e22-a36a-2d431fc63e50:Guid) [Install-WindowsFeature],
Exception
+ FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
owsFeatureCommand
I get this when running Get-WindowsFeature(removed)?
[ ] .NET Framework 3.5 Features NET-Framework-Features Available
[ ] .NET Framework 3.5 (includes .NET 2.0 and 3.0) NET-Framework-Core Removed
[ ] HTTP Activation NET-HTTP-Activation Available
[ ] Non-HTTP Activation NET-Non-HTTP-Activ Available