Try this helpful little tidbit. SPUtility.GetGenericSetupPath(@”TEMPLATEFEATURES”); Please Share This Share this content Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window You Might Also Like System.ServiceModel.ServiceActivationException: The service ‘/SecurityTokenServiceApplication/securitytoken.svc’ cannot be activated due to an exception during compilation. June 4, 2014 Ever wondered how to write code against the BDC? March 3, 2009 SharePoint Field Types June 3, 2012
System.ServiceModel.ServiceActivationException: The service ‘/SecurityTokenServiceApplication/securitytoken.svc’ cannot be activated due to an exception during compilation. June 4, 2014