IIS and Web Servers
ASP on Server 2016
Gravatar is a globally recognized avatar based on your email address. ASP on Server 2016
  Michael Hogan (Ideate Hosting)
  All
  Nov 22, 2019 @ 06:30am

I'm having a heck of a time getting Classic ASP pages running in IIS on Server 2016. I'm trying to move a few asp sites to a new VM.

The website is accessing VFP data through ODBC, so I think I need to be using the 32 bit ASP.dll in the syswow directory (although I have been trying both the 32 and 64 bit asp.dll)...

So I have enabled ASP in windows components and added the scriptmap (trying both 32 bit and 64 bit versions of asp.dll) and I am still getting errors (500 or 404.3 and result code 0x80070032) hitting a simple asp page.

The result code mentions: "Do not use the ISAPI filter that registers for the SF_NOTIFY_READ_RAW_DATA notification in IIS 7.0." I'm not sure if I should be using both a isapi filter and handler mapping...

Simply speaking - how do configure IIS 10 to run a classic ASP website?

Gravatar is a globally recognized avatar based on your email address. re: ASP on Server 2016
  Rick Strahl
  Michael Hogan (Ideate Hosting)
  Nov 23, 2019 @ 02:43pm

You shouldn't have to configure anything if you install the ASP classic role option. That should add the ISAPI filter, the scriptmap and the appropriate DLLs etc.

I can't verify for server, but I just checked this on my local machine running Windows 10 and IIS 10, and I can just use ASP pages and it just works. I would suspect perhaps permissions with the application pool? it may be the default Application Pool Identity account doesn't have the rights needed to access some of the needed components. Try using an elevated account and see if that makes a difference.

+++ Rick ---

© 1996-2019