dneill has asked for the wisdom of the Perl Monks concerning the following question:

ActivePerl, v5.8.8 built for MSWin32-x86-multi-thread on a Windows 2003 Server.

I'm using Net::SMTP::SSL to send E-mail to a gmail account that requires authentication. I wrote a command-line script that did the job, no problem. When I tried to do the same thing from within a CGI on IIS6 I got the below. I found all occurances of SSLeah.dll and ssleay32.dll, renamed all the non-perl ones inactive, changed the permissions on the perl directories to full for IUSR_computername, made sure the dlls involved and perl were in PATH and I still get the below error.

I also tried the command line permission changer: xcacls D:/Perl/site/lib/auto/Net/SSLeay/SSLeay.dll /E /G IUSR_COMPUTERNAME:RXE

What else might I try?

Can't load 'D:/Perl/site/lib/auto/Net/SSLeay/SSLeay.dll' for module Ne +t::SSLeay: load_file:Access is denied at D:/Perl/lib/DynaLoader.pm li +ne 230. at D:/Perl/site/lib/IO/Socket/SSL.pm line 17

Replies are listed 'Best First'.
Re: SSLeay.dll Access denied
by Anonymous Monk on Apr 09, 2008 at 16:25 UTC
    See $^E
      Could you expand on this a little? Would I eval the "use Net::SMTP::SSL;" line or die with a reference to '$^E'?
        that should work
Re: SSLeay.dll Access denied
by Anonymous Monk on Apr 09, 2008 at 16:25 UTC
    there is file permissions, network permissions ...
Re: SSLeay.dll Access denied
by BrowserUk (Patriarch) on Apr 10, 2008 at 05:55 UTC