Skip to main content

Notifications

Microsoft Dynamics NAV forum
Suggested answer

NAV 18 views with linked servers OLED DB error

Posted on by 70

Hi all!

Here is the case:

 

Dynamics NAV 2018 (11.0.39505.0)

SQL SERVER 2019 Standard

 

Linked Servers:

SQL SERVER 2014  Express

 

I have created a view on sql which contain data from different servers (the main SQL SERVER 2019 and some data from linked servers with Express Edition). On the Express editions i have a separate SQL Login created only for those databases with dbowner privileges. From within SQL Server everything works fine. I've created linked servers and assign remote SQL login account (dbo on linked database).

pastedimage1607289672418v1.png

pastedimage1607289680016v2.png

pastedimage1607289686931v3.png

But when i'm trying to run this View from Development environment an error occured:

pastedimage1607289706403v4.png

Any suggestions? 

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: NAV 18 views with linked servers OLED DB error

    Hello,

    Good point, feel free to raise it to Microsoft support. We may ask you for a repro in standard CRONUS company and the steps you did follow.

    Thanks.

  • johnnyb123 Profile Picture
    johnnyb123 70 on at
    RE: NAV 18 views with linked servers OLED DB error

    When I execute a view in SQL Server it works fine and it retrieves a correct data from both sql express servers and sql server standard. So why it wont work with NAV? Object name of view is the same, columnes etc also are matched.

    regards

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: NAV 18 views with linked servers OLED DB error

    Hello,

    Could this be because of a limitation of SQL Server Express which only has a local DB?

    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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans