09-07-2006 06:04 PM
09-08-2006 08:36 AM
09-08-2006 09:47 AM
Thanks for your help. To anwer your question first, No I'm not using 'current vi's path'. The location of my 'Main.VI' and the file folders are different (e.g, 'C:\....\desktop\Main.VI.' and 'C:\temp\data file folder'). I will once again try to explain how the program works.
1. 'Main.VI' collects/reduces/processes raw data and save the reduced data hourly into 'data file folder'.
2. When it reaches a certain time limit (e.g. 1day, 1week, 1 month,..etc), it will send a notification to a subVI and this subVI will do some processing/saving and send a reduced file to users via email.
Again, before I make an exe file, everything works the way I programmed. After building an exe, however, everything else works fine except the email.
I included a screen shot of a portion of block diagram for this subVI.
09-08-2006 09:54 AM
09-08-2006 11:07 AM
09-08-2006 01:25 PM
The error means "The system caused the network connection to be aborted."
I wonder if this isn't the result of some security setting on your network/mail server/firewall. Could it be blocking access from an unknown exe? The TCP open is using port 25. Are you using XP? If so, the first place I would look is in the Windows Firewall settings. Try adding your exe to the exceptions list.
09-08-2006 01:56 PM
09-08-2006 02:57 PM
You were right. What's happening was that the virus scan software was blocking any unknown exe files. So, I had to go to its properties and have it exclude my exe file. Now it's working.
If I could reach you, I would buy you a lunch or something.
Thanks a million.
09-08-2006 03:11 PM