PC 9.51 install config errors with IIS

During the Install / configuration step of PC Core i get an IIS error "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."

Has anyone experienced this error and have a solution for it.

Please see attached