解决了远程部署中"语法错误:行1" 的问题.
顺便精简了一下.
1 <system.web>
2 <httpHandlers>
3 <add verb="*" path="atlasglob.axd" type="Microsoft.Web.Globalization.GlobalizationHandler" validate="false"/>
4 </httpHandlers>
5
6 <pages>
7 <controls>
8 <add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
9 </controls>
10 </pages>
11
12 <trace enabled="false" requestLimit="20" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
13 <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" />
14
15 <authentication mode="Forms">
16 <forms name=".ADUAUTH" loginUrl="Login.aspx" protection="All"></forms>
17 </authentication>
18 <authorization>
19 <deny users="?"/>
20 <allow users="*"/>
21 </authorization>
22
23 <customErrors defaultRedirect="errorpage.htm" mode="RemoteOnly" />
24 <compilation debug="false">
25 </compilation>
26 </system.web>
2 <httpHandlers>
3 <add verb="*" path="atlasglob.axd" type="Microsoft.Web.Globalization.GlobalizationHandler" validate="false"/>
4 </httpHandlers>
5
6 <pages>
7 <controls>
8 <add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
9 </controls>
10 </pages>
11
12 <trace enabled="false" requestLimit="20" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
13 <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" />
14
15 <authentication mode="Forms">
16 <forms name=".ADUAUTH" loginUrl="Login.aspx" protection="All"></forms>
17 </authentication>
18 <authorization>
19 <deny users="?"/>
20 <allow users="*"/>
21 </authorization>
22
23 <customErrors defaultRedirect="errorpage.htm" mode="RemoteOnly" />
24 <compilation debug="false">
25 </compilation>
26 </system.web>