Invalid handle with Mail sender with Windows 7 - perl

Im using Mail::Sender with my perl program and were able to send mails with this program when using windows xp. After migration to Windows 7 this does not work anymore and fails with the following error:
error sending mail, connect() failed: The handle is invalid
Someone an idea how to handle this invalid handle error?

Is every dependency installed right?
Did you tried to reinstall Mail::Sender or upgrade it to the latest version?
Did your perl version changed?
Is your old Windows XP was 32bit and the new one is 64bit?
Did you recompiled all the modules/perl or just copied over from old host?
This module is a pure perl module, if it dependency installed right then it should work on both windows.
Regards,

Related

Automation Server not Installed

How can I solve an error stating the following?
Crystal.CRPE.Application Automation Server not Installed
Problem Already Solved.
I just need to install some ocx files that are used in my company.

Perl "lwp-request" giving error 500 using TLS 1.2

We've been using a shipping API via our Unix server, specifically SCO Openserver 5.0.7, for a little over a year.
Our system generates XML files, sends them to the server using the lwp-request command, receives the response, interprets it, and processes it as needed by our system.
The exact command we use is:
lwp-request -m POST https://url.com < REQUESTFILE.XML > RESPONSEFILE.XML
The shipping company is upgrading all servers to require TLS 1.2, and now I get
500 SSL negotiation failed:
as a response when using this command.
I'm not sure how to go about making our system compatible.
Do I need to update Perl? (Current version is v5.8.8 built for i586-pc-sco3.2v5.0). If so, what is the minimum version to use TLS 1.2?
Do I need to update LWP? I believe my LWP version is 5.805 (got this using perl -MLWP -le "print(LWP->VERSION)")
Do I need to go into the lwp-request script and manually modify it?
Or is there perhaps another command that does an equivalent job using TLS 1.2?
Given your very old version of Perl (5.8.8, where 5.8.9 was release 2008) and LWP (5.805, 5.806 was released 2007) on a very old OS (SCO OpenServer 5.0.7, last update around 2009) it is likely that you are also running a very old version of OpenSSL. TLS 1.2 was only specified in 2008 and got available in OpenSSL only with 1.0.1 which was released 03/2012, i.e. several years after any software updates to your system.
You can check it it with openssl version and my guess is that it says something about version 0.9.8, i.e. way too old.
To make TLS 1.2 work on this old system you would need to compile a newer version of OpenSSL (at least the latest 1.0.1) and rebuild the Perl modules interfacing with OpenSSL so that they use this new version. Depending on your setup this might be Crypt::SSLeay or Net::SSLeay. And given how old your system is it is not unlikely that you run in various problems with compiling simply because most don't expect that somebody tries to compile newer software on outdated systems. Thus it might just be easier to upgrade everything to a recent and supported OS instead of trying to fight with an old system.

Creating new express project with nodeclipse gives blank project and "unexpected exception" error

Just installed latest version of Edine from nodeclipse, and in the console that is the only message outside of path information for the directory the project is stationed in. Also tried grabbing the latest default version and tried to install via New Software with similar results.
C:\Users\user\AppData\Local\Temp\express-work\1406755265579/test
Unexpected Exception
Anyone had this ever work? All methods I'm finding online seem to be broken.
This is on Windows 7 64 bit.
For anyone that arrives at this question and has the same issue.
I was under the mistaken understanding that when installing Nodeclipse, it also installed node.js, express, and mongodb. This is not the case. Installing node.js and express resolved this issue.

Error when installing SQL Server 2012 Express

When I attempt to install SQL Server 2012 Express, I get an error
However, I have installed service pack 1. BTW, I am using windows 7.
Could someone help me?
My best guess is that you're trying to install 64bit Sql Server on 32bit Windows 7. Other than that, make sure you right click and choose "Run as Administrator" when starting the installer, and that your copy of Windows evaluates as "genuine".
Sql Server also requires .Net and PowerShell, but if either of those were the problem I would expect to see a different error, or even just a prompt to allow them to be included with this installation.

why the Pyqt application implemented and worked well in VISTA can not run in Windows XP?

all, I implemented an application in my laptop (vista) with PyQt and it worked quite well. But if I want to run it in a desktop of Windows XP system, an error occured! It says the configuration was wrong. What is the reason (by this i mean does it matter which system I used??)and how to solve it please? thanks!!!
More info would be useful, but this sounds familiar to a problem I had when freezing apps using py2exe. Is this your exact error message?:
The application has failed to start because the application configuration is incorrect.
Reinstalling the application may fix the problem.
I managed to get around this by installing the Microsoft Visual C++ 2008 SP1 Redistributable Package from http://download.microsoft.com.
This was an error I had when using py2exe. After switching over to PyInstaller, which bundles the runtimes during freezing, the problems went away without having to install the C++ runtimes on an XP machine. There may even be a way to bundle the runtimes using py2exe, but I've not looked.