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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error when creating a work template

(0) ShareShare
ReportReport
Posted on by

Hi

I'm trying to create work templates but when I select edit query I get 3 critical stop errors:-

Bad container

Unable to create queryRun

Object 'QueryRun' could not be created

I've been following the Microsoft lab paperwork to setup these templates

Has anyone got a solution to this?

Thanks in advance

Harold

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,724 Super User 2026 Season 1 on at

    Hi Harold,

    Possibly this is caused by a not fully compiled environment or corrupted usage data.

    You can first try to reset the usage data and delete *.auc files from the client machine ({user}\appdata folder)

    Otherwise perform a full compile of AX (x++ and CIL).

  • Community Member Profile Picture
    on at

    Hi Andre,

    I'm facing similar issue while selecting Warehouse Mgmt -->Setup-->Mobile device-->Mobile device menu items.

    while clicking on the "Edit Query" option for any record, the below error is thrown.,

    Object 'Query' could not be created

    Object 'QueryRun' could not be created

    Any idea?

    Regards,

    Manivannan M

  • Community Member Profile Picture
    on at

    Once i change the "Activity Code" value for that particular record to Log Off and change it back to the original value, the issue was gone.

    Don't know whether its correct, but it worked for me.

  • Tyler1986 Profile Picture
    325 on at

    Hi Manivannan,

    Could you explain a bit more what you did, where is the activity code you changed to fix this?

  • Community Member Profile Picture
    on at

    Tyler,

    In Warehouse Mgmt -->Setup-->Mobile device-->Mobile device menu items-->Select a record-->General Fast tab section-->Activity code field.

    I changed the value to Log off and save the record, again change it back it to the value as required. The error was solved.

  • sravan kumar Profile Picture
    150 on at

    Had any one got a solution for this. I'm trying to export and import work templates from one environment to another and getting this issue

  • JiwanWanji9 Profile Picture
    365 on at

    Hi Sravan, Did you solve this issue?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans