Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

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

Posted on by 2,558

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
    Zaid Tariq 2,266 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
    Vanessa Shin 2,558 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
    Arndt Loermann 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
    Vanessa Shin 2,558 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
    Vanessa Shin 2,558 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
    Vanessa Shin 2,558 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
    Arndt Loermann 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
    Alex Chow 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
    geordie 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

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans