Adsiedit

Checking Windows Server 2012 Active Directory Schema Version

There are two ways to determine your Active Directory Schema version; one is via the dsquery command-let and the other by ‘adsiedit.msc’ tool. 1. Using the dsquery commandlet – Run the following command from within the command prompt: dsquery * cn=schema,cn=configuration,dc=,dc= -scope base -attr objectVersion Replace ‘‘ and ‘‘ with your domain name details The version for Windows Server 2012 shows 56 See full version list for other Windows Servers: Windows Server 2012  56 Windows 2008 R2 47 Windows 2008 44 Windows 2003 R2 31 Windows 2003 30 Windows 2000 13 2.

A potentially dangerous Request Form value was detected from the client

I was working on an upgrade on an application and after the upgrade, I tried logging in to test the application only to be greeted with the following errors: Error1: A potentially dangerous Request.Form value was detected from the client (wresult=” Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (wresult=” Error2: Exception message: The request does not contain a claim with the name: http://schemas.sysads.co.uk/ws/2013/01/identity/claims/cc_locale Interestingly other users where able to log into the same application without any error :(, so the above errors didn’t make any sense to me :?