Forum Discussion

tim_crowther1's avatar
tim_crowther1
Advocate I
1 year ago
Solved

Loading Data On Prem to Fabric - SQL Endpoint Error

Hi,   We are trying to load data from an On-Prem SQL VM (source) to Fabric Warehouse or SQL DB (target). We have followed how to do this from the Microsoft documentation and Tales from the Field. W...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi tim_crowther1 ,

    Thank you for reaching out to the Microsoft Fabric Community.

     

    The error is likely caused by TLS/SSL issues, network blocks, or SQL server settings. First, make sure your SQL VM supports TLS 1.2 or higher — check the registry under SCHANNEL\Protocols.

    Next, update your connection string to include TrustServerCertificate=True to skip SSL checks.

    Make sure TCP/IP is enabled in SQL Server Configuration Manager, SQL Browser is running, and remote connections are allowed. If firewalls are open but Azure Data Studio or SSMS still fail, check for proxies, security tools, or antivirus that might block SQL traffic — try turning them off briefly to test.

    Finally, update Azure Data Studio, SSMS, and SQL drivers to the latest versions. If nothing works, run a network trace (e.g., Wireshark) to find where the connection breaks.

    For additional assistance, please refer to Microsoft’s TLS Troubleshooting Guide.

     

    I hope my suggestions give you good idea, if you need any further assistance, feel free to reach out.

     

    If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

     

    Thank you.

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi tim_crowther1 ,

    Thank you for your clarification details. Could you please consider the following approaches for ensuring the sql endpoint connection issue.

    • Ensure that your network security groups, firewalls, and any intermediate security appliances are configured to allow traffic on the necessary ports (e.g., TCP port 1433) between your on-premises environment and Microsoft Fabric endpoints. Additionally, verify that the necessary permissions are set for users accessing the SQL endpoints.
    • Review your connection strings to ensure they are correctly formatted. Avoid using unsupported parameters such as Integrated Security=True or Trusted_Connection=True, as these are not supported by Fabric. ​

    For more details on how to create a sql endpoint and use power bi to get data from workspace via sql endpoint you can refer to the official documentation.

    Connectivity to data warehousing - Microsoft Fabric | Microsoft Learn
    CREATE ENDPOINT (Transact-SQL) - SQL Server | Microsoft Learn

     

    Also, the character limitation you're experiencing is a known issue in Microsoft Fabric's data warehouse, where varchar fields are limited to approximately 8,000 characters. To work around this limitation:​ please have a look into the similar thread which help you understand better.

    https://community.fabric.microsoft.com/t5/Fabric-platform/Ingesting-Varchar-MAX-to-datawarehouse-failure/m-p/3867594

     

    Split large text data into smaller chunks within the 8,000-character limit and adjust your data processing logic to reconstruct the original text. Consider using external storage like Azure Blob Storage for large data, and reference it in your Fabric workflows. These strategies help navigate current limitations and security constraints for better integration with Microsoft Fabric.

     

    If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

     

    Thank you.