Forum Discussion
connecting to databse
iam new to this and iam trying to learn connecting to erp database.
if its saying connection established but i still get error i guess iam entering the correct server, but iam missing something?
i am using freshly installed company computer so i might not have some programs/drivers required?
if iam using
i get this error
if iam using
i get
Zygis ,
Thanks for providing more details and screenshots—they are very helpful!
Based on your description and the error messages, here’s a step-by-step guide to help you troubleshoot both issues:
1. DIME Protocol Error (SSAS Connection)
This error is unusual for modern SQL Server Analysis Services (SSAS) connections and usually points to either:
- An outdated or incompatible client/driver,
- Or an attempt to use a connection protocol (like DIME) that isn’t supported by your SSAS server.
What you can try:
- Make sure you have the latest “Microsoft Analysis Services OLE DB Provider” or “Microsoft OLE DB Driver for SQL Server” installed. You can get the latest drivers from the official Microsoft website.
- If you’re connecting from Power BI or Excel, ensure those applications are up-to-date.
- Double-check with your IT team if the ERP system uses any custom or legacy connectors. If so, you might need to request or install the correct driver.
- If you’re entering the server name manually, confirm the correct format (e.g., servername\instancename or a full server URL).
2. “Unable to Connect” / Pre-login Handshake Error (SQL Server)
The error message “An existing connection was forcibly closed by the remote host” during the pre-login handshake usually means:
- The server is reachable, but something is blocking or closing the connection (e.g., firewall, network configuration, or SSL/TLS protocol mismatch).
- Sometimes, this points to missing SQL Server Native Client or OLE DB drivers.
What you can try:
- Confirm you are using the correct server address, port, and authentication mode.
- Make sure you have the latest Microsoft OLE DB Driver for SQL Server or ODBC Driver installed.
- If you are on a company network, check with your IT team if there are VPN or firewall rules that might block SQL Server connections.
- Try connecting using SQL Server Management Studio (SSMS) to see if the connection works from there—this can help isolate whether it’s a system-wide issue or specific to your client tool.
- If you’re using Windows Authentication, make sure your user account has access to the database.
3. General Steps
Since you’re on a freshly installed company computer:
- Install the latest drivers for both SQL Server and Analysis Services.
- Make sure Windows is updated, and you have all required Visual C++ redistributables (some SQL drivers depend on these).
- If possible, test the connection from another computer or user account to confirm whether it’s a system or network issue.
4. Next Steps
- If you can, provide the exact driver name and version you are using for both SSAS and SQL Server connections.
- If you have access to your IT/helpdesk team, share these errors with them—they may need to adjust firewall, VPN, or server-side settings.
- Confirm with your ERP/database administrator whether there are any special connection requirements (such as VPN, static IP, or custom ports).
Let me know if you try these steps and still encounter issues. If you provide any additional details (driver versions, connection strings, etc.), I’ll be happy to continue helping you troubleshoot! Good luck with your ERP learning journey!
translation and formatting supported by AI
- Zygis1 year agoNew Member
if trying to connect with microsoft sql server magagement studio server type: analysis services
couldnt find version for analysis services, but it looked like the folder name is also the version
- kushanNa1 year ago
Super User
Hi Zygis
check if this fix helps ? https://stackoverflow.com/questions/40909093/error-connecting-to-sql-server-analysis-services-the-9-dime-version-is-not-su