IIS运行正常,但本地网站http:⼀⼀localhost打开速度慢,五秒后彻底打不开,是什么原因?

2024-11-30 07:35:05
推荐回答(2个)
回答1:

试试这段代码

@echo off
echo 正在执行操作,请稍等......
regsvr32 %windir%/system32/vbscript.dll
msdtc -resetlog
net start msdtc
net user IUSR_%COMPUTERNAME% 111
net user IWAM_%COMPUTERNAME% 111
%SystemDrive%
cd %SystemDrive%\Inetpub\AdminScripts
cscript.exe adsutil.vbs set w3svc/wamuserpass 111
cscript.exe adsutil.vbs set w3svc/anonymoususerpass 111
cscript.exe synciwam.vbs -v
iisreset
%SystemDrive%
cd %SystemRoot%\System32\inetsrv
rundll32 wamreg.dll,CreateIISPackage
regsvr32 asptxn.dll
echo 执行完毕,按任意键关闭且自动打开http://localhost
pause
explorer.exe http://localhost
exit

回答2:

你试试用本地IP登录,如果还打不开,说明你的设置有问题!