又碰到IIS 访问asp得到500错误

     上次碰到这个问题,是因为com+ 没有<span style="color: #390000; font-size: 14px; line-height: 22px; font-family: 'times new roman';">iis out-of-process pooled applications, 当时好像是重装了下iis解决了(记得不是很清楚。) 无奈今天问题又出现了,我也不知道咋回事,不过显然跟上次不一样。</span>
     <span style="color: #390000; font-size: 14px; line-height: 22px; font-family: 'times new roman';">iis out-of-process pooled applications还在那运行的好好的,看帖子说要同步下密码,所以执行了下 c:\inetpub\adminscripts>synciwam.vbs, 结果得到一个80110414的错误;然后有找了下,发现的确是密码不同步造成,解决步骤如下,</span>
<span style="color: #333333; font-family: arial, helvetica, sans-serif;">to resolve this issue, reset the passwords for the iusr and the iwam accounts so that they are the same in both the internet information services (<span class="searchterm" style="font-weight: bold; padding: 0px; margin: 0px;">iis</span>) metabase and in the local accounts directory. to do this, follow these steps: 1. click start, point to programs, point to administrative tools, and then click computer management.  <br style="padding: 0px; margin: 0px;">2. under system tools, click local users and groups, and then click users. <br style="padding: 0px; margin: 0px;">3. [b]right-click iusr_computername, and then click set password. [/b]<br style="padding: 0px; margin: 0px;">4. click proceed. <br style="padding: 0px; margin: 0px;">5. type the password in the new password box and in the confirm password box, and then click ok. <br style="padding: 0px; margin: 0px;">6. [b]right-click iwam_computername, and then click set password. [/b]<br style="padding: 0px; margin: 0px;">7. click proceed. <br style="padding: 0px; margin: 0px;">8. type the password in the new password box and in the confirm password box, and then click ok. <br style="padding: 0px; margin: 0px;">9. quit computer management. <br style="padding: 0px; margin: 0px;">10. click start, and then click run. <br style="padding: 0px; margin: 0px;">11. in the open box, type cmd and then click ok. <br style="padding: 0px; margin: 0px;">12. type cd drive:\inetpub\adminscripts, where drive is the drive where windows is installed, and then press enter. <br style="padding: 0px; margin: 0px;">13. to reset the password for the iusr_computername account, type the following command (where password is the password that you set in step 5), and then press enter:<br style="padding: 0px; margin: 0px;">              [b] adsutil.vbs set w3svc/anonymoususerpass "password" [/b]<br style="padding: 0px; margin: 0px;">14. to reset the password for the iwam_computername account, type the following command (where password is the password that you set in step 8), and then press enter: <br style="padding: 0px; margin: 0px;">             [b]  adsutil.vbs set w3svc/wamuserpass "password" [/b]<br style="padding: 0px; margin: 0px;">15. update the starting identity of all <span class="searchterm" style="font-weight: bold; padding: 0px; margin: 0px;">iis</span> com+ application packages by typing the following at the command prompt: <br style="padding: 0px; margin: 0px;">               [b]synciwam.vbs -v[/b]<br style="padding: 0px; margin: 0px;">note you may need to restart <span class="searchterm" style="font-weight: bold; padding: 0px; margin: 0px;">iis</span> for all changes to take effect. to restart <span class="searchterm" style="font-weight: bold; padding: 0px; margin: 0px;">iis</span>, click start, click run, type iisreset, and then click ok. <br style="padding: 0px; margin: 0px;"></span>
 
    说的有点多,但是非常清晰可执行,简而言之,就是设置了4个密码,最后执行了个同步。记录以备忘,及给其他人参考,此法确实可行。
<span style="color: #ff0000; font-size: small;">    顺便说下,看了养成随手记笔记的习惯真的很重要,拖着等有空再记下来,结果往往是不会记的,因为都忘记了,或是忘记了重点。很多问题解决了下次出现又要重新想办法。</span>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值