After installing the Bamboo Alerts Plus Web part into our SharePoint environment, one of our portals displayed the following error message.
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.
I then tried commenting out the Session line as shown below
This fixed the error message but prevented the web part from working.
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
This allowed the web part to function as it should.
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.