'analytics' connection string is not defined
Typically developers run into this error in their local environment if they do not have Sitecore Analytics enabled but for some reason have a Sitecore.Analytics.config deployed with the following settings enabled: <!-- ANALYTICS DISABLE DATABASE Disables the database so that no reading or writing to the database occurs. Default: false --> <setting name="Analytics.DisableDatabase" value="false" /> <!-- ANALYTICS ENABLED Determines whether analytics is enabled or not. Default: true --> <setting name="Analytics.Enabled" value="true" /> Simply disabling the Analytics DB by setting the Analytics.DisableDatabase to "true" solved the problem. Here is a related blog post about this error.