Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Getting error while opening report .

(0) ShareShare
ReportReport
Posted on by 1,479
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
    12,772 Most Valuable Professional on at
    Getting error while opening report .
    You can change the print destination on the report dialog.
     
  • Dineshkarlekar Profile Picture
    1,479 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
    1,479 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
    231,758 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,758 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans