System.Data.SqlClient.SqlException A network-related or instance-specific error

后端 未结 3 1900
礼貌的吻别
礼貌的吻别 2021-01-26 19:13

As the title suggests this is the exception from my stacktrace.

I am trying to obtain a connection to my SQL Server 2008 R2 database hosted on a windows 2003 server.

相关标签:
3条回答
  • 2021-01-26 19:24

    Refreshing database in SQL Server Object Explorer helped me with that issue.

    0 讨论(0)
  • 2021-01-26 19:29

    Try this, it may help you to create your database

    Open command prompt, then type services.msc Now Services window will be opened

    And, Open SQL Server Browser,Enable this and start it

    0 讨论(0)
  • 2021-01-26 19:32

    The Resolving “A network-related or instance-specific error occurred while establishing a connection to SQL Server…” article explains how to address this issue. I hope, it will be helpful to you.

    0 讨论(0)
提交回复
热议问题