当前位置:编程学习 > C#/ASP.NET >>

配置文件web.config

每个配置文件中只允许存在一个 <configSections> 元素,并且,如果存在该元素,它还必须是根 <configuration> 元素的第一个子元素。 D:\OAsys\web.config

 
  <appSettings>
    <add key="conStr" value="Server=(local);database=db_OAS;Uid=sa;Pwd="/>
  </appSettings>
    <connectionStrings/>
  <system.web>
    <pages validateRequest="false"></pages>
    <httpRuntime maxRequestLength="102400" executionTimeout="60" appRequestQueueLimit="100"/>
  </system.web>
  <configSections>
这里应该没什么错误吧?求高手帮忙啊!!
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,