Partner and Community Forums
Perl in ASP page - PerlScript Error error '80004005'
Last post Aug 29, 2011 09:05 AM by HCamper
Aug 29, 2011 08:24 AM|Piotr Janisz|LINK
I had a problem with Perl script in ASP page which I managed to solve. Sollution may be usefull for somebody so here is a problem and sollution:
I was using IIS 7.5 on Windows Server 2008 R2 SP1 and Perl 5.12.4 64 bit.
I had a simple page:
<%@ LANGUAGE = PerlScript %>
use Win32::ASP qw(:strict);
$Response->write("Hello from Perl in ASP");
and when I wanted to see it I got following error:
"PerlScript Error error '80004005'
Global symbol "$Response" requires explicit package name
/test_perl.asp, line 11"
It turned out that:
- 64 bit Perl won't work, so you have to install 32 bit perl, and also configure
application pool configured to run with 32 applications and set managed pipeline mode to classic
- you have to add following line after "use strict":
Aug 29, 2011 09:05 AM|HCamper|LINK
Hi Piotr ,
Thank you for sharing the solution.
Trouble shooting Perl problems in ASP and getting the error '80004005'
and your solution will save other users time and fustration.
The Perl developers using windows can search (Google or Bing) can find this information
and solve the error and then get back to doing Perl Scipts and Coding.
The other Perl Developers should be thankful for your work :D.