• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 427
  • Last Modified:

UI application cannot connect to the SQL Server database for session management.

Hi All,
I got this error message when


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 - No connection could be made because the target machine actively refused it.)

Could you please help us in resolving the issue ?
0
msdba
Asked:
msdba
2 Solutions
 
Alpesh PatelAssistant ConsultantCommented:
Please check TCP-IP is enabled
File wall has port exception.
Remote connection is enabled.
0
 
Aaron ShiloCommented:
things to check :
1. login credentials.
2. security method for sql server (windows auth,mixed mode.)
3. firewall for port 1433 (sql server default i assume you didnt change it)
4. network protoclsare enabled.

please post the connection string.
0
 
msdbaAuthor Commented:
Thanks!
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now