enter image description here

I study to work from a DB from C # (VS 2013).
I created a project, a form, there is a base on MS SQL SERVER 2014 Expess.
In VS, on the Data Sources tab I add - DB - Data set - Create connection - Data source (Microsoft SQL Server, Data provider (.NET for SQL Server) - Server name localhost - Database connection (see all databases), I choose the one I need Check connection - Verification completed, when you click OK, it issues:

"Cannot add data connection. Object link does not indicate an object instance"

What is the problem?

  • Attach a screen error. - Ella Svetlaya
  • @ Ella Svetlaya Attached ... - Mikhail Vishnevetsky

1 answer 1

Problem solved random thought. The MS SQL server is 64-bit, and the VS version is set to the AnyCPU compilation property. After changing the property on x64, everything worked!