Author Topic: Report tasks fail when sending to email  (Read 5091 times)

0 Members and 1 Guest are viewing this topic.

HomeNet

  • Guest
Report tasks fail when sending to email
« on: July 20, 2012, 04:27:42 PM »
They produce the reports to be viewed with the crystal viewer but if you choose the option to export to PDF or HTML and email them, the task fails.  If it doesn't fail, I still never get the email.  I wish we could test SMTP settings like in most applications.

I've triple-checked the main SMTP settings and the task's send-to setting all fields are filled out the same way I'd fill them out on other apps.  We're not using any funny ports so 25 is good.  We do require authentication but the settings I'm using are the same settings I log into our webmail with so I know they work.  I can drop all these settings in a mail clients like Outlook or Thunderbird and they work fine.  On the AEA server, I took a look at the logs inside "%ProgramFiles%\AVAST Software\Enterprise Administration\DATA\log" and nothing stands out.  What am I missing?  What am I doing wrong?

Offline Infratech Solutions

  • Avast Reseller
  • Super Poster
  • *
  • Posts: 2399
  • Mayorista e integrador de Avast en España
    • Ciberseguridad Avast para empresas y MSPs en España.
Re: Report tasks fail when sending to email
« Reply #1 on: July 20, 2012, 05:11:34 PM »
Where are you configurating the SMTP parameters?

You have to use the setting option in the main menu: File -> Setting/Options (sorry I use the spanish version), not in the Computer Catalog properties.

HomeNet

  • Guest
Re: Report tasks fail when sending to email
« Reply #2 on: July 20, 2012, 05:24:27 PM »
Where are you configurating the SMTP parameters?

You have to use the setting option in the main menu: File -> Setting/Options (sorry I use the spanish version), not in the Computer Catalog properties.

That's where these settings are: FILE > SETTINGS > SMTP.

Offline Infratech Solutions

  • Avast Reseller
  • Super Poster
  • *
  • Posts: 2399
  • Mayorista e integrador de Avast en España
    • Ciberseguridad Avast para empresas y MSPs en España.
Re: Report tasks fail when sending to email
« Reply #3 on: July 20, 2012, 05:38:52 PM »
So, the configuration appears correct!

What do you can see in: View -> Show AMS Records -> Server

[2012/07/20 17:34:55.493,4480] Report 3 is marked for generation
[2012/07/20 17:34:55.493,4480] Preparing report 3 for generation
[2012/07/20 17:34:55.493,4480] Going to generate report 3
[2012/07/20 17:34:58.563,4480] Sending reports failed with 0x0000274D error...

HomeNet

  • Guest
Re: Report tasks fail when sending to email
« Reply #4 on: July 20, 2012, 07:18:01 PM »
I just pulled a mess of data out of that report.  It's hard to tell where a task starts and where it ends.  I can't tell if this is just from one task or if several other things are mixed in.

Code: [Select]
[2012/07/20 10:02:53.258,1492] Preparing report 16 for generation
[2012/07/20 10:02:53.258,1492] Going to generate report 16
[2012/07/20 10:02:54.149,1072] Removing socket 0x00000558 after MSG_DISCONNECT
[2012/07/20 10:02:54.149,1240] MSG_DISCONNECT processing...
[2012/07/20 10:02:59.384,2700] Some client requests connection...
[2012/07/20 10:03:00.759,1072] Removing socket 0x0000080C after MSG_DISCONNECT
[2012/07/20 10:03:00.759,1240] MSG_DISCONNECT processing...
[2012/07/20 10:03:04.118,1492] Sending reports failed with 0x0000A410 error...
[2012/07/20 10:03:04.118,1492] sqlFreeConnection with fReturnToPool=false (error handler)
[2012/07/20 10:03:04.118,1492] SQL Server connection has been destroyed...
[2012/07/20 10:03:04.118,1492] pThis->GenerateReports() failed with 0x0000A410 error

briancharles1002

  • Guest
Re: Report tasks fail when sending to email
« Reply #5 on: August 10, 2012, 10:06:13 PM »
Did you figure it out? I am getting Sending reports failed with 0x0000A410 on my server logs when trying to email reports.

Thanks
Brian

HomeNet

  • Guest
Re: Report tasks fail when sending to email
« Reply #6 on: August 13, 2012, 03:36:34 PM »
Did you figure it out? I am getting Sending reports failed with 0x0000A410 on my server logs when trying to email reports.

Thanks
Brian

I did but it was due to having a bad address.  I didn't set up the address.  I got the info from my team and they had not set it up yet.

briancharles1002

  • Guest
Re: Report tasks fail when sending to email
« Reply #7 on: August 13, 2012, 03:38:19 PM »
Thanks HomeNet