How to stop/start IIS 7 application through command line?

http://www.windowsnetworking.com/articles_tutorials/Configuring-IIS-7-command-line-Appcmdexe-Part1.html Put this into a file with .bat extension. @echo off appcmd start sites “site1” appcmd stop sites “site2” Update Just ensure that appcmd is available anywhere by adding %windir%\system32\inetsrv\ to the PATH environment variable of your system. Alternatively, you can use the full path to appcmd.exe in the batch file.

How do I change the physical path of web site in IIS7 with APPCMD?

This is how you should do: C:\Windows\System32\inetsrv>appcmd set vdir “MySite/” -physicalPath:”C:\inetpub\temp” Note: “MySite/” is a name of your virtual directory so if your virtual directory is under default web site you’re likely have to set “Default Web Site/MySite/” As for figuring out how to do other appcmd commands just type: appcmd set vdir /? and … Read more

Rename virtual directory on Windows Server 2008 (IIS7 )

I found a way to do this using the built in appcmd.exe tool. If you wanted to change your virtual directory “Images” inside your application “OldApplicationName” type this into the command line. %systemroot%\system32\inetsrv\appcmd set vdir “Default Web Site/OldApplicationName/Images” -path:/Images2 More details, including how to rename applications here: http://www.foliotek.com/devblog/rename-applications-and-virtual-directories-in-iis7/

How to check app pool last recycled

You could easily find the latest recycle time by using this powershell snippet: (Get-Process -Id <ProcessId>).StartTime Therefore find the process id of your web application in task manager. First add the following columns via Tools > Select columns… : select PID and Command Line. Look for any w3wp.exe process and find your application by examining … Read more

SPDY module for IIS7 [closed]

IIS has little or nothing to do with SPDY. IIS is just an application server that responds to HTTP requests handed off by the http.sys kernel mode driver. All HTTP requests in Windows are handled by this driver. This is the level at which SPDY would be need to be implemented. If you were to … Read more

How can I use a local SMTP server when developing on Windows 7? [closed]

If you are developing in ASP.net using the built-in mail libraries, a lesser-known configuration setting is to use the following: <configuration> . . . more config stuff here . . . <system.net> <mailSettings> <smtp deliveryMethod=”SpecifiedPickupDirectory” from=”noreply@testdomain.org”> <specifiedPickupDirectory pickupDirectoryLocation=”c:\smtp\”/> </smtp> </mailSettings> </system.net> </configuration> All your application generated emails will be dumped into this directory during development. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)