aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Aspell-user] Problem running Perl Aspell script with IIS Web Server


From: Colm
Subject: [Aspell-user] Problem running Perl Aspell script with IIS Web Server
Date: Mon, 9 Feb 2004 18:02:10 +0700

Hello,
 
I'm having trouble running a Perl Aspell script through a web server (Microsoft's IIS) , and I'd like to know if anyone else has run into this kind of problem.
 
On the server (Win 2003 running IIS) I installed :-
 
    - ActivePerl v 5.8.2 Build 808
    - Aspell 0.50.3
    - Text::Aspell : http://theoryx5.uwinnipeg.ca/ppms/Text-Aspell.ppd
 
In IIS, I have mapped .pl to use the perl dll (and not perl.exe) and this works fine.
 
I wrote a test script (see below) which runs fine when I run it on the command line using perl.exe, so the Aspell module has been installed correctly, but it chokes trying to load the modulewhen I try to access it through a web-site with the following error message getting written to PerlIS-err.log:
 
*** 'd:\intranet\wwwroot\TestAspell.pl' error message at: 2004/02/09 17:56:30
[Mon Feb  9 17:56:30 2004] TestAspell.pl: Can't load 'C:/Perl/site/lib/auto/Text/Aspell/Aspell.dll' for module Text::Aspell: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 229.
[Mon Feb  9 17:56:30 2004] TestAspell.pl:  at d:\intranet\wwwroot\TestAspell.pl line 3
/Aspell.dll' for module Text::Aspell: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 229.
Here is the test script :
use CGI::Carp qw(fatalsToBrowser);  #don't swallow error messages.
use Text::Aspell;
 
print "Content-type: text/html\r\n\r\n";  #get the header out right away.
 
my $speller = Text::Aspell->new ;
 
if ( $speller->check("hello") ) {
   print "hello!!! <br>";
} else {
   print " ??? hello ??? <br>";
}
 
Any clues greatly appreciated.
 
Thanks,
Colm.
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]