<identity impersonate="true"/>怎么添加用户名,密码<identity impersonate="true" username="administrator" password="123"/> 是这样吗为什么会提示我不知道username还有,我应该添加在config的什么地方

解决方案 »

  1.   

    <configuration>
       <system.web>
          <identity impersonate="true" userName="administrator" password="123"/>
       </system.web>
    </configuration>请参考:http://msdn.microsoft.com/library/chs/default.asp?url=/library/CHS/cpgenref/html/gngrfidentitysection.asp
      

  2.   

    借你地方用下
    http://community.csdn.net/Expert/topic/4159/4159202.xml?temp=.1072504
    谁帮我顶下这个帖子,没人顶,结不了账.第一个顶者分全部给他
      

  3.   

    520zyb 我这样不行阿。一运行就提示config文件有错误冷于冰,鄙视你
      

  4.   

    楼主可以试下,uid="administrator" pwd="123"的
    我的数据库连接字符串里就是这样写的.username会报错的