Hello
could you please let me know what this error message means. The extract actually happened - to network drive. but no email sent.
thanks,
[View:/cfs-file/__key/communityserver-discussions-components-files/36/Doc2.docx:320:240]
Hello
could you please let me know what this error message means. The extract actually happened - to network drive. but no email sent.
thanks,
[View:/cfs-file/__key/communityserver-discussions-components-files/36/Doc2.docx:320:240]
hello tennis_champion,
Could you please do/clarify the following:
Personally i suspect the output file format.
Thanks,
Martin
Hello mark.oliver,
I see that the user is running TDP v3.3 - is it possible for him/her to upgrade to the latest version and try it there?
Could you please make a copy of the automation script (.tas file) and remove all activities but the send mail activity (to isolate it), then go to the Settings activity, enable "Verbose" log level and rerun and send us the execution log?
Martin
A user is having an issue with sending an automated email from TOAD. We've configured SMTP and allowed his laptop access through port 25. Everything seems to be set up OK, but we're getting errors. Could you advise what it means please?
-- 06/12/2016 14:32:37: Migrated projects list.log: Setting up environment
-- 06/12/2016 14:32:37: Migrated projects list.log: Script run by Toad Data Point 3.3.0.1526
-- 06/12/2016 14:32:37: Migrated projects list.log: Build started
-- 06/12/2016 14:32:37: Migrated projects list.log: Compiling Script
-- 06/12/2016 14:32:39: Migrated projects list.log: Build Completed
-- 06/12/2016 14:32:39: Migrated projects list.log: Begin execution script activities
-- 06/12/2016 14:32:39: Migrated projects list.log: Begin Export of File_Export_MigratedProjects
-- 06/12/2016 14:32:40: Migrated projects list.log: Connection to: KEEPPRD3.WORLD (EDQ), KEEP
-- 06/12/2016 14:32:40: Migrated projects list.log: Begin Export
-- 06/12/2016 14:32:40: Migrated projects list.log: SQL to execute: /*Migrated Projects*/
SELECT a.projectid AS project_id,
pt1.description AS type_from,
pt2.description AS type_to,
bt.description AS baseline_template_applied,
pp.forename || ' ' || pp.surname AS migrated_by,
a.datemigrated AS date_migrated,
decode(a.result,
1,
'OK',
'FAILED') AS RESULT
FROM migratedprojectaudit a
INNER JOIN project_type pt1
ON pt1.id = a.typeid_from
INNER JOIN project_type pt2
ON pt2.id = a.typeid_to
INNER JOIN cti_person pp
ON pp.id = a.ctipersonid
INNER JOIN Project p
ON p.id = a.projectid
LEFT OUTER JOIN baseline_template bt
ON bt.id = p.baseline_template_id
ORDER BY datemigrated DESC,
a.id DESC;
-- 06/12/2016 14:32:40: Migrated projects list.log: Beginning export
-- 06/12/2016 14:32:41: Migrated projects list.log: Attempted to export 609 rows
-- 06/12/2016 14:32:41: Migrated projects list.log: Successfully exported 609 rows
-- 06/12/2016 14:32:41: Migrated projects list.log: Export Finished, click Migrated projects2016-12-06.xlsx to view file
-- 06/12/2016 14:32:41: Migrated projects list.log: Row count variable File_Export_Migrated_RCOUNT set to 609 rows
-- 06/12/2016 14:32:41: Migrated projects list.log: Send email
-- 06/12/2016 14:32:41: Migrated projects list.log: SocketException occurred. InnerException message follows: The requested name is valid, but no data of the requested type was found
-- 06/12/2016 14:32:41: Migrated projects list.log: The requested name is valid, but no data of the requested type was found
-- 06/12/2016 14:32:41: Migrated projects list.log: at a.ae.a(String A_0)
at a.ai.a(String A_0)
at a.m.a(String A_0, Int32 A_1, Boolean A_2, Socket A_3, EndPoint A_4)
at a.m.x()
at a.f.l.x()
at a.f.m.x()
at a.f.l.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Boolean A_7, DataTable A_8, Int32 A_9, String A_10)
at a.f.m.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Boolean A_7, DataTable A_8, Int32 A_9, String A_10)
at a.f.e.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Int32 A_7, aw A_8, Boolean A_9, DataTable A_10, Int32 A_11, String A_12)
at a.f.n.a(String A_0, EmailAddressCollection A_1)
at a.f.n.a(Boolean A_0, String A_1, EmailAddressCollection A_2)
at a.f.n.a(Boolean A_0)
at Quest.Toad.Workflow.Activities.SendEmailActivity.SendMail(SmtpServer server, MailMessage email)
-- 06/12/2016 14:32:41: Migrated projects list.log: Email successfully sent
-- 06/12/2016 14:32:41: Migrated projects list.log: Send_Email_1 - There were errors encountered sending the message. See the log file for details.
-- 06/12/2016 14:32:41: Migrated projects list.log: Continuing after error
-- 06/12/2016 14:32:41: Migrated projects list.log: Begin Export of File_Exp_NewProjOnISDelTempl
-- 06/12/2016 14:32:42: Migrated projects list.log: Connection to: KEEPPRD3.WORLD (EDQ), KEEP
-- 06/12/2016 14:32:42: Migrated projects list.log: Begin Export
-- 06/12/2016 14:32:42: Migrated projects list.log: SQL to execute: /*New Projects*/
SELECT p.id AS project_id,
pt.description AS project_type,
bt.description AS baseline_template_applied,
pp.forename || ' ' || pp.surname AS created_by,
p.createdon AS created_on
FROM project p
INNER JOIN project_type pt ON pt.id = p.typeid
INNER JOIN cti_person pp ON pp.id = p.createdby
LEFT OUTER JOIN baseline_template bt ON bt.id = p.baseline_template_id
WHERE pt.description = 'IS Delivery'
AND p.id NOT IN (SELECT m.projectid
FROM migratedprojectaudit m)
ORDER BY p.id;
-- 06/12/2016 14:32:42: Migrated projects list.log: Beginning export
-- 06/12/2016 14:32:42: Migrated projects list.log: Attempted to export 36 rows
-- 06/12/2016 14:32:42: Migrated projects list.log: Successfully exported 36 rows
-- 06/12/2016 14:32:43: Migrated projects list.log: Export Finished, click NewISDelProjects-2016-12-06.xlsx to view file
-- 06/12/2016 14:32:43: Migrated projects list.log: Row count variable File_Export_New_RCOUNT set to 36 rows
-- 06/12/2016 14:32:43: Migrated projects list.log: SocketException occurred. InnerException message follows: The requested name is valid, but no data of the requested type was found
-- 06/12/2016 14:32:43: Migrated projects list.log: The requested name is valid, but no data of the requested type was found
-- 06/12/2016 14:32:43: Migrated projects list.log: at a.ae.a(String A_0)
at a.ai.a(String A_0)
at a.m.a(String A_0, Int32 A_1, Boolean A_2, Socket A_3, EndPoint A_4)
at a.m.x()
at a.f.l.x()
at a.f.m.x()
at a.f.l.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Boolean A_7, DataTable A_8, Int32 A_9, String A_10)
at a.f.m.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Boolean A_7, DataTable A_8, Int32 A_9, String A_10)
at a.f.e.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Int32 A_7, aw A_8, Boolean A_9, DataTable A_10, Int32 A_11, String A_12)
at a.f.n.a(String A_0, EmailAddressCollection A_1)
at a.f.n.a(Boolean A_0, String A_1, EmailAddressCollection A_2)
at a.f.n.a(Boolean A_0)
at Quest.Toad.Workflow.Activities.SendEmailActivity.SendMail(SmtpServer server, MailMessage email)
-- 06/12/2016 14:32:43: Migrated projects list.log: Exception Email successfully sent
Thank you
I searched our records and found this error occurred in TDP 3.5, 3.6 and 3.7. We entered QAT-4052 and made several fixes in TDP 3.8.1 for this. The Zip error is caused by an excel file (such as xlsm) being corrupted. We added code to handle the firing of macros etc is a better manner. In TDP 4.0 we changed the component that we used to export to these files. You can try making sure whatever excel template you are using is not corrupted. But for correction of what corrupted it you will need to upgrade to our latest release.
P.S. We are releasing TDP 4.1 on Dec 8 so you might want to wait for that release
Thank you Debbie for your prompt reply. How can I access the new release in 2 days? Please let me know,
happy holiday season!
When we post the new release your current Toad Data Point will pop up a message and tell you and offer to download[I]
I am sorry that this happened to you.
Can you pm me your email address and company name and I can get you a trial key and then find out who your account manager is so they can follow up with you.
-Mark
Hi...I responded in the Beta forum that your answer did not provide the solution I was looking for. Can you please review and see if there is any solution. I need to use it in setting up a reporting automation.
Your help would be appreciated!!
Chris
Thanks for your quick response Mark! Another colleague was working on the problem and managed to get to a Quest/Toad contact and get us the licenses we needed.
Thanks for offering to help though, much appreciated.
Yesterday my team and I downloaded the trial version of Toad Data Point. We received no email from Toad/Quest containing any license key information. Today when we attempt to launch the application we are prompted to enter in our license keys.
How can we retrieve our trial keys from Toad/Quest? Has anyone else experienced this problem? Can the key be found somewhere in the install files?
Thanks for the reply. I am sure I replied to this already! Obviously pressed the wrong button somewhere.
I'm not upgrading his version as the user is on leave. I'll ask him on his return. Our network team have confirmed that no SMTP traffic is coming from the laptop despite us having port 25 opened for the laptop.
Here is the verbose log:
-- 06/12/2016 15:13:09: Migrated projects list.log: Setting up environment
-- 06/12/2016 15:13:09: Migrated projects list.log: Script run by Toad Data Point 3.3.0.1526
-- 06/12/2016 15:13:09: Migrated projects list.log: Build started
-- 06/12/2016 15:13:09: Migrated projects list.log: Compiling Script
-- 06/12/2016 15:13:10: Migrated projects list.log: Build Completed
-- 06/12/2016 15:13:10: Migrated projects list.log: Begin execution script activities
-- 06/12/2016 15:13:10: Migrated projects list.log: Send email
-- 06/12/2016 15:13:10: Migrated projects list.log: Email To: dominic.cox@arqiva.com, From: Dominic.Cox@arqiva.com, cc: Dominic.Cox@arqiva.com
-- 06/12/2016 15:13:10: Migrated projects list.log: Email Subject: Migrated projects
-- 06/12/2016 15:13:10: Migrated projects list.log: Email message: PFA the current migrated projects list.
-- 06/12/2016 15:13:10: Migrated projects list.log: Setting up SMTP email
-- 06/12/2016 15:13:10: Migrated projects list.log: Smtp Server: smtp.arqiva.local
-- 06/12/2016 15:13:10: Migrated projects list.log: Smtp Port: 25
-- 06/12/2016 15:13:10: Migrated projects list.log: Begin email send
-- 06/12/2016 15:13:10: Migrated projects list.log: SocketException occurred. InnerException message follows: The requested name is valid, but no data of the requested type was found
-- 06/12/2016 15:13:10: Migrated projects list.log: The requested name is valid, but no data of the requested type was found
-- 06/12/2016 15:13:10: Migrated projects list.log: at a.ae.a(String A_0)
at a.ai.a(String A_0)
at a.m.a(String A_0, Int32 A_1, Boolean A_2, Socket A_3, EndPoint A_4)
at a.m.x()
at a.f.l.x()
at a.f.m.x()
at a.f.l.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Boolean A_7, DataTable A_8, Int32 A_9, String A_10)
at a.f.m.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Boolean A_7, DataTable A_8, Int32 A_9, String A_10)
at a.f.e.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Int32 A_7, aw A_8, Boolean A_9, DataTable A_10, Int32 A_11, String A_12)
at a.f.n.a(String A_0, EmailAddressCollection A_1)
at a.f.n.a(Boolean A_0, String A_1, EmailAddressCollection A_2)
at a.f.n.a(Boolean A_0)
at Quest.Toad.Workflow.Activities.SendEmailActivity.SendMail(SmtpServer server, MailMessage email)
-- 06/12/2016 15:13:10: Migrated projects list.log: Email successfully sent
-- 06/12/2016 15:13:10: Migrated projects list.log: Send_Email_1 - There were errors encountered sending the message. See the log file for details.
-- 06/12/2016 15:13:10: Migrated projects list.log: Continuing after error
-- 06/12/2016 15:13:10: Migrated projects list.log: Generating exception Email
-- 06/12/2016 15:13:10: Migrated projects list.log: Email message: Script Error
Automation script "Migrated projects list" had errors while executing. The exception messages are listed below and the log file is attached.
Continue on Error Exception Messages:
Send_Email_1 - There were errors encountered sending the message. See the log file for details.
Exception Messages:
SocketException occurred. InnerException message follows: The requested name is valid, but no data of the requested type was found
The requested name is valid, but no data of the requested type was found
-- 06/12/2016 15:13:10: Migrated projects list.log: Setting up SMTP email
-- 06/12/2016 15:13:10: Migrated projects list.log: Email Attachment: C:\Users\dominic.cox\AppData\Roaming\Quest Software\Toad Data Point 3.3\Automation\Migrated projects list.log
-- 06/12/2016 15:13:10: Migrated projects list.log: Smtp Server: smtp.arqiva.local
-- 06/12/2016 15:13:10: Migrated projects list.log: Smtp Port: 25
-- 06/12/2016 15:13:10: Migrated projects list.log: Begin email send
-- 06/12/2016 15:13:10: Migrated projects list.log: SocketException occurred. InnerException message follows: The requested name is valid, but no data of the requested type was found
-- 06/12/2016 15:13:10: Migrated projects list.log: The requested name is valid, but no data of the requested type was found
-- 06/12/2016 15:13:10: Migrated projects list.log: at a.ae.a(String A_0)
at a.ai.a(String A_0)
at a.m.a(String A_0, Int32 A_1, Boolean A_2, Socket A_3, EndPoint A_4)
at a.m.x()
at a.f.l.x()
at a.f.m.x()
at a.f.l.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Boolean A_7, DataTable A_8, Int32 A_9, String A_10)
at a.f.m.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Boolean A_7, DataTable A_8, Int32 A_9, String A_10)
at a.f.e.a(MailMessage A_0, String A_1, EmailAddressCollection A_2, DeliveryNotificationOptions A_3, Smtp8bitDataConversion A_4, Boolean A_5, SendFailureThreshold A_6, Int32 A_7, aw A_8, Boolean A_9, DataTable A_10, Int32 A_11, String A_12)
at a.f.n.a(String A_0, EmailAddressCollection A_1)
at a.f.n.a(Boolean A_0, String A_1, EmailAddressCollection A_2)
at a.f.n.a(Boolean A_0)
at Quest.Toad.Workflow.Activities.SendEmailActivity.SendMail(SmtpServer server, MailMessage email)
-- 06/12/2016 15:13:10: Migrated projects list.log: Exception Email successfully sent
It is possible that an error is being suppressed that might help us understand what is occurring. Please go to Help | about | AppDataDir.
Then open the Knownexception.xml file and delete the contents as shown in the second picture. I have included a before and after pic. Then please stop and restart TDP and try to open file. You should get a pop-up error. Please post screeenshot and also post our exception file name ExceptionTrace.log.
This is a strange problem I was hoping you could help us with. TDP was upgraded to 4.0.1, and the Import / Export wizards aren't working at all under our primary Windows account.
The symptoms are that we're unable to open TIM or TXP files, unable to open Import Export from menu, and unable to create import or export templates from automation. Any time one of these actions is taken, nothing happens.
Import Export functionality is working in 4.0.1 only under the admin account the version was installed from. It was installed for all users. With this being the case, it seem like a permissions issue, but unsure for what, as there are no errors.
Thanks!
After i defined some variables in this window (let's say myTestVar) i was then able to use it as a standard variable in automation.. For example in the "Select to file" activity's output excel file filename: "c:\temp\dir1\ReportXYZ_#myTestVar#.xlsx"...
The good thing about globals variables is that they are saved into a file so you can still access them the next time you open toad...
Hi mark,
Sorry for later response, I just now realized you've responded.. Not sure why I didn't receive notification of it.
I've tried to search for this error message: "The requested name is valid, but no data of the requested type was found" and it seems the error is not related to the mail functionality itself but with invalid DNS settings - or at least the users on the internet say so.
In order to narrow the problem further could you please confirm whether the user is able to send emails using the same credentials and smtp connection details in some other tool? For example Outlook?
If yes then let him try this free portable "SMTP tester" app: http://www.softpedia.com/get/PORTABLE-SOFTWARE/Internet/Servers/Portable-SMTP-Tester.shtml
Martin
Debbie - Oh, ok. Thank you for clarifying!
Martin - What file are the global variables saved in? The Toad automation file, or some user data file? I'm asking because I develop on my laptop, but then deploy to a different machine to actually schedule and run under a different user. Anything that's tied to me specifically or not embedded isn't going to work for the way our environment is configured.
Go to your AppData dir (Menu - Help - About - Application Data Directory link) and then in the "GlobalVariables" folder there is a xml file for them.
my path is this:
c:\Users\mholkovi\AppData\Roaming\Quest Software\Toad Data Point 4.2\GlobalVariables\GlobalVariables.xml
Hi Martin,
Our network team confirmed that SMTP traffic was not leaving his laptop, but we have been able to test that the port is open using the Telnet client. Outlook works fine for him. The user is back from leave and we are going to look at upgrading him as he would like the upgrade anyway. I can troubleshoot further once we've done that.
Thanks for your help and suggestions.
Cheers
Mark
Debbie & Filip,
Thanks for the additional details.
We're on Windows 7 Enterprise 6.1 Build 7601 SP1
The path shouldn't contain any special characters - we have all files either in C:\sql or c:\temp
Selecting Tools | Import Data | Open Template from the file menu results in the same error above. I'm attaching an example TIM on the next post.
The details about initializing "MyDocuments" could be related - we've experienced an issue with a network share which also contained Documents, Recycle Bin, and other such folders. Not sure if "MyDocuments" may be linked somehow to the share which is currently inaccessible. We're currently working on restoring access to the share, and offline files were cleared.
Is the need to initialize "MyDocuments" hard coded into the application? I've looked for any path-related settings in the AppData files and registry, and nothing stood out. I also looked for any folder redirection keys in the registry, and it was difficult to determine if any are related. Regardless, policies may override.
Thanks,
Michael