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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Zygis
New Member

connecting to databse

hello,

iam trying to connect to a database and iam getting this error couldnt find anything on google

Zygis_0-1749629476470.png

 

6 REPLIES 6
v-vpabbu
Community Support
Community Support

Hi @Zygis,

As we haven’t heard back from you, we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Regards,
Vinay Pabbu

Zygis
New Member

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 

Zygis_0-1749630259644.png

i get this error

Zygis_1-1749630289795.png

if iam using 

Zygis_2-1749630319832.png

i get 

Zygis_3-1749630349059.png

 

@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!

Zygis_0-1749636845240.png

if trying to connect with microsoft sql server magagement studio server type: analysis services

Zygis_1-1749637053403.png

couldnt find version for analysis services, but it looked like the folder name is also the version

Zygis_2-1749637188380.png

Zygis_3-1749637481433.png

 

burakkaragoz
Community Champion
Community Champion

Hi @Zygis ,

 

The error message you are seeing, "DIME protocol error: The # DIME version is not supported. Only version 1 is supported," indicates that the client or application you are using to connect to the database is trying to use a DIME protocol version that is not compatible with the server. Only DIME version 1 is supported in your current environment.

What is happening?

  • DIME (Direct Internet Message Encapsulation) is an older protocol for transmitting binary data.
  • The database or service you are connecting to expects DIME version 1, but your client may be sending a different version or using an unsupported protocol.

Possible causes:

  1. The client application or driver is outdated or incompatible with the server.
  2. There is a mismatch in protocol versions between your client and the server.
  3. You might be trying to connect to a database or service that only supports legacy protocols.

What can you do?

  • Make sure you are using the correct and most up-to-date database driver or client for your database system.
  • If you are using a third-party tool or connector, check its documentation/settings to see if you can specify the DIME version or protocol compatibility.
  • If this is a custom application, ask your development team to ensure it is using DIME version 1 for connections.
  • If possible, try connecting from another client or tool to see if the issue is specific to your current setup.

Next steps:

  • If you can, provide more details about the database type (SQL Server, Oracle, etc.), the client tool you are using, and any relevant connection settings. This will help the community give more targeted advice.
  • If you are using an enterprise or cloud service, check with the service provider for any known compatibility issues.

Let me know if you can share more details about your connection scenario, and I (or others in the community) will be happy to help you further troubleshoot!

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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