web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

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

Something went wrong while generating the report. Please try again

(1) ShareShare
ReportReport
Posted on by 111
Error is showing on report running.

Solution performed:
1. Removed and added my data set.
2. Restart SSRS service.
3. Created new design.
4. Deploy report
5. Full build.
 
Controller class
class LetterheadController extends SRSReportRunController
{
    public static client  void main(Args _args)
    {
        LetterheadController controller = new LetterheadController();
        controller.parmArgs(_args);
        controller.parmShowDialog(false);
        controller.parmReportName(ssrsReportStr(LetterheadReport, Report));
        controller.startOperation();
    }

    public void prePromptModifyContract()
    {
        Letterhead letterhead = this.parmArgs().record();
        LetterheadContract contract = this.parmReportContract().parmRdpContract() as LetterheadContract;
        contract.parmLetterheadId(letterhead.LetterheadID);
    }

}

Contract class
[DataContractAttribute]
class LetterheadContract
{
    LetterheadId     LetterheadId;

    [DataMemberAttribute("LetterheadId")]
    public LetterheadId parmLetterheadId(LetterheadId _LetterheadId = LetterheadId)
    {
        LetterheadId = _LetterheadId;
        return LetterheadId;
    }

}
Report designer
 
Categories:
I have the same question (0)
  • Sohaib Cheema Profile Picture
    48,086 User Group Leader on at
    Something went wrong while generating the report. Please try again
    So if you getting the error at runtime, I suggest you to run the report on your DEV system, and once it will fail with error message, open the event viewer and get the full error message that would also show you stack trace. 
    Having look at that stack trace may help to find the root cause. 
  • Ashraf Hussain Khan Profile Picture
    111 on at
    Something went wrong while generating the report. Please try again
    ,

    I have reviewed your mentioned post.
  • Ashraf Hussain Khan Profile Picture
    111 on at
    Something went wrong while generating the report. Please try again
    Yes, I get the error as I run the report.
  • Suggested answer
    CA Neeraj Kumar Profile Picture
    1,272 on at
    Something went wrong while generating the report. Please try again
    Hi, 
     
    Please try the suggestions given in the article. 
     
    Regards, 
    Neeraj
  • Sohaib Cheema Profile Picture
    48,086 User Group Leader on at
    Something went wrong while generating the report. Please try again
     
    that's the deployment log you are showing in the picture, which say the report has been deployed. 
    Do you get the error as you run the report ? 
  • Ashraf Hussain Khan Profile Picture
    111 on at
    Something went wrong while generating the report. Please try again
  • Sohaib Cheema Profile Picture
    48,086 User Group Leader on at
    Something went wrong while generating the report. Please try again
    You can see the full error message on your DEV box Event Viewer, just after/around teh time, report give you message. 
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 886 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 870 Super User 2025 Season 2

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 697

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans