If you are looking for software to use, go to Huajun Software Park! software release AI product list

Hello, if there is a need for software inclusion, please package the software and attach the software name, software introduction, software-related screenshots, software icon, soft copy, business license (if you do not have a business license, please provide the front and back of the corresponding developer ID card and a photo of yourself holding the ID card), and send it to email http://softwaredownload4.com/sbdm/user/login

Close >>

Send to email:news@onlinedown.net

Close >>

Location: Home pagePC softwareNetwork softwareServer class iis error Server Application Error solution
iis error Server Application Error solution

iis error Server Application Error solution PC version

QR code
  • Software licensing: free software
  • Software size: 13.14MB
  • Software rating:
  • Software type: Domestic software
  • Update time: 2024-12-30
  • Application platform: WinAll, WinXP
  • Software language: Simplified Chinese
  • Edition: PC version

Download the service agreement at the bottom of the page

Software introduction Related topics FAQ Download address

Recommended for you:- IIS tools

Basic introduction
iis error Server Application Error solution section first LOGO
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


 

FAQ

iis error Server Application Error solution

iis error Server Application Error solution PC version

close