I'm write a windows application with c#,and in part of my code use this line:
Microsoft.SqlServer.Management.Smo.Server server = new Microsoft.SqlServer.Management.Smo.Server(new Microsoft.SqlServer.Management.Common.ServerConnection(conn));
and add it this reference to my project:
-Microsoft.SqlServer.Smo RunTimeVersion:v2.0.50727 and Version:11.0.0.0 <br/>
-Microsoft.SqlServer.ConnectionInfo RunTimeVersion:v2.0.50727 and Version:12.0.0.0 <br/>
-Microsoft.SqlServer.Management.Sdk.Sfc RunTimeVersion:v2.0.50727 and Version:12.0.0.0 <br/>
up reference in my client PC install sql server 2014
run very good and work,but when i want run this program on the my server i get this error:
On server ,sql server version is:2012
What happen?thanks.