Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

DB Import Issue in the D365 development machine

(0) ShareShare
ReportReport
Posted on by 735

Hi experts,

we are facing issue in the live server DB bakpac file Import at our development server, its giving error of the custom entity field 'DefaultDimension_RU' and I am able to understand that this field is now obsolete and I have removed this field from this entity and staging table but still same problem, here are the error message, pls help me to resolve this issue

Error : Invalid column name 'DEFAULTDIMENSION_RU'.

pastedimage1604405155359v1.png

  • Suggested answer
    Asif365 Profile Picture
    Asif365 1,431 on at
    RE: DB Import Issue in the D365 development machine

    HI Sharma,

    Have you tried with latest NET CORE version of SqlPackage.exe.? I had similar problem last week, and MS support suggested me to download latest NET CORE version of SqlPackage.exe. and after follow below steps my issue was resolved. Please try.

    If you experience error message when trying to import bacpac file into (DEV) environment then use the suggested steps to get over this error and get your database imported

    Based on this docs link https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/database/import-database, download the .NET CORE version of SqlPackage.exe.

    pastedimage1604480054684v1.jpeg

    This is the .zip file that can be extracted to C:\Temp\Sqlpackage-dotnetcore

    From there, instead of using the Sqlpackage.exe under C:\Program Files (x86), use the Sqlpackage.exe in C:\Temp\Sqlpackage-dotnetcore.

    Command :

    C:\Temp\Sqlpackage-dotnetcore>SqlPackage.exe /a:import /sf:G:\Bacpac\Tier2.bacpac /tsn:localhost /tdn:<target database name> /p:CommandTimeout=1200

  • B K Sharma Profile Picture
    B K Sharma 735 on at
    RE: DB Import Issue in the D365 development machine

    Hi Ramit,

    YEs I have removed this field from Entity and regenerated mapping again but still same error.

  • Suggested answer
    Ramit Paul Profile Picture
    Ramit Paul 22,293 Most Valuable Professional on at
    RE: DB Import Issue in the D365 development machine

    Hi,

    Have you used "Modify target mapping - refresh the entity after removing the filed?

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,684 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,414 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans