MOSS配置注意事项
1.修改web.config
修改的web.config内容
1
2 <connectionStrings>
3 <remove name="LocalSqlServer" />
4 <add name="LocalSqlServer" connectionString="Server=NJKYS\officeservers; Integrated Security=SSPI; Database=WSS_CONTENT_PARTY;" providerName="System.Data.SqlClient" />
5 </connectionStrings>
6
7 <system.web>
8
9 <membership defaultProvider="CustomAspNetSqlMembershipProvider">
10 <providers>
11 <add name="CustomAspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer"
12 enablePasswordRetrieval="true"
13 enablePasswordReset="true"
14 requiresQuestionAndAnswer="false"
15 applicationName="/"
16 requiresUniqueEmail="false"
17 passwordFormat="Encrypted"
18 maxInvalidPasswordAttempts="5"
19 minRequiredPasswordLength="1"
20 minRequiredNonalphanumericCharacters="0"
21 passwordAttemptWindow="10"
22 passwordStrengthRegularExpression="" />
23 </providers>
24 </membership>
25
26 <customErrors mode="Off" />
27
28 <add name="Session" type="System.Web.SessionState.SessionStateModule" />
29
2 <connectionStrings>
3 <remove name="LocalSqlServer" />
4 <add name="LocalSqlServer" connectionString="Server=NJKYS\officeservers; Integrated Security=SSPI; Database=WSS_CONTENT_PARTY;" providerName="System.Data.SqlClient" />
5 </connectionStrings>
6
7 <system.web>
8
9 <membership defaultProvider="CustomAspNetSqlMembershipProvider">
10 <providers>
11 <add name="CustomAspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer"
12 enablePasswordRetrieval="true"
13 enablePasswordReset="true"
14 requiresQuestionAndAnswer="false"
15 applicationName="/"
16 requiresUniqueEmail="false"
17 passwordFormat="Encrypted"
18 maxInvalidPasswordAttempts="5"
19 minRequiredPasswordLength="1"
20 minRequiredNonalphanumericCharacters="0"
21 passwordAttemptWindow="10"
22 passwordStrengthRegularExpression="" />
23 </providers>
24 </membership>
25
26 <customErrors mode="Off" />
27
28 <add name="Session" type="System.Web.SessionState.SessionStateModule" />
29
2.Web应用程序常规设置
网页安全验证:禁用.