I have other perl script on my IIS server that work fine.

analog.exe works great from the command line.
anlgform.pl works great as long as I am in the directory where analog.pl, 
analog.exe and anlgform.pl reside.

It seems to me that analog.exe cannot find the configuration file.
I even placed a enviromnent variable in the anlgform.pl

$cg = 'c:\Inetpub\wwwroot\analog4.13\cgi-bin\analog.cfg';

Here is my problem with the script when run outside of the directory:

c:\>c:\inetpub\wwwroot\analog4.13\cgi-bin\anlgform.pl
(offline mode: enter name=value pairs on standard input)
^Z
c:\Inetpub\wwwroot\analog4.13\cgi-bin\analog.exe: analog version 4.13/Win32
c:\Inetpub\wwwroot\analog4.13\cgi-bin\analog.exe: Warning F: Failed to open
  configuration file analog.cfg: ignoring it
  (For help on all errors and warnings, see docs/errors.html)
c:\Inetpub\wwwroot\analog4.13\cgi-bin\analog.exe: Warning F: Failed to open
  language file lang/uk.lng: ignoring it
c:\Inetpub\wwwroot\analog4.13\cgi-bin\analog.exe: Fatal error: Can't read
  language file lang/uk.lng: exiting
Content-Type: text/html
Status: 500 Program Failure

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head><title>500 Program Failure</title></head>
<body><h1>Program Failure</h1>
Analog failed to run or returned an error code.
<br>Maybe your server's error log will give a clue why.
</body></html>
[Tue Oct 17 21:34:23 2000] 
C:\inetpub\wwwroot\analog4.13\cgi-bin\anlgform.pl: "c
:\Inetpub\wwwroot\analog4.13\cgi-bin\analog.exe" failed to run or returned 
an er
ror code.
Died at C:\inetpub\wwwroot\analog4.13\cgi-bin\anlgform.pl line 
113.c:\Inetpub\wwwroot\analog4.13\cgi-bin\anlgform.pl

******************************************
But if I go to that directory:

c:\>cd c:\Inetpub\wwwroot\analog4.13\cgi-bin
c:\Inetpub\wwwroot\analog4.13\cgi-bin>anlgform.pl

Works great !!

Go figure.

Please let me know if anyone has got this to work under Windows 2000 and IIS 
5.

- Archie Spangler


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to