Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

The following SQL error was unexpected. Invalid column name 'license'.

(0) ShareShare
ReportReport
Posted on by 2,560

Hi all,

I met an error below when I run report from Microsoft Dynamics NAV 2013 R2 Development Environment. Why the error occurred and how to solve it?

Your assistance is greatly appreciated!

Thanks & Regards,

Vanessa

*This post is locked for comments

  • Suggested answer
    Zaid Tariq Profile Picture
    2,272 on at
    RE: The following SQL error was unexpected. Invalid column name 'license'.

    I added "license(Image,null)" in $ndo$tenantproperty and worked in my case too.

  • Vanessa Shin Profile Picture
    2,560 on at
    RE: The following SQL error was unexpected. Invalid column name 'license'.

    Hi Arndt,

    Thanks you for your help. After I added "license" in $ndo$tenantproperty, all run as usual.

    Thousand thanks again.

    Best regards,

    Vanessa

  • Verified answer
    Arndt Loermann Profile Picture
    90 on at
    RE: The following SQL error was unexpected. Invalid column name 'license'.

    Please Check again in table $ndo$tenantproperty

  • Vanessa Shin Profile Picture
    2,560 on at
    RE: The following SQL error was unexpected. Invalid column name 'license'.

    Hi Arndt,

    First of all, thanks for your reply.

    I have checked SQL Server Management Studio and got "license (image, null)" in $ndo$dbproperty. Anything else I should check or add in? 

    Best Regards,

    Vanessa

  • Vanessa Shin Profile Picture
    2,560 on at
    RE: The following SQL error was unexpected. Invalid column name 'license'.

    Hi Alex,

    First of all, thanks for your reply.

    I run the standard report (Report 206 - Sales Invoice), no any modification on this report.

    BTW, this database is migrate from NAV 2009 into NAV 2013 R2; thus, am I miss out anything or need to add anything in system? Please advise.

    Thanks again!

    Regards,

    Vanessa

  • Vanessa Shin Profile Picture
    2,560 on at
    RE: The following SQL error was unexpected. Invalid column name 'license'.

    Hi Daniele,

    First of all, thanks for your reply.

    I just run standard Report 206 - Sales Invoice, never modify this report.

    In addition, this database is migrate from NAV 2009 into NAV 2013 R2; hence, am I miss out anything or need to add anything in system?

  • Arndt Loermann Profile Picture
    90 on at
    RE: The following SQL error was unexpected. Invalid column name 'license'.

    Please check the table $ndo$dbproperty in your database. i think the problem is the missing column license. If so , create the field manuallly (Image,null)

  • Suggested answer
    Alex Chow Profile Picture
    4,481 on at
    RE: The following SQL error was unexpected. Invalid column name 'license'.

    Has this report been modified by your NAV partner? If so, this may be a question for your NAV partner.

  • geordie Profile Picture
    on at
    RE: The following SQL error was unexpected. Invalid column name 'license'.

    Can you please specify which report did you run, in order to replicate the error?

    Thanks

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,071 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,868 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans