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.
it's been a year since you've asked this question.. but i just want to give the solution for this question...
if you using VS2010, go to your Project Properties, go to Compile, Advanced Compile Option, then set your target CPU to x86 or x64... cannot be both... choose one...
hope this solved.. :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With