



A familiar story - I've run a script from the command line and it performs a secure login to the smtp server - as is so often needed these days. It uses Net::SMTP::SSL which uses Net::SSLeay which (I think) uses Net::SSL. Anyway, when I try to use the same code in a perl cgi script running on IIS6, windows 2003 server, perl v5.8.8 built for MSWin32-x86-multi-thread, I get the following error. I've checked the permissions on the directory where the cgi script is and perl and all the individual module files involved. I made sure they all have full permissions for IUSR_computername and even turned on full for everyone - still the same error. I renamed the related SSLeay32.dll and got a error on being unable to find it in the INC so, I think I'm on the right track but, I'm sort of stuck so, I was wondering if anyone had been here before and solved it. I checked the system for all other occurences of SSLeay32.dll and renamed them out of the way so, I don't think those are an issue. I need to find out how to tell IIS to grant access to this file. TIA
Can't load 'D:/Perl/site/lib/auto/Net/SSLeay/SSLeay.dll' for module Net::SSLeay: load_file:Access is denied