In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "how to solve the problem of not getting into http://localhost". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the problem of not getting into http://localhost".
Problem solving:
Setp 1
Stop related services
MSDTC_1.bat
@ echo off
If {% 1} = {} @ echo Syntax: MSDTC1 Filename&goto: EOF
Setlocal ENABLEDELAYEDEXPANSION
Set filename=%1
If exist filename% del / Q filename%
(
@ echo Alerter
@ echo EventSystem
@ echo Browser
@ echo TrkWks
@ echo Dnscache
@ echo Eventlog
@ echo PolicyAgent
@ echo dmserver
@ echo Messenger
@ echo Netlogon
@ echo NtLmSsp
@ echo Netman
@ echo PlugPlay
@ echo RpcSs
@ echo RpcLocator
@ echo NtmsSvc
@ echo SamSs
@ echo lanmanserver
@ echo SENS
@ echo Schedule
@ echo LmHosts
@ echo winmgmt
@ echo Wmi
@ echo W32Time
@ echo lanmanworkstation
) > "% TEMP%\ MSDTC1.TMP"
Call: stopdtc > nul 2 > & 1
For / f "Tokens=*"% L in ('reg query HKLM\ System\ CurrentControlSet\ Services ^ | FINDSTR / I / B
/ L / C: "HKEY_LOCAL_MACHINE"') do (
Set line=%%L
Set keyword HKLMH LINEV 18!
Call: subkey "! key!"
Call: testsvc
)
Endlocal
Goto: EOF
: stopdtc
Sc stop msdtc
Goto: EOF
: testsvc
For / f "Tokens=*"% c in ('@ echo! svc! ^ | findstr / I / B / E / L / G: "% TEMP%\ MSDTC1.TMP"') do goto
: EOF
Set / a start=3
Set / a type=0
Call: getstart > nul 2 > & 1
Call: gettype > nul 2 > & 1
If% type% LSS 16 goto: EOF
If% start% NEQ 2 goto: EOF
Sc config! svc! Start= demand
@ echo sc config! svc! Start= auto > > filename%
Goto: EOF
: gettype
For / f "Tokens=2,3"% x in ('reg query "HKLM\ System\ CurrentControlSet\ Services\! svc!" / V
Type ^ | FIND "REG_DWORD"') do (
Set / a type=%%y
)
Goto: EOF
: getstart
For / f "Tokens=2,3"% x in ('reg query "HKLM\ System\ CurrentControlSet\ Services\! svc!" / V
Start^ | FIND "REG_DWORD"') do (
Set / a start=%%y
)
Goto: EOF
: subkey
Set svc=%~nx1
Restart the machine
Step 2
Delete the associated registry key and reinstall the msdtc component
MSDTC_2.bat
@ echo off
Setlocal
@ echo% WINDIR%\ System32\ msdtc.exe-uninstall
% WINDIR%\ System32\ msdtc.exe-uninstall
Call: delkey "HKCR\ CID"
Call: delkey "HKLM\ SYSTEM\ CurrentControlSet\ Services\ MSDTC"
Call: delkey "HKLM\ SYSTEM\ ControlSet001\ Services\ MSDTC"
Call: delkey "HKLM\ SYSTEM\ ControlSet002\ Services\ MSDTC"
Call: delkey "HKLM\ Software\ Microsoft\ MSDTC"
@ echo% WINDIR%\ System32\ msdtc.exe-install
% WINDIR%\ System32\ msdtc.exe-install
Endlocal
Goto: EOF
: delkey
Set key=%1
Call: delkeyq% key% > nul 2 > & 1
@ echo.
Goto: EOF
: delkeyq
REG DELETE% key% / F
SETP 3
Restlog
MSDTC_3.bat
@ echo off
If {% 1} = {} @ echo Syntax: MSDTC3 Filename&goto: EOF
If not exist% 1 Syntax: MSDTC3 Filename -% 1 was NOT found.&goto: EOF
Setlocal
Set filename=%1
For / f "Tokens=*"% r in ('type% filename%') do (
% r
)
Reg add "HKLM\ SOFTWARE\ Microsoft\ MSDTC\ XADLL" / F
Regsvr32 mtxoci.dll
Endlocal
After running, take a look at the log
The perfect solution is that the IIS server cannot load the application'/ LM/W3SVC/1/ROOT'. The error is'no registered category phenomenon:
Browse the ASP page and prompt 500 internal errors
In event Viewer:
[1]:
The server could not load the application'/ LM/W3SVC/1/ROOT'. The error is'no registered category'.
For more information about this message, go to the Microsoft online support site: http://www.microsoft.com/contentredirect.asp.
For more information, see the help and support Center at http://go.microsoft.com/fwlink/events.asp.
[2]:
Unable to start MS DTC transaction manager.
For more information, see the help and support Center at http://go.microsoft.com/fwlink/events.asp.
[3]:
The MS DTC transaction manager failed to start. LogInit returned error 0x2.
For more information, see the help and support Center at http://go.microsoft.com/fwlink/events.asp.
[4]:
The MS DTC log file was not found. After confirming that all resource managers coordinated by MS DTC do not have an "uncertain" state
After that, run msdtc-resetlog to create the log file.
For more information, see the help and support Center at http://go.microsoft.com/fwlink/events.asp.
My operating environment:
WinXP Pro SP2
Solution:
[1]:
Check to see if your DTC service (full name: Distributed Transaction Coordinator) starts properly, if so
Please skip this step; if there is an error and cannot start properly, run: msdtc-resetlog in the start menu to create
Log file. Restart the machine, check whether IIS can be used properly, if not, continue.
[2]:
Execute the following command under CMD:
Cd% windir%\ system32\ inetsrv
Rundll32 wamreg.dll, CreateIISPackage
Regsvr32 asptxn.dll
Thank you for your reading, the above is the content of "how to solve the problem of not getting into http://localhost". After the study of this article, I believe you have a deeper understanding of how to solve the problem of not getting into http://localhost, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.