Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Getting error while opening report .

Posted on by 1,457
hi Everyone i am getting the error while opening report dialog , but my report does not have data provider class 
the error is /An error occurred while printing report to Email after retrying 3 times./
/The email address in the To field is not valid./   i am having the to field in batch job which send this report in in email i have debugged the batch job but batch job is running fine no issue , but the report is query based and it is assign to menu item the report does not have the contract or controller class , plzz can u suggest any solution on this . 
 
thanks,
Regards ,
Dinesh .
  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,686 Most Valuable Professional on at
    Getting error while opening report .
    You can change the print destination on the report dialog.
     
  • Dineshkarlekar Profile Picture
    Dineshkarlekar 1,457 on at
    Getting error while opening report .
    hi 
    martin ,
     is there any way to set default opening mode of report to screen , look like some one set it to email , so i am getting the to field error , i have tried it from print management but not getting it from there , is there any way to make default setting to screen as the dialog is not opening .
     
     
    thanks,
    regards,
    Dinesh
  • Dineshkarlekar Profile Picture
    Dineshkarlekar 1,457 on at
    Getting error while opening report .
    the to email address is parameter of contract  class of batch job , which will i thought error was because of this but it has nothing to do with batch job , beacuse i am getting all the data in email through batch job and the batch job is using the same query which i use in report , and working fine report was also working fine before testing by functional team this morning but ,now it is giving this error , if the batch job can generate the pdf of report , the report must get executed . because of same queries , and one more thing where the enitities not having any data the dialog is opening report is executing but report is blank as there is no data in entity . 
    i am not getting how can report go to printing  before opening the dialog, because if i click ok on report dialog ,then report get printed and it has nothing to do with email . beacuse it is printing from query which will bring all the records in that entity . 
     
    thanks ,
    Regards,
    Dinesh
  • Martin Dráb Profile Picture
    Martin Dráb 230,149 Most Valuable Professional on at
    Getting error while opening report .
    The error says that the "To" e-mail address is invalid, therefore checking its correctness is the logical next step.
     
    Also, you claimed that you get the error "while opening report dialog", i.e. before even running a report, but the errors says that report was being printed. The fact that you debugged the batch job also shows that you see a problem with the execution and not just with opening of a report dialog. Please explain this contradiction.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans