Вы правы. .ashx является частью HandlerFactory, который установлен, когда Вы выбираете ASP.NET в Web Server Role Services.
Включить ASP.NET в Windows 7 и Windows Server 2008
В Windows 7 можно включить ASP.NET из Control Panel
-> Programs
-> Programs and Features
-> Turn Windows features on or off
. Расшириться Internet Information Services
-> World Wide Web Services
-> Application Development Features
и нажмите ASP.NET
.
В Windows Server 2008, открытом Server Manager
-> щелчок Roles
-> щелчок Add Roles
-> выбор Web Server (IIS)
-> в щелчке Role Services ASP.NET
это запросит необходимую зависимую Roles Services click Add Required Role Services
.