IIS

There are 4 entries for the tag IIS

PowerShell – Recycle All IIS App Pools

With a little help from Shay Levy’s post on Stack Overflow and the MSDN documentation, I added this handy function to my profile to automatically recycle all IIS app pools. function Recycle-AppPools { param( [string] $server = "3bhs001", [int] $mode = 1, # ManagedPipelineModes: 0 = integrated, 1 = classic ) $iis = [adsi]"IIS://$server/W3SVC/... $iis.psbase.children | %{ $pool = [adsi]($_.psbase.path); if ($pool.AppPoolState -eq 2 -and $pool.ManagedPipelineMode -eq $mode) { # AppPoolStates: ......

Posted On Thursday, December 16, 2010 3:59 PM | Comments (0)

PowerShell NetCmdlets -debug

Its easy to forget about the –debug parameter, but a lot of times it can be very helpful, especially with NetCmdlets where in many cases –debug will output the protocol interface (the “PITrail” as we call it at /n software) of the connection. The PITrail includes a trail of communication between the cmdlet and the remote host it is talking to. Rob emailed me to ask for help diagnosing a 425 error he was getting when using the NetCmdlets get-ftp cmdlet. As I described to Rob, in a nutshell the 425 ......

Posted On Thursday, September 11, 2008 4:41 PM | Comments (0)

How to run CGI applications on IIS7

While trying out the /n software IP*Works! 3-D Secure MPI C++ Edition (for implementing Verified By Visa, MasterCard SecureCode, or JCB J/Secure) I needed to figure out how to run a CGI application in IIS7. I had a compiled c++ exe (3dsecure.exe) that would handle my 3d secure authentication, but what was the next step? Here's how to do it: First, go to the Internet Information Services (IIS) Manager snap-in. Click on the server in the Connections list, and then click on "ISAPI and CGI Restrictions" ......

Posted On Thursday, December 13, 2007 1:58 PM | Comments (32)

Debugging classic ASP on IIS7

The first time you go debugging classic ASP scripts on IIS7 you'll just get errors that say "An error occurred on the server when processing the URL. Please contact the system administrator".

To see the real error, go to MMC and load the IIS Manager snap-in and go to your website. Double click on "ASP" in the Features View tab, drill down into Debugging Properties and change "Send Errors To Browser" to true.

Posted On Wednesday, February 14, 2007 2:49 PM | Comments (10)

Copyright © Lance Robinson

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski