Transfer from:
Http://blog.yesky.com/blog/simao/archive/2005/01/13/64411.html
These days, the company's IIS has a problem, always can't open the ASP page, and the HTML page can display normally ~ reloaded IIS, no need to use, helpless, search for solved online, finally found The above method is finally solved :)
First, the reason is:
Reports the fault by the user, saying that all of the site
ASP
The page cannot be accessed.
Second, preliminary processing:
1
Since I have encountered similar situations, I usually restart the computer, but this startup is invalid;
2
Since the screen display log file is full, and it has also caused the log file due to the fullness of the log file.
IIS
Some are not working properly, so consider
Admin
The password enters the system, empties the log file method to solve this problem;
3
, There is an abnormality, the system administrator password is incorrect, and it may be two points:
(1)
, Due to time is too long,
Admin
Password forgot;
(2)
, Due to malicious procedures such as black soft back door
Admin
The password is modified;
4
And the processing solution is as follows:
Since the system is still adopted
FAT32
Partition, so
98
Start the computer to start the computer, find
Sam
Document, delete, then enter the system for empty log file operation;
After the above operation,
Web
The static page on the site is valid, and
ASP
Still a mistake, the error is shown below:
Web pages cannot be displayed
There is a problem with the webpage you want to access, so you cannot display it.
Try the following:
turn on
http://www.*****.com
Homepage to find links to the required information.
Click Refresh button, or try again later.
HTTP 500 -
internal server error
internet
Information service
Technical information (support personal)
details:
Microsoft
stand by
Third, further analysis:
Unable to judge the cause of the fault, search online related content, find one
IIS
Do not support
ASP
Solution article;
After research analysis, judging the fault phenomenon is basically similar, the reason analysis is: mainly due to
IWam
account number
IWAM_MYSERVER
Password error
HTTP 500
internal error.
The corresponding solution is: unified
Active Directory
,
IIS Metabase
Database and
COM
The password in the application. There is a detailed description of the article accordingly.
Check the log files, not exactly the same as the phenomenon described above, and this computer does not have a domain setting.
The system log is specifically described as follows:
2003-8-23 17:42:59 DCOM
error
no
10010 NT Authority / System MyServer
server
{3D14228D-FBE1-11D0-995D-00C04FD919C1}
Not used within a limited time
DCOM
registered.
2003-8-23 17:42:59 W3SVC
caveat
no
36 N / A MyServer
The server failed to transfer the application
'/ LM / W3SVC / 1 / ROOT'
. Wrong
'
Server failed
'
.
To get more information about this message, please visit
Microsoft
Online support site
: http://www.microsoft.com/contentredirect.asp.
The application log is specifically described as follows:
2003-8-23 17:55:28 COM
error
management
4205 n / a myserver
Due to the following system
API
error,
COM
Service
The initialization of the method. It is usually caused by system resource storage issues of local computers.
CryptacquiRecontext
Process name
: DLLHOST.EXE
The severity of this error has caused the process to terminate.
error code
= 0x80090017:
The provider type is not defined.
COM
Service internal information
:
file
: ./security.cpp
,
Row
: 617
And not described in the article
"
User name is unknown or password error
"
Information log;
But basic judgment is also a fault.
Step by step by step by writing on the article, but it has not been played, and I don't know where the problem is.
According to the last prompt:
IIS
middle
"
Application protection
"
Set as
"
low
"
, Reset
IIS
New problems appear again, some of the sites
ASP
Ability to display, but some
ASP
Page no
Can display, and
ASP
The page of the chat room can be opened, but it is displayed
"
Open the database failed or error
"
;
But if I put
IIS
middle
"
Application protection
"
Set as
"
in
"
Any
ASP
The page cannot be opened;
Silent, it is not, the last method described on the article: reload
IIS
The steps are as follows: First uninstall, then play
SP3
(I am playing
SP4
), Reinstall.
Reconfigure startup
IIS
, I found that the phenomenon is still as if it is.
After guidance, the root cause of the problem is not the case. After careful inquiry, it is found that once deleted
Sam
(I have not been able to pay attention before this phenomenon)
Sam
The file is a database that saves user passwords
Document, after delete, all user information will be lost, and the corresponding group information will be lost, although the system is repurrent, the system has been re-established.
Sam
Document, also reinstalled
IIS
,
IWam
The account has also been re-established, but the special information in the original user group is not recovered. Start from here. an examination
"
Start
"->"
Set
"->"
control panel
"->"
management
tool
"->"
Component service
"
in,
"
Control table root directory
"->"
Component service
"->"
computer
"->"
my computer
"->" COM
application
"
Among them, there is one
Iis Out-of-Process Pooled Applications
Application
Id
Be
{3D14228D-FBE1-11D0-995D-00C04FD919C1}
Many system error can't find the app
{3D14228D-FBE1-11D0-995D-00 C04FD919C1}
Errors, because the application fails to start, open the properties of the application, check the identity is
IWam
User, right click start, error. After the administrator is changed,
Can start normally. Put
IWam
Join the local administrator group or start normally. Determine
IWam
The user is not entitled to the application.
The specific solution is proposed as follows:
1
,modify
IWAM_MYSERVER
Account password, in
"
Start
"->"
Set
"->"
control panel
"->"
Management tool
"->"
Computer management
"
in,
"
System Tools
"->"
Local users and
group
"->"
user
"
Inside, one
IWAM_MYSERVER
(
MyServer
For the local computer name) account, right click to change the password, change to a custom password, we are fake here
Set to
"000000"
;
2
,modify
IIS
internal
IWAM_MYSERVER
Account password, in
C: / inetpub / adminsscripts /
Under contents(
IIS
Install the default directory), enter:
C: / inetpub / adminscribts> CScript adsutil.vbs set w3svc / wamuserpass "000000"
(Here
"0"
Represents user-defined password)
After the modification is successful, the system has the following tips:
Wamuserpass: (String) "******" 3
,Synchronize
COM
Application
IWAM_MYSERVER
The password, there are two ways described on the original technical articles, I use it here, namely
"
use
IWam
Account synchronization script
S YNCIWAM.VBS "
That is
C: / inetpub / adminsscripts
In the directory (default directory) input:
C: / INETPUB / Adminscripts> CSIPT SYNCIWAM.VBS -V
The front is very smooth, but
"
Start
"->"
Set
"->"
control panel
"->"
Management tool
"->"
Component service
"
in,
"
Control table root directory
"->"
Component service
"->"
computer
"->"
my computer
"->" COM
application
"
Right click start
Iis Out-of-Process Pooled Applications
, Found that it is still wrong, no way to restart
IIS
, Find problems
Still, check the third step above, enter
CSIPT SYNCIWAM.VBS -V
After the command, the return script is executed in which the last paragraph has one.
Error
Tips. A paragraph of English,
The text description is not saved, and it means:
IIS
The original database refuses to access.
4
Wanzhi helpless, delete
IIS
The component package is re-established, still invalid.
There is a problem again.
View application logs and system logs, discover errors prompt events
Id
The number is still:
10010
,
36
,
4205
In the above three steps, the front two steps should have no problem, and the last step is a bit problem.
According to incident
Id
No., find relevant information, find the solution as follows:
in
"
Start
"->"
Set
"->"
control panel
"->"
Management tool
"->"
Computer management
"
in,
"
System Tools
"->"
Local users and groups
"->"
user
"
Inside, confirm
IWAM_MY SERVER
Users only
In the guest group,
"
Local users and groups
"->"
group
"
Inside, right click
Users
Group properties, add
NT Authority / Authenticated Uses
with
NT authority / interactive
Two user members, determined.
Repeat the third step, ie
IIS
Install the default directory Enter:
C: / INETPUB / Adminscripts> CSIPT SYNCIWAM.VBS -V
View according to the return script execution, the last paragraph
Error
Already gone, will
COM
The user of the program is changed back to
IWam
User, restart
Iis Out-of-Process Pooled Applications
Application, no error, restart
IIS
, Check all
Web
Site service, fault phenomenon release
!
That is to say this step.
IIS
Below
ASP
The program officially resumes restarting.
At this point, the fault is all excluded
!
Through this failure, you need to pay attention to:
1
The space setting of the event log is slightly enlarged, the default is only
512K
According to the hard disk space, properly enlarge some, avoid the presence of the log files;
2
Don't easily empty event records in the event log, many faults need to be found in this inside;
3
All returned system prompt information must pay attention to carefully viewed;
4
,
IIS
The application protection should be medium or high, if low, all
ASP
The page is running in local system privileges, and there is a problem with security.
5
,
COM
User privileges and user initiatives are important, they should pay attention to check.
6
The system default group sometimes has an important role, and cannot be easily deleted or modified.
Seduce
, System important files (such as
Sam
) It is not easy to delete and should be taken as much as possible. If you use an external program to modify the registry or
Sam
Table information to obtain administrator privileges. Not to delete the file.