Sharepoint 2016 deploy fails: IIS 10.0 Detailed Error - 500.19 - Internal Server Error

I would appreciate it if anyone could help…

Following the instructions, trying to deploy causes this error:

PS C:\deploy> .\deploy http:\www.xxxxxx.com
Solution not installed
Going to add solution

Name SolutionId Deployed


visigo.sharepoint.formsbase… 956715d5-f34c-4b00-bfb7-8c35d5fa0f62 False
Going to install solution to all web applications
Waiting for job to finish
Waiting to finish job solution-deployment-visigo.sharepoint.formsbasedauthentication.wsp-0…Finished waiting for job…
Deactivating/activating active features to ensure activation script is run
Going to enable Feature
Enable-spfeature : The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is
implemented properly. The first 1024 bytes of the response were: ’

IIS 10.0 Detailed Error - 500.19 - Internal Server Error <!-- body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;} code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} .config_source code{font-size:.8em;color:#000000;} pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 5px;} ul.first,ol.first{margin-top:5px;} fieldset{padding:0 15px 10px 15px;word-break:break-all;} .summary-container fieldset{padding-bottom:5px;margin-top:4px;} legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} legend{color:#333333;;margin:4px 0 8px -12px;_margin-top:0px; font-weight:bold;font-size:1em;} a:link,a:visited{color:#007EFF;font-weight:bold;} a:hover{text-decoration:none;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:'. At C:\deploy\Activate.ps1:29 char:2 + Enable-spfeature -identity $featureName -confirm:$false -url $url + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (Microsoft.Share...etEnableFeature:SPCmdletEnableFeature) [Enable-SPFeature], ProtocolException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletEnableFeature

From the error, what I think happened is that an invalid site collection url was used, so it received an unexpected response from the server. So it looks like the fba pack was installed, but just not activated at the specified site collection. If you login to the site collection as a site collection administrator, go to Site Settings -> Site Collection Features, and activate the Forms Based Authentication Management feature you should be good to go.

Thank you for the quick response. You’re right, pack was installed but I couldn’t assign it to the Site. It turned out to be a spelling error in the Security Token Service config file which was preventing the service to start and function correctly.

Thanks again!