ASP.NET MVC Connection Problem (Error: System.Data.SqlClient.SqlException)

ika palad 86 Reputation points
2021-10-11T22:36:31.717+00:00

Currently I am working in Syncfusion chart in ASP.NET MVC binding in SQL however I got a problem in connection string. I tried to Connect to SQL SERVER - Network related or Instance in SQL Server Configuration Manager and allow other apps in firewall but still not working.

This is the error in my code

Developer technologies | ASP.NET | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Lan Huang-MSFT 30,206 Reputation points Microsoft External Staff
    2021-10-12T05:47:05.463+00:00

    Hi @ika palad ,
    I suggest you go to Sql Server Configuration Management -> SQL Server Network Configuration -> Protocol of'servername' and check whether named pipes are enabled.
    Best regards,
    Lan Huang


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.