ActiveState Community

Windows 2000 Pro / Server

Making soap service with PDK

Hi,
i have being trying to get a perl script running as a soap service in the .net framework. I can complie the perl script with plc as a dll but dont know how to call this dll with the iis. Is it possible to call perl code directly with an asmx file like ?
<%@ WebService class="PerlPassword.PasswordServer" Language="perl" %>
..
..

Right now i am getting
Parser Error Message: 'perl' is not a supported language.

The .net is being used in IIS 5.0.

I would be grateful for any help

Thanks

Perl Command Line Help

I've installed Active State Perl 5.8.0 on a new PC for a new user. When running a Perl program from the command prompt, there are 2 command line input

c:\> script.pl input1 input2

When running the program is doesn't recognise any command line input. This script is running on 10 other PC's fine.

So far I've:

Added c:\perl\bin to the PATH environment variable
Registered .pl files to perl.exe in Windows
Reinstalled Perl

Backtick failing (fork?)

Hi,

I have a script using 5.8.7 on Windows 2000 (5.00.2195) where commands in backticks work for a few hours, then they don't.
$backtest = `tlist`;
if (!$backtest) {
`shutdown /l /r /t:0 /c /y`
}
doesn't result in a shutdown, and other commands with visible side effects don't seem to execute either.

open (CMD, "tlist|") and reading from also works for a while, then doesn't.

system() calls work, so my workaround right now is system("tlist > dumpfile"), then reading from the dump file.

DBD-ODBC and DBI 1.21

I've been forced to upgrade a server to Perl 5.10 to make it work with other modules. This machine is behind a firewall, and PPM cannot be made to work. I've had to download and install about 30 modules by hand, and have resolved all issues except one. DBD-ODBC is the last I need, and I'm stumped.

The issue is DBD-ODBC's requirement for DBI 1.21. A scan of these forums indicates that this is a popular problem. I've looked in the folders of downloadable zips for all Perl releases, and 1.21 does not exist. I've found:

5xx - 1.14
6xx - 1.34, 1.35, 1.37, 1.48
8xx - 1.35 - 1.602

Komodo IDE version 4.3.1 will not start

Help! Komodo won't start up when I try to run it. I recently updated 4.2 to 4.3.1 on my W2k-Sp4 box. Version 4.2 worked but not sure if 4.3.1 ever ran (I use 4.3.1 on an XP machine at work. I'm at home today so it could be the first time I've tried running 4.3.1 here).

ppm does not work after install

I just installed ActiveState Perl 5.10.0.1002 Win 32 and tried to launch ppm.

Either with the gui command or with the command line (ppm install PAR) I get the same error message :

ppm install failed: DBI connect('dbname=c:\winnt\PARAM╚~1\APPLIC~1/ActiveState/ActivePerl/1002/ppm-MSWin32-x86-multi-thread-5_10.db','',...) failed: unable to open database file(1)

I had exactly the same error with ActiveState Perl 5.8

The directory c:\winnt\... \1002 is correctly created, but nothing inside.

Apache Crashes

Apache crashes when I'm stepping through PHP.

I'm running Apache 2.2 on Win2k SP4 on my local machine. I have been using Zend's debugger for the last few months to bring up a Drupal (PHP) site, but it extracted a great price in system stability and programmer frustration. Giving in to a fit of anger, I have done my best to purge it from my system. I've installed a fresh version of PHP 5.2.2 (including patching in the the old libmysql.dll). My Drupal site still works fine, both locally and on my isp.

Cannot include the package Img into a starpack with TclApp

Hi,

I tried to create a Starpack for a software that required
the package Img, version 1.3. I was unable to include
that particular package and to make it available from
my app. To fix the problem I had to fix the img.tap
file of the Img package, which seems strange to me.

My work is based on ActiveTcl 8.4.16 and TclDevKit 4.0.2.
I want to release that script into 2 different starpacks :
- one version for Windows,
- one version for Linux,
and more versions for more platforms in the coming months.
Since the package Img includes binaries, I have to make

No DBD::Oracle module for ActivePerl 5.10.0.1002

Hi,

I've installed a fresh ActiveState Perl 5.10.0.1002.

Now I can't install the module DBD::Oracle via ppm because it isn't available for Perl 5.10.0.1002.

Where can I get a module version of DBD::Oracle for Perl 5.10.0.1002?

Thanks
Florian

FindBin Does Not Work

Can anyone tell me why FindBin doesn't work for me? Here is my whole
script:

<% @LANGUAGE="PerlScript" %>
<%
use FindBin;
%>

Here's the error message:

Error Type: PerlScript Error (0x80004005)
Cannot find current script '' at C:/Perl/lib/FindBin.pm line 206
BEGIN failed--compilation aborted at C:/Perl/lib/FindBin.pm line 206.
Compilation failed in require at (eval 2) line 1.
BEGIN failed--compilation aborted (in cleanup)
Cannot find current script '' at C:/Perl/lib/FindBin.pm line 206
BEGIN failed--compilation aborted at C:/Perl/lib/FindBin.pm line 206.
Compilation failed in require at (eval 2) line 1.
BEGIN failed--compilation aborted
/jwatch/woof.asp, line 3

Also, $0 returns nothing. This is running on a Windows 2000 box.
Would this happen if my sysadmin didn't install the package using
Admin privileges?

Thanks.