The requested service, 'http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas' could not be activated

Topics: Support
Feb 17, 2014 at 6:27 PM
Edited Feb 17, 2014 at 7:03 PM
I was getting this error, my virtual machine only had 2 GB of RAM, this was partially why, but rather than increasing the memory (which I couldn't do because didn't have any to increase too), I followed the advice listed here: http://support.microsoft.com/kb/2520344/en-us
and here: http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1d954da9-2fb7-4208-b52f-6a18a24bcb54/the-requested-service?forum=sharepointgeneralprevious

after navigating to http://localhost:<port>/SecurityTokenServiceApplication/securitytoken.svc.

I was able to get the SP 2013 AutoSPInstaller to install without error.

was going to try this next: http://sharepointfundamental.wordpress.com/2012/09/01/the-requested-service-httpservice-svc-could-not-be-activated-see-the-servers-diagnostic-trace-logs-for-more-information/
Marked as answer by StaceMeister on 2/17/2014 at 10:31 AM
Mar 25, 2015 at 7:47 PM
It turned out that the appPool that is running the SercurityTokenTokenService was running as LocalSystem -- when I changed the account to a domain account, the script on the WFE ran to completion -- Now to find out WHY the AppPool is set to run under that account.. It is NOT specified anywhere in the .xml file so it has to be grabbing it from the environment - either one of the runas accounts in SCVMM or somewhere in one of the prior application steps.