1) installed iis 7.5 on a new server.
2) moved the root directory to new location, gave the new root direct read&execute permissions for IUSR. Tested it and I could view static pages okay.
3) installed activeperl, ran ap-iis-config add all, in iis manager, I see the new handlers for .pl files. It add a web.config file in the new root directory.
4) Now I can't run perl scripts or view static files. I get the error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module IIS Web Core
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \\?\C:\Users\Administrator\Documents\mysite\web-site\web.config
How to fix it? This is mostly a static website with a couple of perl scripts. It is not a .net website/app.