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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ge5536
Helper I
Helper I

An unexpected error occurred - We couldn't connect to the Analysis Services server.

Hello,

One of our users is experiencing issues with a particular report that uses Direct Query. The report runs fine on desktop but "breaks" when published to our on-premise report server. They receive the error listed at the bottom of this post.

 

We've tried workarounds suggested in other posts (to re-enter the credentials, use a particular browser, etc) but are unable to get this report to work. Any ideas?

We are running the January 2020 version and the report is hitting an Oracle 12cR1 DB.

 

An unexpected error occurred
An unexpected error occurred. Please try again later.
Please try again later or contact support. If you contact support, please provide these details.

 

We couldn't connect to the Analysis Services server. Make sure you've entered the connection string correctly.
Request ID9edad44b-35bc-7be3-8fc7-bf08910ef59b
TimeThu May 14 2020 13:53:58 GMT-0400 (Eastern Daylight Time)
Service version/powerbi/libs

 

1 ACCEPTED SOLUTION

In case anyone else was struggling with this, we installed the May 2020 PowerBI RS release and it resolved our Oracle related Direct Query issues.

View solution in original post

4 REPLIES 4
YFarzona
Regular Visitor

I had the same issue today (11/13/2020). I had to check all my query steps to find the values missing after the refresh. I found that in one of the queries, the Power query changed the column type from text to numbers (customer ID number), which caused the unexpected error in Power BI. After I changed back the values from number to text (before the merge step), the error gone. I found during the refresh some values change automatically. 

d_gosbell
Super User
Super User

The first two things I would check if the model works in desktop but not on the server are:

 

1. Do you have the same Oracle drivers installed on the server as on the client PC

2. Make sure they are using the actual server name when creating the connection in desktop not a TNS name

 

I'm not entirely sure if 2 is an issue with the Power BI provider, as we don't use Oracle at all where I am at the moment. But I've seen this before where users build things using a reference defined on their local machine which then breaks when anyone else tries to use it.

Yeah the ODAC versions are different. We are running 18c on the server and the customer was running 11g.

We also tried using the host:port/service name but it threw TNS error instead.

It looks like direct query is not working at all on our report server. I will try different ODAC versions on our test environment until we figure this out.

Thanks for the tips.

In case anyone else was struggling with this, we installed the May 2020 PowerBI RS release and it resolved our Oracle related Direct Query issues.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors