in reply to Struggling to solve OpenSP failure

I have done a bit more checking and I can add, and this seems strange to me, this oocurs when check.pl is served by IIS. If I go to the server and run perl from a command prompt:-
D:\perl\bin> perl D:\wwwroot\validator\httpd\cgi-bin\check.pl
then no error is generated - instead html code is spooled to the screen which does not contain the error message!!!

Replies are listed 'Best First'.
Re^2: Struggling to solve OpenSP failure
by roboticus (Chancellor) on Sep 25, 2007 at 01:20 UTC
    Sounds like a file permissions problem. IIS isn't running as you, so it may not have execute priviledges on the files.

    ...roboticus

      Thanks - but I already thought of that so I have checked and changed the security properties in d:\perl - and all subfolders - and have set 'full access' to all of the users listed - including everyone and - because this is only a test server - I have also done the same on d:\wwwroot and all subfolders. I have used IIS manager to set Script Source Access, Read and Write permissions on all web sites Execute permissions are set to 'Scripts and Executables' on all web sites It still fails!!!!
        tsrplatelayer:

        How about the environment variables the IIS user is running under? Specifically any settings that would affect how perl looks for modules & executables.

        ...roboticus