You just added a Razor web page to a traditional ASP.NET project and now you get this error.
A new section has been added to your
Web.config file. Modify it like so:
<appSettings> <add key="webpages:Enabled" value="true" /> <add key="enableSimpleMembership" value="false" /> </appSettings>