IIS
There are 4 entries for the tag
IIS
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: ......
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 ......
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" ......
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.