Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        | 
                
                    | 
                            
                                | Author | Topic |  
                                    | Eagle_f90Constraint Violating Yak Guru
 
 
                                        424 Posts | 
                                            
                                            |  Posted - 2004-03-22 : 14:57:05 
 |  
                                            | Hello, I don't know if this is the write palce for this but I think it is. I am using an ASP for my custom 404 error page. What I am trying to get it to do is to write into the IIS 5.0 log what page had the error, where the visitor came from, and what error it was. Now I know that information is in the HTTP HEADERS and is in the form of a queiry string. But I don't know how to get it to write it to the IIS log, I can get it to write that there was a 404 error using response.stats but how can I write in the refuring page and what page the error was on? Thank you for your help.--For those with wings, fly to your dreamsDearms are what are found at the end of reality, and your reality if what is found at the end of your dreams. |  |  
                                    | MerkinFunky Drop Bear Fearing SQL Dude!
 
 
                                    4970 Posts | 
                                        
                                          |  Posted - 2004-03-22 : 18:05:24 
 |  
                                          | That information should already be in the IIS logs. Are you sure it isn't there ?Damian |  
                                          |  |  |  
                                    | Eagle_f90Constraint Violating Yak Guru
 
 
                                    424 Posts | 
                                        
                                          |  Posted - 2004-03-23 : 01:20:24 
 |  
                                          | Not 100% sure, I don't run the server. But I have a site stats program taht pulls that info from the server log and after I put my own 404 page it nolonger showed that information. So I figured it had something to do with my 404 page. I will contact my host and see if I can get a copy of the log.--For those with wings, fly to your dreamsDearms are what are found at the end of reality, and your reality if what is found at the end of your dreams. |  
                                          |  |  |  
                                    | Frank KalisConstraint Violating Yak Guru
 
 
                                    413 Posts | 
                                        
                                          |  Posted - 2004-03-23 : 02:58:37 
 |  
                                          | http://www.iisfaq.com/http://www.aspfaq.com/might be helpful  --Frankhttp://www.insidesql.de |  
                                          |  |  |  
                                |  |  |  |