在web.config的<system.web>添加下面这句话即可
<identity impersonate="true" userName="administrator" password="0"/>
用户名和密码就是服务器的