HTTP Error 500.19 - Internal Server Error

by graham
When adding a site to IIS 7 (simple html page in a location outside of inetpub) I got the following error: Server Error HTTP Error 500.19 - Internal Server Error Description: The requested page cannot be accessed because the related configuration data for the page is invalid. Error Code:... [More]

Remove inline css from .net validation

by graham
To ensure that .Net validators (asp:RequiredFieldValidator or asp:RegularExpressionValidator) do not output "color: red" in their html you can disable this by adding ForeColor="" to the validator (though it is recommended this is added to all validators using an App_Theme).