SQL Server 2012 error: object reference not set to an instance of an object

前端 未结 7 1612
死守一世寂寞
死守一世寂寞 2021-01-01 19:29

I use SQL Server 2012 and I have some databases on it. The problem is I suddenly get an error saying,

object reference not set to an instance of an o

相关标签:
7条回答
  • 2021-01-01 19:36

    I fixed the problem by running SSMS as administrator.

    0 讨论(0)
  • 2021-01-01 19:39

    I got the same error for SQL 2016 and the only solution for me was to completely uninstall (in appwiz.cpl) all entries Visual Studio + SQL. Then I executed VisualStudioUninstaller and I reinstalled SQL and after Visual Studio.

    0 讨论(0)
  • 2021-01-01 19:50

    I could solve the error. Repair the SQL Server.

    Go to Add/remove programs Microsoft SQL Server 2012(x64) -> Uninstall/Change -> Repair. Select the instance that you want to repair here.

    Select the instance

    For me, after repairing the instance, the error was solved.

    Thanks for all who spent their valuable time to reply my question.

    0 讨论(0)
  • 2021-01-01 19:54

    I got the same error message. Problem was 0 bytes free on the C: drive.

    0 讨论(0)
  • 2021-01-01 19:57

    Its may be late, but i get the same error in SQL SERVER 2016, i resolved it by assigning full access to the back up folder.

    0 讨论(0)
  • 2021-01-01 19:58

    I faced the same error once in my project. This is purely due to SSMS(sql client) is corrupted. Just for cross check that server is fine and client is corrupted, try to connect to the sql-server in this machine from any other server if you have access and query the tables. If it returns data, just uninstall and reinstall the client(ssms) to solve the issue

    Thanks

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