Error Acessing Central Admin after running Microsoft Update
This weekend, I ran installed the Automatic updates that had been collecting on my Sharepoint server for quite a while. This morning users said that Sharepoint was down. When I try to connect to Central Admin, I get this: Server Error in '/' Application. Another component has already added an HttpSessionState to the context. Please make sure only one session state module should be registered. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Another component has already added an HttpSessionState to the context. Please make sure only one session state module should be registered.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [HttpException (0x80004005): Another component has already added an HttpSessionState to the context. Please make sure only one session state module should be registered.] System.Web.SessionState.SessionStateUtility.AddHttpSessionStateToContext(HttpContext context, IHttpSessionState container) +129 System.Web.SessionState.SessionStateModule.InitStateStoreItem(Boolean addToContext) +280 System.Web.SessionState.SessionStateModule.CompleteAcquireState() +78 System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +504 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +66 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155 I have searched for this error and not found anything helpful. I also was getting an error browsing to our regular Sharepoint sites, but fixed that by rolling the web.config file to before the update.Any help would be appreciated.
March 8th, 2010 9:11pm

The update probably messed with your web.config file. Edit the web.config file and search for "HttpSessionState". You should come up with more than one hit. Comment the superfluous one out and save the web.config. Try accessing CA again. In case you don't know, the CA web.config is usually stored in C:\inetpub\wwwroot\wss\VirtualDirectories\... I trust that answers your question...ThanksChttp://www.cjvandyk.com/blog
Free Windows Admin Tool Kit Click here and download it now
March 9th, 2010 12:41am

In my case I did not have multiple entries of session. I was able to resolve the problem by removing the only entry of session. Basically I was able to get this working by removing the following line: <add name="Session" type="System.Web.SessionState.SessionStateModule" /> From my central admin web.config (C:\inetpub\wwwroot\wss\VirtualDirectories\45527\web.config). So the final version looks like this: <system.webserver> ... <modules runAllManagedModulesForAllRequests="true"> <remove name="AnonymousIdentification" /> <remove name="FileAuthorization" /> <remove name="Profile" /> <remove name="WebDAVModule" /> <remove name="Session" /> <add name="SPRequestModule" preCondition="integratedMode" type="Microsoft.SharePoint.ApplicationRuntime.SPRequestModule, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <add name="SharePoint14Module" preCondition="integratedMode" /> <add name="StateServiceModule" type="Microsoft.Office.Server.Administration.StateModule, Microsoft.Office.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> <add name="PublishingHttpModule" type="Microsoft.SharePoint.Publishing.PublishingHttpModule, Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> <!-- <add name="Session" type="System.Web.SessionState.SessionStateModule" /> --> </modules> http://rapidapplicationdevelopment.blogspot.com
August 16th, 2010 11:09pm

Thanks Lee This worked fine for me and saved lots of time of error searching. I appreciate the sharing of your experience
Free Windows Admin Tool Kit Click here and download it now
September 27th, 2011 9:39am

:) You're welcome. I barely remember posting this, but very glad it helped. Feel free to vote as helpful or propose as answer.http://rapidapplicationdevelopment.blogspot.com
September 27th, 2011 10:18am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics