<errorFilter>
<test>
<and>
<is-type binding='Exception'
type='System.Web.HttpException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' />
<regex binding='Exception.Message'
pattern='invalid\s+viewstate'
caseSensitive='false' />
<regex binding='Context.Request.UserAgent'
pattern='Trident/4(\.[0-9])*'
caseSensitive='false' />
</and>
</test>
</errorFilter>
I am using this filter to serve the same purpose:
<errorFilter>
<test>
<and>
<regex binding="Context.Request.ServerVariables['HTTP_USER_AGENT']" pattern="Trident\/4\.0" />
<equal binding="Context.Request.ServerVariables['URL']" value="/MyApp/ScriptResource.axd" type="String" />
</and>
</test>
</errorFilter>
We only check that the browser is IE8 and that the URL is ScriptResource.axd because we see errors other than invalid view state (Base64 errors I think). You could toss an <or> in there if you want to also include webresoruce.axd.
-Tony