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 :
Small and medium business | Business Central, N...
Suggested answer

Excel Template Based Report Going to Something went Wrong without logging error

(3) ShareShare
ReportReport
Posted on by 970
Hi All,
We had a long created excel template based report that fetches timesheet data and Shows up the data based on a defined template.
It was going fine for almost two years now. All of a sudden we are getting a 'Something went wrong' error that is not logging any error on the VScode debug mode.
It just stops the debugger.
Any idea what might be going on?
 
Any information would be appreciated!
 
Regards,
Indira
I have the same question (0)
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,087 Super User 2025 Season 2 on at
    Excel Template Based Report Going to Something went Wrong without logging error

    This error usually happens when your Excel template is corrupted or missing expected named ranges. To fix it:

     
    • Re-download or re-upload a clean Excel template with correct named ranges.

    • Check your AL code that uses Excel Buffer – make sure you're referencing existing ranges and wrapping it with TryFunction to catch any silent crashes.

    • Test with fewer records to isolate bad data.

     

    This usually resolves "Something went wrong" errors with Excel layout reports.

    ✅ Mark this answer as verified if it helps you.

  • Indira88 Profile Picture
    970 on at
    Excel Template Based Report Going to Something went Wrong without logging error
    Hi Sohail,
     
    Thank you for the answer,but There is no Excel Buffer that I am using.
    I created a template simple excel and report in al.
    with the following simple code to test
     
    report 70458 TestReportDebug
    {
     
        Caption = 'Time Sheet Report Test';
        ExcelLayout = 'Test.xlsx';
        DefaultLayout = Excel;
        UsageCategory = ReportsAndAnalysis;
     
        dataset
        {
            dataitem(Jobs; "Job")
            {
     
                column(Job_No_;
                "No.")
                {
                }
                column(Contact; "Bill-to Contact No.")
                {
                }
     
            }
     
        }
    }
     
    There still seems to be a lack somewhere even though its a very simple code.PFA the excel template also.Can't run report also silent error.
  • Suggested answer
    YUN ZHU Profile Picture
    92,740 Super User 2025 Season 2 on at
    Excel Template Based Report Going to Something went Wrong without logging error
    Hi, looks like a standard issue, Microsoft is working on a fix.
    More details:
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,511 Super User 2025 Season 2 on at
    Excel Template Based Report Going to Something went Wrong without logging error
    Please check now. Minor update 26.2 should fix it issue
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,308

#2
Sumit Singh Profile Picture

Sumit Singh 2,798

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,793

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans