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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Error when setting up "Assisted Setup" extension

(0) ShareShare
ReportReport
Posted on by
I have created the project as specified in the exercise provided in the training module provided by Microsoft named /Build a Assisted Setup in Dynamics 365 Business Central/. Link to the training module is as follows;
 
 
All codes where copied as instructed in the training module. Only IDs were changed to the following;
 
/idRanges/: [
    {
      /from/: 50721,
      /to/: 50730
    }
  ],
 
However, when i attempt to setup the extension i receive the following error;

If requesting support, please provide the following details to help troubleshooting:

The Task does not exist. Identification fields and values: No.=''

Internal session ID:
7b0e7796-0a57-4430-9b75-2f4fb1af8c06

Application Insights session ID:
251e5b36-345d-49a0-95f8-bb2f2cabbfa1

Client activity id:
f82c462f-974a-dd00-68f5-9d9296416376

Time stamp on error:
2023-12-29T06:00:19.3213086Z

AL call stack:
ToDoAssistedSetup(Page 50721).OnOpenPage(Trigger) line 2 - AssistedSetupProject by Lasen
/Guided Experience Impl./(CodeUnit 1991).RunObject line 4 - System Application by Microsoft
/Guided Experience Impl./(CodeUnit 1991).Run line 34 - System Application by Microsoft
/Guided Experience Impl./(CodeUnit 1991).RunExtensionSetup line 21 - System Application by Microsoft
/Guided Experience/(CodeUnit 1990).RunExtensionSetup line 2 - System Application by Microsoft
/Extension Installation Impl/(CodeUnit 2500).RunExtensionSetup line 6 - System Application by Microsoft
/Extension Management/(Page 2500)./SetupApp - OnAction/(Trigger) line 9 - System Application by Microsoft

No errors are shown on VSCode nor do any show up when the project is published.

I have the same question (0)
  • Suggested answer
    TH-23090930-0 Profile Picture
    4 on at
    Hi!

    This error is caused by the line ToDoRec.Get(); in trigger OnOpenPage() as it tries to get a record from an empty table. You can safely remove this line.
     
    Also, using SourceTableTemporary = true; here makes the fields uneditable.
     
    Regards,
    Tuukka

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,314 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,808 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,356

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans