Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1446

WebContextHandler returns "Request is not available in this context" under IIS7 + Integrated Pipeline mode

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.0, 1.3.1
    • Fix Version/s: 1.3.2
    • Component/s: Spring-NET-WEB
    • Labels:
      None

      Description

      Changes in the lifecycle of the the scope of the HttpContext.Request object under IIS7 in integrated pipeline mode result in "Request is not available in this context" exceptions when the Request is depended upon in Application_Start(). This has broken WebContextHandler in this use-case.

      See http://mvolo.com/blogs/serverside/archive/2007/11/10/Integrated-mode-Request-is-not-available-in-this-context-in-Application_5F00_Start.aspx for info on a possible pattern employed to address the issue of attempting to access the HttpContext.Request object before its been properly created under IIS7 + integrated pipeline mode. This pattern was successfully employed to resolve a similar issue for the MvcContextHandler under SPRNET-1443.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sbohlen Steve Bohlen
                Reporter:
                sbohlen Steve Bohlen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: