又碰到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. right-click iusr_computername, and then click set password. <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. right-click iwam_computername, and then click set password. <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;">               adsutil.vbs set w3svc/anonymoususerpass "password" <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 , and then press enter: <br style="padding: 0px; margin: 0px;">                adsutil.vbs set w3svc/wamuserpass "password" <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;">                synciwam.vbs -v<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>
 

你可能感兴趣的:(java,工作)