brianlala / AutoSPInstaller

Automated SharePoint 2010/2013/2016/2019/SE PowerShell-based installation script.
https://autospinstaller.com
MIT License
170 stars 80 forks source link

WS2019 - Sharepoint 2013 Standard IIS problem #52

Closed journeym closed 4 years ago

journeym commented 4 years ago

WS2019 - Sharepoint 2013 Standard Script is unable to pass the error, tried a few restarts, does not change anything WARNING: 2019-12-18 11:57:17 - Error when enabling ASP.NET v4.0.30319 WARNING: 2019-12-18 11:57:17 - Error: The tool was unable to install Application Server Role, Web Server (IIS) Role. WARNING: 2019-12-18 11:57:17 - Last return code (1) Full log: AutoSPInstaller-2019-12-18_11-31.log

journeym commented 4 years ago

Ok, it seems your script doesnt do that (required windows feature installation) I did that using the below code `Import-Module ServerManager

Add-WindowsFeature NET-WCF-HTTP-Activation45,NET-WCF-TCP-Activation45,NET-WCF-Pipe-Activation45

Add-WindowsFeature Net-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer`

journeym commented 4 years ago

Seems it's not possible to install sharepoint 2013 to ws 2019. It fails to create iis site

There is no file with URL '_catalogs/masterpage/minimal.master' in this Web

I downgraded to ws2016, and now everything works ok.