I received the following error:
Configuration error:”Parser Error Message: It is an error to use a section registered asallowDefinition=’MachineToApplication’ beyond application level. Thiserror can be caused by a virtual directory not being configured as anapplication in IIS.”
I followed many, many posts until I found the answer. This site uses a lot of vbscript and the error was actually in the script. Instead of the error page showing errors, it try’s to download as a file.