Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Hilllander
Frequent Visitor

(500) Internal Server Error, unable to connect NAV 2017 on-premises using ODataV4 from PBI Desktop

Hello all,

 

After take 2-3 days to find out about error connection while using PBI Desktop connect with customised NAV 2017 database via OData Feed (both Windows & NavUserPassword login). The error still display below:  


Details: "Microsoft.Mashup.Engine1.Library.Resources.HttpResource: Request failed:

OData Version: 3 and 4, Error: The remote server returned an error: (500) Internal Server Error. (An error has occurred.)
OData Version: 4, Error: The remote server returned an error: (500) Internal Server Error. (An error has occurred.)"

Windows Authenticate

 

Anyway, there's different situation when I change database to standard Cronus. It can connect succuessfully (both PBI and NAV installed on same machine).

 

Hope someone give me a hand on this.

1 ACCEPTED SOLUTION

Here what I've tried this morning.

 

- Reinstall NAV 2017 to reset everything back to default.

- Install On-premises Data Gateway (personal).

- Disable some page and query on NAV Web Services that I think they might have some error content (e.g. custom fields).

 

Woohaaah!! now I can make a connection on PBI Desktop successfully.

 

PBI_Desktop.jpg

View solution in original post

5 REPLIES 5
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Hilllander,

 

Do you get error when using the Microsoft Dynamics NAV content pack to connect to your data source? 

 

What authentication method did you choose? Generally, the content pack is used to connect to online Dynamic NAV, and only Basic (Username and Password) authentication is supported. Please change Windows Authentication to Basic for a test.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Had tried with Basic authentication method. No luck, still get the same error. 

 

I also attach the diagnose log for you analyze. 

 

Here what I've tried this morning.

 

- Reinstall NAV 2017 to reset everything back to default.

- Install On-premises Data Gateway (personal).

- Disable some page and query on NAV Web Services that I think they might have some error content (e.g. custom fields).

 

Woohaaah!! now I can make a connection on PBI Desktop successfully.

 

PBI_Desktop.jpg

Hi @Hilllander,

Have you had any kind of error anymore after these steps?

 

Elisa

Hi @v-yulgu-msft

 

Just connect PBI desktop with NAV on-premises in same local server via OData feed connection (using NAV web services function). I've tried both Win Auth and Basic but still not working. The error is not occured while use Cronus db.

 

Thanks,

Hilllander

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.