首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

configSections 的使用,该怎么处理

2012-03-11 
configSections 的使用在一个项目的webConfig文件中,定义了如下信息:configSectionssectionname Syst

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= "程序集名称,类名 "

热点排行