代码改变世界

IEWebContol的部署问题

2005-03-13 20:49  山不转水转...  阅读(705)  评论(0)    收藏  举报

ref: http://download.cnblogs.com/elevenwolf/archive/2004/12/08/74230.html

以前在服务器部署IEWebcontrol时,需要装完asp.net站点后,再安装iewebcontrols,比较麻烦。

其实在web.config文件中配置一下就可以了,不需要安装。在<configuration>下添加:

<configSections>

          <section name="MicrosoftWebControls" type="System.Configuration.NameValueSectionHandler, System, System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

</configSections>

<MicrosoftWebControls>

     <add key="CommonFiles" value="/website/webctrl_client/1_0" />

</MicrosoftWebControls>