ASP Setting Up an Environment
Running classic ASP pages requires Internet Information Services (IIS) — Microsoft's web server — installed and configured with ASP support on a Windows machine.
What You Need
- A Windows edition that includes IIS (Windows 10/11 Pro or Enterprise, or any Windows Server edition)
- Internet Information Services (IIS) installed with the classic ASP feature enabled
- A folder to hold your .asp files, either the default IIS web root or a virtual directory
- A plain text editor (Notepad, VS Code, or similar) — no special IDE is required
Enabling IIS and ASP on Windows
- Open Control Panel > Programs > Turn Windows features on or off
- Check the box for Internet Information Services
- Expand Internet Information Services > World Wide Web Services > Application Development Features
- Check the box labeled ASP (this is separate from ASP.NET)
- Click OK and let Windows install the components
Creating and Testing a Page
IIS serves files from a web root, normally C:\inetpub\wwwroot. Any .asp file you copy into that folder becomes reachable at http://localhost/filename.asp. For larger projects, open IIS Manager (inetmgr), right-click Default Web Site, and choose Add Virtual Directory (or Add Application) to point a URL path at a different folder on disk without moving your files into wwwroot.
Example
<%
Response.Write("IIS and ASP are working correctly!")
%>Save the snippet above as test.asp inside your web root, then browse to http://localhost/test.asp. If IIS and the ASP engine are configured correctly, the browser shows the plain sentence rather than downloading the file or displaying raw script text — either of those symptoms means the ASP feature still needs to be enabled for that site.
Example
<%
Response.Write("Server software: " & Request.ServerVariables("SERVER_SOFTWARE"))
%>