Thursday, 30 June 2011

Another component has already added an HttpSessionState to the context. Please make sure only one session state module should be registered.

After installing the Bamboo Alerts Plus Web part into our SharePoint environment, one of our portals displayed the following error message.

2011 06 30 08 18 44

Naturally I backed up the web.config files manually before installing a third-party application and so I decided to fire up BeyondCompare and look at exactly what changes the web part installation had made.

Session2http1

I then tried commenting out the Session line as shown below

Comment

This fixed the error message but prevented the web part from working.

Alerts plus error

A quick search of the web found this page http://connect.microsoft.com/VisualStudio/feedback/details/357248/context-rewritepath-disables-session-module-in-iis7 confirming that this behaviour is ‘by design’.

I subsequently suffixed the Session value with ‘2’ as shown here within both <modules> and <httpmodules> tags

Session2http

This allowed the web part to function as it should.

Bamboosuccess

Drew Keenan is the Principle Consultant at Total Calibration, a Sydney-based IT Services Organisation specialising in all areas of SharePoint including planning, architecture, information management, branding, workflow, e-forms, integration (including TRIM) training and support.

2 comments:

  1. service ac surabaya sidoarjo
    service ac sidoarjo
    service ac surabaya
    girilaya real groups
    Jasa Cuci ac surabaya sidoarjo
    Jasa Cuci ac sidoarjo
    Jasa Cuci ac surabaya
    Service Chiller Surabaya
    Service cold storage Surabaya
    Service kulkas Surabaya
    Service ice maker Surabaya

    Bila Butuh Jasa Kami Segera Hubungi Nomor Kami Di Bawah

    Telp/Fax 0315461679
    Fleksi 031-70810312/03177249919
    Simpati 081230032650
    Exis 083830316070
    M3 085731878500

    Email: 2007axiio@gmail.com
    Kantor Pusat : Jl Wonorejo 3 / 120,Surabaya ( Daerah Pasar kembang )
    girilaya real groups

    ReplyDelete
  2. Hi to everybody, here everyone is sharing such knowledge, so it’s fastidious to see this site, and I used to visit this blog daily
    http://calibrationtraining.strikingly.com

    ReplyDelete