- This topic is empty.
- 05/11/2010 at 3:18 am #3838
Finnally got pat the first Web Part Not safe error by pushing the WSP directly, now I’m getting this in the control display: The following error occurs: Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration.
- 05/11/2010 at 3:18 am #4859
In order for the web part to work, it requires that we enable Session in the web.config. The Shared Web Parts Installer does not include the Configuration Editor tool which allows you to modify SharePoint web.config file accordingly with nice user interface.
Please follow the instruction below and make sure you back up the web.config first.
1. Locate the web.config file that is corresponding the the SharePoint web page you are testing with Quest Web Part.
2. Save a backup copy of the web.config and open it with your favorite editor.
3. Locate the element tag <httpModules> in the web.config by performing search for, i.e. "Session" or "httpModules"
<add name="Session" type="System.Web.SessionState.SessionStateModule" />
4. If you do not have the module named "Session", add it as shown above or simply uncomment it out if it is there but commented out.
5. Locate the element tag <pages> in the web.config
<pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" …>
6. Make sure you set "enableSessionState" equals to "true".
7. You should now be able to use the qDiscussionView web part.
You must be logged in to reply to this topic.