一、修改网站应用程序根目录的Web.config
- 启用SessionStateModule
<!--
<add name="Session" type="System.Web.SessionState.SessionStateModule"/>
--> - 启用SessionState
<pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="true" /> - 设置Turst为Full级别
<trust level="Full" originUrl="" />
二、排除WebApplication folder
- On the server that is running WSS, click Start, click Administrative Tools, and then click SharePoint Central Administration.
- In the Virtual Server Configuration area, click Configure virtual server settings.
- In the Virtual Server List list, click the virtual server that you must add the excluded paths to.
- Under Virtual Server Management, click Define managed paths.
- In the Add a New Path section, type the path that you want to exclude in the Path box.
- Click Excluded Path, and then click OK.
博客主要介绍了两项内容,一是修改网站应用程序根目录的Web.config,包括启用SessionStateModule和SessionState,设置Trust为Full级别;二是在运行WSS的服务器上排除WebApplication folder,通过SharePoint Central Administration进行相关路径设置。
1万+

被折叠的 条评论
为什么被折叠?



