Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Install-NAVApp : Could not install the extension ALProjectLive on tenant default due to the following error: The following SQL error was unexpected: Invalid column name 'Rooms'.

(0) ShareShare
ReportReport
Posted on by 200

Hi

I cannot make any changes and instal the app through administration shell in the business central.

I use the following step one by one.

Uninstall-NAVApp -ServerInstance bc170 -Name "ERP" -Version 1.0.0.1
Unpublish-NAVApp -ServerInstance bc170 -Name "ERP" -Version 1.0.0.1
Publish-NAVApp -ServerInstance BC170 -Path "D:\ERP_1.0.0.1.app" -Skipverification
Sync-NAVApp -ServerInstance BC170 -Name "C" -Version 1.0.0.1
Install-NAVApp -ServerInstance BC170 -Name "C" -Version 1.0.0.1

when i try the last step for install it throws the following error

Install-NAVApp : Could not install the extension ALLive on tenant default due to the following error: The following SQL error was unexpected:
Invalid column name 'ABC'.

Is there any solution for this?

Can you please help..Thanks in advance!

  • anandb313@gmail.com Profile Picture
    200 on at
    RE: Install-NAVApp : Could not install the extension ALProjectLive on tenant default due to the following error: The following SQL error was unexpected: Invalid column name 'Rooms'.

    Thanks for the replies...

    My BC is on premises and 13.0 version.

    This is my code from sales shipment line extended table. added a field

    field(50120; Desc2; Text[250])

            {

                DataClassification = ToBeClassified;

                Caption = 'Desc2';

            }

    when i synchronize using the command

    Sync-NAVApp -ServerInstance BC170 -Name "C" -Version 1.0.0.1

    it throws the following warning

    cannot synchronize the app it is already synchronized.

    My another doubt is when i normally publish the package, it is not published to the server.

    The following is the message from the output

    Compilation ended at '7:4:58.446'.

    Success: The package is created.

    Any ideas?

  • Lars Lohndorf-Larsen Profile Picture
    on at
    RE: Install-NAVApp : Could not install the extension ALProjectLive on tenant default due to the following error: The following SQL error was unexpected: Invalid column name 'Rooms'.

    Hello, I assume that this is on-prem? In which case can you run SQL Profiler? Once you also know what table is missing the column, then the error may make more sense.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,162 Most Valuable Professional on at
    RE: Install-NAVApp : Could not install the extension ALProjectLive on tenant default due to the following error: The following SQL error was unexpected: Invalid column name 'Rooms'.

    There's a problem on your extension's code. The Install-NavApp tries to install the app and works on the database schema. Please check your code or post here your code modifications.

  • anandb313@gmail.com Profile Picture
    200 on at
    RE: Install-NAVApp : Could not install the extension ALProjectLive on tenant default due to the following error: The following SQL error was unexpected: Invalid column name 'Rooms'.

    Thanks for you reply...I just tried to add a field in the sales shipment line table extension and it is throwing the error. App file is published and can be installed without doing  any changes in it.

  • Suggested answer
    Suresh Kulla Profile Picture
    45,542 on at
    RE: Install-NAVApp : Could not install the extension ALProjectLive on tenant default due to the following error: The following SQL error was unexpected: Invalid column name 'Rooms'.

    Looks like there is an issue with your extension, did you make any changes to the fields or field names or removed any of those?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,198 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,921 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans