A simple example of IIS log import.The sample source code is at the end of this article.
1. log format.Note: The first four rows can be filtered by default.
The default IIS log column Delimiter is space.
Download Sample Code
A powerful tool is recom
File Location: C:\WINDOWS\system32\LogFiles\HTTPERR\httperr1.log
I. Description of the problem
The previous normal ASP Web site is not open today, the site is deployed under IIS. Displays "Connections_refused" by looking for IIS log file "Httperr.log" information
Ii. Solutions
Searching for information on the Web,
1, install log Parser 2.2https://www.microsoft.com/en-us/download/details.aspx?displaylang=enid=24659https://gallery.technet.microsoft.com/Log-Parser-Studio-cd458765 Download and then unzip2. Run Log Parser StudioRun LPS.exe in the previously unzipped Lpsv2.d1 folder.3. Specify the IIS
Start -- run -- eventvwr. MSC to view System Event Logs
Unable to create ApplicationProgramDomain error: 0x80070005Search Procedure:1. Register IIS againRun aspnet_regiis.exe in net \ framework \ v2.0.50727.Uninstall aspnet_regiis.exe-U and reinstall aspnet_regiis.exe-I2. Check whether the Asp.net version selected is 2.0 for the attribute setting of the virtual directory.3. Check permissions1. application
When IIS accesses the webservice written in PHP, the error 404 is reported. However, when my machine accesses the webservice, I can respond and log on to the Server for Windows 7 and the same machine for two websites,
Website 1 is written in ASP. NET and published on port 8080 of IIS
Website 2 is written in PHP and published on APACH of the same machine, port 80
1. Open the IIS log file
2. View the location of the log file
3 File address found
The default will be in C:\inetpub\logs\LogFiles (Win7), which will have a series of file names, similar to W3SVC file name.IIS log files are stored inside
Use Note:
To modify the absolute path of the IIS log in the iis.php file
For example: $folder = "c:/windows/system32/logfiles/site log directory/"; Be sure to bring a slash (/) in the back.
(with virtual space do not understand the absolute path of your site to see?) Upload a probe!
Direct Check view: http://site domain name/iis.php
Local view: To download the
More common analysis information(Prepared by qingapple studio)This section discusses the different outputs that you may see in log files, how they will help you debug applications, and how to make them more effective.When you look at the raw logs generated by the IIS debugger, you will notice that there are many lines before you reach the access conflict in the log
http://stackoverflow.com/questions/786638/how-can-i-get-gzip-compression-in-iis7-working/787251
Look in C:\INETPUB\LOGS\FAILEDREQLOGFILES\W3SVCX. You'll see a bunch of files named Fr000xx.xml. Open up any one of the them in your browser. (by the To, if you copy these files anywhere, make sure freb.xsl is there. Also, don ' t delete freb.xsl-if do, just delete the whole directory or copy it from another location, as IIS-only CRE Ates it once per
IIS default log files in C:\WINDOWS\system32\LogFiles, the following is the seoer edge of the server log, through the view, you can understand the search engine spider crawling through, such as:
2008-08-19 00:09:12 w3svc962713505 203.171.226.111 get/index.html-80-61.135.168.39 baiduspider+
(+http://www.baidu.com/search/spider.htm) 200 0 64
1, 203.171.226.111 is
1. Create a new DWORD value in Registry hkey_local_machine\system\currentcontrolset\services\http\parameters: Enableerrorlogging, set the value to 0.2. Run the following command on the command line, respectively:NET stop httpNET start HTTPIISReset3. Can change the storage location of log files, also new string value in Parameters: Errorloggingdir, set the value for the new storage path, also need to restart the HTTP service to take effect.Go from Netw
Failure phenomenon:
When landing ftp prompts 530 User waadmin cannot log in, home directory inaccessible.
Failure Reason:
Insufficient permissions for FTP root directory
The first workaround:
Add "read" permission to the user's group
or refer to the method belowReason:
It is possible that FTP isolation user mode was selected when the FTP server was created.
Workaround:
Create a directory such as the Localuser\ user name under the user's F
IIS Option Explicit
Dim Sourcefile,ipaddress,objargs
Const destfile= "Tempfile"
Const ForWriting = 2
Dim Text
Dim Fso,objnet,serviceobj
Dim Txtstream, Txtstreamout
Set Objargs = wscript.arguments
If Objargs.count = 2 Then
Sourcefile=objargs (0)
Ipaddress=objargs (1)
Else
WScript.Echo "Parameter Error" + vbCrLf
WScript. Echo "USAGE:KillLog.vbs logfilename yourip."
WScript. Quit 1
End If
Set fso = CreateObject ("Scripting.FileSystemObject")
If FSO
IIS log format By default is TXT, check up very inconvenient, I really lazy look, find some information on the internet to look at,
It is more convenient to query the log in SQL Server.
1 Establish an IIS database, add the Inetadmin user, specify the user as the owner of the IIS
The cause of the problem
To facilitate viewing of the online problem log, a new site is created on IIS on the server, the root directory points to the log directory, and directory browsing begins;Well, you can enter the site, see the list of directories, find a TXT file, click to see the Log, Yi, how the Chinese into
Description: Place the log file in the root directory of the Web site and rename it to Log.log. Demo: Http://www.jzxue.com/tools/iislog/http://www.jzxue.com/tools/iislog/demo.gif
/******************************************************** Function: IIS log analysis, analysis of the total number of IP access, search engine crawl timesDescription* Place the
The Windows event log database contains an object that the author calla floating footer. it will be positioned at the offset where the next record will be written. this floating footer object contains metadata that is maintained in real time. the four fields (four 4-byte fields) of metadata in the floating footer are, respectively, the offset to oldest record, the offset to next record, the record number of
Tags: style http color os using IO strong for ARfrom the white master (eel with) to log file sync waiting event Optimization summary, for you puber to learn the reference:The log file Sync average wait time exceeds 7ms, if the waiting time is too long, it means that log write is too long each write, if you can optimize
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.