Last updated: August 27, 2026.
Classic ASP runs server-side VBScript inside IIS to generate HTML and other HTTP responses. This guide organizes the language, built-in objects, database, and deployment articles available on WebCheatSheet.
Start here
- What Classic ASP is
- Enable Classic ASP in IIS
- Create your first ASP page
- Variables, constants, and arrays
- Conditions, loops, and procedures and functions
A minimal ASP page
<%@ Language="VBScript" %>
<%
Option Explicit
Dim visitorName
visitorName = "Visitor"
%>
<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><title>ASP example</title></head>
<body><h1>Welcome, <%= Server.HTMLEncode(visitorName) %></h1></body>
</html>Built-in objects
- Request and Response
- Session and Application
- Server and ASPError
- FileSystemObject, File, and TextStream
Database and operations
- Open a database connection
- Connect to SQL Server
- Connect to MySQL
- Connect through a DSN
- Troubleshoot Classic ASP on IIS
Microsoft documents the available IIS settings in the Classic ASP configuration reference.