views:

54

answers:

1

I have been able to build my windows form application that access databases in SQL Server. All parts of the application are able to access the server apart from the part where one can back up/restore a database. In this part I can not access the databases on the server and have come to believe it is because of these warnings. What do the followings exactly mean and how can I correct them?

Referenced assembly
  'c:\Program Files\Microsoft SQLServer\90\SDK\Assemblies\Microsoft.SqlServer.Replication.dll' 
  targets a different processor than the application

Referenced assembly
  'C:\Windows\assembly\GAC_32\Microsoft.SqlServer.BatchParser\9.0.242.0_89845dcd8080cc91\Microsoft.SqlServer.BatchParser.dll'
  targets a different processor than the application.
+1  A: 

This is a bug with Visual Studio, it seems. Here's a more elaborate thread that explains some steps you can take to fix this.

Abel