If you are trying to install SharePoint Foundation 2010 Pre-requisites and getting the below error:
Application Server Role, Web Server (IIS) Role: configuration error. The tool was unable to install Application Server Role.Web Server (IIS) Role.
You are using Windows Server 2012 machine and also has IIS 7.0 installed.
Currently, Enterprise Portal is supported only with SharePoint 2010, which is not supported on WindowsServer 2012. Computers where you plan to install Enterprise Portal must run Windows Server 2008 R2 orWindows Server 2008. For more information about SharePoint compatibility with Windows Server 2012,see Microsoft Knowledge Base article number 2724471
SPS 2010 Foundation will support Win 2012 with sp2 not relaesed yet.
Application Server Role, Web Server (IIS) Role: configuration error. The tool was unable to install Application Server Role.Web Server (IIS) Role.
You are using Windows Server 2012 machine and also has IIS 7.0 installed.
Currently, Enterprise Portal is supported only with SharePoint 2010, which is not supported on WindowsServer 2012. Computers where you plan to install Enterprise Portal must run Windows Server 2008 R2 orWindows Server 2008. For more information about SharePoint compatibility with Windows Server 2012,see Microsoft Knowledge Base article number 2724471
SPS 2010 Foundation will support Win 2012 with sp2 not relaesed yet.