cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
papp
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
Pstork1
Dual Super User III
Dual Super User III

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.

Hi Pstork1,

 

It is Azure SQL server.

Pstork1
Dual Super User III
Dual Super User III

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.

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

Pstork1
Dual Super User III
Dual Super User III

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.

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

 

 

Thanks!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (992)