In the post
http://forums.iis.net/t/1152682.aspx I've described situation when URL Rewriter + ARR do not allow managed module to work.
Any managed module causes
400.0 error whith "ASP.NET detected invalid characters in the URL"
with exception in event log:
at System.Web.Security.CookielessHelperClass.RemoveCookielessValuesFromPath()
at System.Web.HttpContext.Init(HttpRequest request, HttpResponse response)
at System.Web.HttpContext..ctor(HttpWorkerRequest wr, Boolean initResponseWriter)
at System.Web.Hosting.PipelineRuntime.CreateContext(IIS7WorkerRequest wr, IntPtr nativeRequestContext)
Seems that path is empty in that situation. Is it bug of URL Rewriter, or it is ARR problem?