cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

PowerApps can't connect to Microsoft SQL Server

I followed the instructions on https://powerapps.microsoft.com/en-us/tutorials/connection-azure-sqldatabase/.

 

But I can't add that connection.

 

The SQL server name, database name, Username and Password are all correct.

I can connect to the database using Microsoft SQL Server Management Studio.

 

I get this error.

Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - The wait operation timed out.)
clientRequestId: 9e4922b0-301e-1096-b190-0dbdc9f2d44a

Session ID: 399822d6-4ea1-c9b1-20b3-0e841a3c58d9

 

WeChat Image_20170914142315.png

 

Thanks.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Regular Visitor

Re: PowerApps can't connect to Microsoft SQL Server

Hi,

 

Thanks for your time.

I followed your instruction, but I got another error.

 

Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
clientRequestId: ea81d043-8d7d-eb9e-3c03-7944a09dfe76

Session ID: 087cc4ce-fd39-d920-cbdf-2646fd8a70e0

 

t500.png

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: PowerApps can't connect to Microsoft SQL Server

Hi @TravisChen,

 

Check below:

1. Please make sure your database engine is configured to accept remote connections.
2. Please make sure that you create an exception on the firewall for the SQL Server instance and port you are using.
3. Please check if your SQL server services is up and running properly.
4. Please make sure that you enable TCP/IP in SQL Server Configuration

 

This article could be a reference for you:
https://www.mssqltips.com/sqlservertip/2340/resolving-could-not-open-a-connection-to-sql-server-erro...

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Regular Visitor

Re: PowerApps can't connect to Microsoft SQL Server

Hi,

 

Thanks for your time.

I followed your instruction, but I got another error.

 

Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
clientRequestId: ea81d043-8d7d-eb9e-3c03-7944a09dfe76

Session ID: 087cc4ce-fd39-d920-cbdf-2646fd8a70e0

 

t500.png

View solution in original post

Highlighted
Regular Visitor

Re: PowerApps can't connect to Microsoft SQL Server

Hi,

 

Our Live app is getting effected with this issue for one of the users. The datasource is "Azure SQL". The app works normal for other user but for this user from pakistan the app is giving the error message.

 

It will be helpful if you could help me with this.

 

Thanks in advance

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,665)