o(╥﹏╥)oSad

WeChat cannot downloadiis error Server Application Error solution, but just click on the upper right corner and select open in browser or Safari!
iis error Server Application Error solution

iis error Server Application Error solution

  • Size: 13.14MBM
  • Language: Simplified Chinese
  • category: Server class
  • System: WinAll, WinXP

Recommended for you: IIS tools

Solution to iis error Server Application Error

I encountered this kind of error when using pb11.5 for web publishing. I used this repair tool to fix it, which is pretty good!

Source code:

@echo off
echo *echo *
echo ************************************************* ***
echo * *
echo * IIS Server Application Error error automatic repair batch processing *
echo * Author: hayden *
echo * *
echo ************************************************* ***
echo *
echo *
set /p isok0=Start IIS repair? (y/n)
if %isok0%==y goto begin
goto forend

:begin
set userIWAM=IWAM_%COMPUTERNAME%
set userIUSR=IUSR_%COMPUTERNAME%

:checkIWAM
net user %userIWAM%
if %errorlevel%==0 goto checkIUSR
goto netuserIWAM

:checkIUSR
net user %userIUSR%
if %errorlevel%==0 goto edituser
goto netuserIUSR

:netuserIWAM
net user
set /p tiwam=Please enter the correct "Start IIS process account" name (that is, the account name starting with IWAM_)?
set userIWAM=%ans%
goto checkIWAM

:netuserIUSR
net user
set /p tiusr=Please enter the correct "Internet Guest Account" name (that is, the account name starting with IUSR_)?
set userIUSR=%tiusr%
goto checkIUSR

:edituser
echo resets the "Start IIS Process Account" password to 123
net user %userIWAM% 123
echo resets the "Internet Guest Account" password to 123
net user %userIUSR% 123
echo password synchronization
cscript.exe %HOMEDRIVE%InetpubAdminscriptsadsutil.vbs set w3svc/wamuserpass 123
cscript.exe %HOMEDRIVE%InetpubAdminscriptsadsutil.vbs set w3svc/anonymoususerpass 123
echo *
echo *
set /p isok1=Please test whether IIS is normal? (y/n)
if %isok1%==y goto forend

cscript.exe %HOMEDRIVE%InetpubAdminscriptssynciwam.vbs -v
iisreset
echo *
echo *
set /p isok2=Please test whether IIS is normal? (y/n)
if %isok2%==y goto forend

echo clears information related to the MSDTC service registry
reg delete HKLMSYSTEMCurrentControlSetServicesMSDTC /f
reg delete HKLMSOFTWAREMicrosoftMSDTC /f
reg delete HKCRCID /f
echo Stop and reinstall the MSDTC service
net stop msdtc
msdtc -uninstall
msdtc-install
echo resets the "Start IIS Process Account" and "Internet Guest Account" passwords
net user %userIWAM% 123
net user %userIUSR% 123
echo synchronizes the password of IWAM_MYSERVER in IIS metabase
%HOMEDRIVE%InetpubAdminscriptsadsutil.vbs set w3svc/wamuserpass "123"
echo IWAM_MYSERVER password used to synchronize COM+ applications
cscript.exe %HOMEDRIVE%InetpubAdminscriptssynciwam.vbs -v
echo *
echo *
set /p isok3=Please test whether IIS is normal? (y/n)
if %isok3%==y goto forend

echo re-register related components
rundll32 %windir%system32inetsrvwamreg.dll, CreateIISPackage
regsvr32 %windir%system32inetsrvasptxn.dll /s
echo *
echo *
set /p isok4=Please test whether IIS is normal? (y/n)
if %isok4%==y goto forend

echo *
echo *
echo If IIS is still not normal, I really can't solve it. Please ask someone else!

:forend
echo *
echo *
@echo The batch processing is completed. Please press any key to exit?
@echo off
pause


Version: PC version | Update time: 2024-11-01

Similar recommendations

Latest updates

iis error Server Application Error solution comments

  • 1st floor Huajun netizen 2018-12-10 23:36:00
    The solution to iis Server Application Error is super awesome! 100 million likes! ! !
  • 2nd floor Huajun netizen 2018-03-30 11:55:28
    Iis error Server Application Error solution overall feels good, I am quite satisfied, the installation and operation are very smooth! Followed the installation step-by-step instructions and it went very smoothly!
  • 3rd floor Huajun netizen 2021-10-28 10:41:33
    The solution to iis Server Application Error is convenient and practical, very powerful, and the software is very easy to use!

Recommended products

Everyonealso likeThese:

+

This application has not passed real-name authentication. You can download it through the mobile assistant.

CancelOK