Diagnosing [DataSource.Error] Analysis Services for a Single User in Jet Analytics
Symptoms
A specific user (or a subset of users) receives the following error when running a Jet report or refreshing data from an QL Server Analysis Services (SSAS) OLAP cube:
[DataSource.Error] AnalysisServices
Other users, including the report author or administrator, can run the same report against the same OLAP cube without error.
Cause
When a report and cube work for most people but fail for one person, the problem is probably not in the report or cube itself, since those are shared. It's more likely something on that one person's side that the others don't have, such as their permissions, their connection settings, their software version, their network path, or their local files. The troubleshooting work then focuses on finding that difference, rather than rebuilding the report or cube.
The checklist categories are:
Network path: The route from the client to the SSAS server, including firewall rules, VPN, or subnet segmentation.
Authentication: Domain membership, cross-domain trust, or Kerberos delegation from the client to SSAS.
Client prerequisites: ADOMD.NET or other OLAP client libraries installed on the user's machine.
OLAP-level permissions: Role membership on the OLAP database or cube in Jet Data Manager (JDM) and SSAS.
Server-side state: Cubes fully processed and online at the moment the affected user attempts to connect.
Diagnostic Checklist
Work through the checks in order. Each check either resolves the issue or eliminates a category and points to the next area to investigate.
Step 1: Isolate Client vs Server With a Direct Test
The single most informative test is the one that splits the problem into either a network or client issue, or a permissions or server issue.
The affected user must sign in directly on the SSAS server (or an equivalent machine on the same subnet as SSAS) using their own credentials.
-
From that session, open Excel > Data > Get Data > From Database > From Analysis Services, and connect to the SSAS cube using the same server name and database used by Jet.
Alternatively, connect to the SSAS instance from SQL Server Management Studio (SSMS) using the affected user's credentials.
-
If the connection succeeds on the server but fails from the user's regular workstation, the issue is on the network path or the client machine. Continue with Step 2.
If the connection also fails on the server, the issue is authentication or OLAP permissions. Skip to Step 4.
Step 2: Verify Network Path and Firewall Rules
Confirm that TCP port 2383 (the default SSAS port) is open from the user's workstation to the SSAS server. If SSAS is configured on a non-default port, verify that port instead.
If the SSAS instance is a named instance, confirm that the SQL Server Browser service is running on the SSAS server and that UDP port 1434 is open from the client.
If the user is connected through a VPN, split tunnel, or different subnet than the successful users, confirm that the same routing and firewall exceptions apply.
Step 3: Verify Client Prerequisites
Confirm that the Microsoft ADOMD.NET client library is installed on the affected user's workstation. This is required for Excel and other clients that connect to SSAS.
Where multiple ADOMD.NET versions are installed, confirm the version being loaded is compatible with the SSAS server version.
Confirm the affected user has the same Excel and Jet Excel Add-In versions as the users who can run the report successfully.
Step 4: Verify Authentication and Domain Trust
Confirm the affected user's account is a domain account that the SSAS server can authenticate. Local accounts on the workstation cannot authenticate to a domain-joined SSAS server.
If the affected user is in a different Active Directory domain than the SSAS server, confirm that a domain trust is configured to allow the SSAS server to authenticate accounts from that domain.
If the connection traverses more than one hop (for example, Jet client to a mid-tier server to SSAS), confirm that Kerberos constrained delegation is configured for the intermediate service account. NTLM will fail on the second hop.
Step 5: Verify OLAP Role Membership
In JDM, open the OLAP project security settings and confirm that the affected user (or a group the user belongs to) is a member of a role that has read access to the cubes referenced by the failing report.
Deploy any security changes to the OLAP database in SSAS.
In SSMS, connect to the SSAS instance and inspect the roles on the OLAP database directly. Confirm the deployed roles match what JDM was configured to deploy.
Step 6: Confirm Server-Side State
Open JDM or SSMS and confirm that the cubes referenced by the failing report have been fully processed and are online.
If cube processing was in progress or failed at the time of the user's test, retry after processing has completed successfully.
If the checklist does not resolve the issue, collect the following before opening a support case:
The full error message, including any inner exception text.
The Jet Analytics and Jet Reports versions in use.
The SSAS version and edition.
The output of the direct test in Step 1 (worked or failed, and from which machine).
The affected user's domain, and whether the SSAS server is in the same domain.
A screenshot of the OLAP role membership in JDM and in SSMS.
Any recent changes to the user's account, group membership, workstation image, or network configuration.