Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

VS Error - Unable to regenerate staging table

(0) ShareShare
ReportReport
Posted on by 411

Hello all, 

I have created a data entity and ended up modifying it later by adding two fields two it. I accidentally dropped the staging table. Now when trying to regenerate it I'm getting this error. Anyone know what is it about and how I can regenerate the staging table ? 

45476.Capture.PNG

Thank you very much. 

Regards,

Ashwin

*This post is locked for comments

  • Marija Todorovic Profile Picture
    Marija Todorovic 70 on at
    RE: VS Error - Unable to regenerate staging table

    I can't check, but it is possible that it will work.

    When you create the table with the same name, check on data entity properties that the staging table name is still specified there.

  • Ashwin Jugurnauth Profile Picture
    Ashwin Jugurnauth 411 on at
    RE: VS Error - Unable to regenerate staging table

    I can't delete the entity. Following your logic however, you are saying that regenerate function only appends columns. Therefore if I create a table with the same name as my staging table it should be able to regenerate it right ?

  • Marija Todorovic Profile Picture
    Marija Todorovic 70 on at
    RE: VS Error - Unable to regenerate staging table

    I think that regenerate function won't create a staging table if it does not exist. It can just update the existing one.

    If you have the table on TFS you could get from there. If not, you could delete the whole entity and create again (if you do not have many manuall steps after wizard) or you could manually create the staging table.  

  • Ashwin Jugurnauth Profile Picture
    Ashwin Jugurnauth 411 on at
    RE: VS Error - Unable to regenerate staging table

    First thing I tried. Didn't work :/

  • Martin Dráb Profile Picture
    Martin Dráb 231,305 Most Valuable Professional on at
    RE: VS Error - Unable to regenerate staging table

    I mean restarting the Windows Server machine where you have this problem.

  • Ashwin Jugurnauth Profile Picture
    Ashwin Jugurnauth 411 on at
    RE: VS Error - Unable to regenerate staging table

    Hi Martin,

    What do you mean restarting the development box ?

    Rgrds,

    Ashwin

  • Ashwin Jugurnauth Profile Picture
    Ashwin Jugurnauth 411 on at
    RE: VS Error - Unable to regenerate staging table

    Hi Arnaud,

    Thanks for you answer. I've tried that but I'm still unable to regenerate the staging table. Seems it's lost in the matrix ^^

    Rgrds,

    Ashwin

  • Martin Dráb Profile Picture
    Martin Dráb 231,305 Most Valuable Professional on at
    RE: VS Error - Unable to regenerate staging table

    As the first step, I would restart the development box.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,494 Super User 2025 Season 1 on at
    RE: VS Error - Unable to regenerate staging table

    Hi Ashwin,

    If you did check-in in Visual Studio, you can try to get the latest version form your source control.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans