r/SQLServer • u/Any-Promotion3744 • Oct 01 '26
Solved Can't connect remotely to Analysis Services
We have had a SQL Server Analysis Server running for years and use Excel to connect to it.
Users reported that they can't connect anymore.
I tried connecting using their existing Excel file and it didn't work for me. I tried connecting using a new Excel file and it still didn't work. I keep getting the error: The peer prematurely closed the connection.
If I use SSMS to connect remotely, I get the following error: A connection cannot be made. Ensure the server is running (Microsoft.AnalysisServices.AdomdClient).
If I RDP to a different server on the same VLAN and use SSMS to connect to the other server remotely, I get the following error: A connection cannot be made. Ensure the server is running (Microsoft.AnalysisServices.AdomdClient).
Disabling the Windows Firewall didn't change anything.
If I RDP into the Analysis Services server directly and use SSMS, it connects successfully.
Why would all remote connections stop working? It doesn't seem to be a Windows Firewall or Network Firewall issue. Can't see anything helpful so far in the event viewer logs. Restarted the anaylsis service and restarted the whole server with no change. Verified the account the service was using isn't locked out or had an expired password. No Windows Update failures. No recent SQL Server patches.
•
u/AutoModerator Oct 01 '26
After your question has been solved /u/Any-Promotion3744, please reply to the helpful user's comment with the phrase "Solution verified".
This will not only award a point to the contributor for their assistance but also update the post's flair to "Solved".
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
6
u/dbrownems Microsoft Employee Oct 01 '26 edited Oct 01 '26
Why do you think it's not a Network Firewall issue?
The log will tell you the IP/Port addresses it's listening on. The rest is networking. EG
1
u/Any-Promotion3744 Oct 01 '26
looks like the issue was the last cumulative windows update. I uninstalled kb5123099 and everything started working again.
3
u/SQLDevDBA 3 Oct 01 '26
Network. Some firewall rule was put in (or taken out) with an update on the server itself or anywhere in between the user and the server. Could be the host, the cloud provider virtual network or VPC, etc. etc.
You proved your point and did your due diligence RDPing into the server itself and trying. The only other thing it could be is the Browser/listener, but that’s pretty rare.
Go grab your pitchfork. They’re on sale at the pitchfork emporium.
2
u/digitalnoise Oct 01 '26
If your network team is anything like mine, make triple double sure that they (or security) didn't start blocking the default port for SSAS because they didn't recognize it (or bother to ask).