当前位置: 代码迷 >> ASP.NET >> configSections 的使用,该怎么处理
  详细解决方案

configSections 的使用,该怎么处理

热度:6036   发布时间:2013-02-26 00:00:00.0
configSections 的使用
在一个项目的webConfig文件中,定义了如下信息:
  <configSections>
<section   name= "SystemConfiguration "   type= "WM.SC.SystemFramework.SystemConfiguration,WM.SC.SystemFramework "/>
    </configSections>

<SystemConfiguration>
<!--       数据库连接信息     -->
<add   key= "ConnString "   value= "server=.;database=pub;password=li;uid=sa "/>
 
<!--项目编码-->
<add   key= "HSXM_CODE "   value= "HZ001 "/>

 
<!--   临时文件存放目录   -->
<add   key= "SC.Quality.Temp.Folder "   value= "C:\Temp "/>
 
      </SystemConfiguration>

但在程序运行的时候,提示配制错误,程序集“WM.SC.SystemFramework”无法加载,我不清楚type= "WM.SC.SystemFramework.SystemConfiguration,WM.SC.SystemFramework "这里要如何写,请大家指点。

------解决方案--------------------------------------------------------
type= "程序集名称,类名 "