Skip to main content

Notifications

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

NAV 18 views with linked servers OLED DB error

(0) ShareShare
ReportReport
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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans