Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Extension Install-NAVApp error

Posted on by Microsoft Employee

Hi,

I installed a Naivison extension, and later removed it (I did not use the -DoNotSaveData parameter) 

When I wanted to reinstall it, I got this error message:

Server instance: NAVTEST
Tenant ID: <ii>default</ii>
<ii>Session type: UnknownClient
Session ID: 543
User: navuser\nav
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavSqlException
ErrorNumber: 3970
SuppressMessage: False
SuppressExceptionCreatedEvent: False
FatalityScope: None
Message:
  The following SQL error was unexpected:
  This operation conflicts with another pending operation on this transaction. The operation failed.
  SQL statement:
  IF (SELECT OBJECTPROPERTY(OBJECT_ID(N'dbo."$AppData$1b2f6c31-c74f-4f15-955c-2ad559bb8767$3b053437e3ed983de0f3344a8dfcc9af"'), N'IsTable'))=1 DROP TABLE dbo."$AppData$1b2f6c31-c74f-4f15-955c-2ad559bb8767$3b053437e3ed983de0f3344a8dfcc9af"
 

How can I get her to restore the data?

Thanks.

*This post is locked for comments

  • MatD Profile Picture
    MatD 105 on at
    RE: Extension Install-NAVApp error

    Hello,

    Has anyone managed to resolve this error? I am struggling with this right now.

    Best Regards

    MatD

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Extension Install-NAVApp error

    I use V1 extension. I use upgrade codeunit, It also restores data, but throws a sql drop table error on some tables.

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Extension Install-NAVApp error

    are you using V1 extension or V2 extension? (visual studio code)

    you need to include Upgrade codeunit in your app to handle restoring data..

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans