cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

An error occurred on the server - SQL connection

Hi,

 

I have an App with SQL as datasource. App was working fine till yesterday, today morning I see  'An error occured on the server'. I tried refreshing the datasources but still see the same issue. Can someone help me understand what the issue is?

 

 

Thanks!

6 REPLIES 6
Highlighted
Dual Super User
Dual Super User

Re: An error occurred on the server - SQL connection

Is the SQL server in Azure or On-premises?  If its on-Premises check the Gateway to make sure its still communicating correctly.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Helper I
Helper I

Re: An error occurred on the server - SQL connection

Hi Pstork1,

 

It is Azure SQL server.

Highlighted
Dual Super User
Dual Super User

Re: An error occurred on the server - SQL connection

Have you tried creating a new PowerApp quickly to test the connection?  Does it also fail?  Can you access the SQL database in Azure or with SQL Management Studio?



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Helper I
Helper I

Re: An error occurred on the server - SQL connection

I am able to create a powerApp with same connection. Also, I am able to connect using SSMS.

Highlighted
Dual Super User
Dual Super User

Re: An error occurred on the server - SQL connection

The only other suggestion I would have would be to remove the connection and recreate it.  I know that can be a fair amount of work so its a last resort, but its the only other idea I have.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Helper I
Helper I

Re: An error occurred on the server - SQL connection

I re-created the connections but no luck 😞 Let me recreate the app.

 

 

Thanks!

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

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

Top Solution Authors
Top Kudoed Authors
Users online (10,357)