Using Log Parser Studio to Find Guilty IP Addresses

If you are getting hammered by a robot, you’ll probably want to find out the IP Address of the robot to see if it is a friendly one, or just someone playing with Kali Linux in a far off land. The following Log Parser Studio query will get you a list of your top offenders:Continue reading “Using Log Parser Studio to Find Guilty IP Addresses”

Set Log Parser Studio Log Paths

Log parser studio has a handy UI for adding log file paths, but if you have a shared hosting server with loads of IIS sites, each logging to a different directory – you’ll want to automate the list of log file paths. Go and find the file named “LPSFolders.tmp”, usually found in “C:\Users\USER-NAME\AppData\Roaming\ExLPT\Log Parser Studio\”.Continue reading “Set Log Parser Studio Log Paths”

Cannot Create a File When That File Already Exists

This is one of the few hitches you may come across when deploying to IIS from Octopus Deploy: Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7) This error simply means something is already running on the port number that you are planning on using (and that probably means the defaultContinue reading “Cannot Create a File When That File Already Exists”

Run Multiple Websites On The Same IP Address And Port Even Over SSL

TL;DR – the TLS SNI extention allows you to pick the right certificate if you have multiple secure host names on the same IP address and port, this is supported by all major browsers and by IIS8, and HAProxy (amongst others). Some of the below information is now a little dated – you shouldn’t reallyContinue reading “Run Multiple Websites On The Same IP Address And Port Even Over SSL”

Find the Process Id for an Application Pool

If you have lots of web applications running under lots of different application pools, you might want to find out the particular W3WorkerProcess of one of these application pools. This is usually when you want to start a remote-debugging session against a particular application pool. The great news is, you can find out the informationContinue reading “Find the Process Id for an Application Pool”

Event Code 3005: An Unhandled Exception has Occurred

If you have come across this rather vague message (Event Code 3005: An Unhandled Exception has Occurred), you will have spotted that there are very few resources that give any reasonable answers on the root cause of the issue – that’s probably why you are here, so I will do my best to help. ForContinue reading “Event Code 3005: An Unhandled Exception has Occurred”

The Specified Directory Service Attribute or Value Does Not Exist

“The specified directory service attribute or value does not exist” If you’ve come across this problem while trying to use Active Directory, you may well be dancing the double-hop. This issue can occur when you switch on “Integrated Windows Authentication” in IIS and then try to get some information from Active Directory for the logged-inContinue reading “The Specified Directory Service Attribute or Value Does Not Exist”