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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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