in reply to Re^3: Perl scripts wont run on Windows 2003 server
in thread Perl scripts wont run on Windows 2003 server

Ok, I'll start again. I'm not writing any code, I'm just migrating a web service from one server to another - both Windows 2003 using IIS (I have no control over this, can't change to Apache). I don't have any experience with Perl and very little with servers - I was handed this task because no-one else wanted to do it.

I created a virtual directory on the new server and copied all the files accross to this, changing the URL's in all the pages to point to the relevant location within the virtual directory. These are all working fine, with all links working perfectly. There is one button on the main page, which when pressed should call a Perl program, but this throws up a 'file not found error'. I manually located the program by exploring the directory through the browser, but clicking on the program still gives the file not found.

On the server I installed the latest version of Active Perl. I checked that the path in the environment variables pointed to the correct location of the Perl interpreter. I also checked that the mappings in application configuration in IIS pointed to the correct executable path for the .pl, .plx and .plex extensions.

As a side thought, I tried opening the examples (which contained Perlscript) included in the Active Perl installation from a browser on the server.

I have gone through the settings in IIS and the Server Manager on both servers and they seem to be the same.

There are no other pages running on the new server - someone tried to do something similar to what I'm doing but gave up when they ran into the same problem that I'm having.

  • Comment on Re^4: Perl scripts wont run on Windows 2003 server

Replies are listed 'Best First'.
Re^5: Perl scripts wont run on Windows 2003 server
by davorg (Chancellor) on Nov 22, 2005 at 13:00 UTC

    I'm sorry but I can't really be any more help. This seems to be an IIS configuration problem and I know nothing about configuring IIS. You would be better advised to ask this question on a mailing list or forum that specialises in IIS administration.

    --
    <http://dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

Re^5: Perl scripts wont run on Windows 2003 server
by marto (Cardinal) on Nov 22, 2005 at 15:58 UTC
    Hi kevosull,

    Can you check to make sure that you added an entry under "Web Service Extensions"?
    Take a look at this page to check out what I mean.

    Hope this helps.

    Martin
      Thanks for the help guys. It turned out to be a variety of different settings in IIS and some sloppy coding with no comments on the part of the original designer of the site. Everything is working as normal now, even fixed a few other problems in the process by accident.
      Thanks again,
      Kevin