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 object
I get this error when:
What I can do without getting error message:
I'm using:
Here are some snapshots of the error.
Please give me a solution to fix this problem. Your help will be highly appreciated.
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.
For me, after repairing the instance, the error was solved.
Thanks for all who spent their valuable time to reply my question.