如果应用程序正在通过 <identity impersonate="true"/> 模拟,则标识将为匿名用户(通常为 IUSR_MACHINENAME)或经过身份验证的请求用户。 在配置文件中添加 <identity impersonate= "true " userName= "Administrator " password= "123 "/> 可以了 程序员的基础教程:菜鸟程序员