StrataFrame Forum

Compilation Errors. Processor mismatch?

http://forum.strataframe.net/Topic1656.aspx

By Jason Stevenson - 6/23/2006

While trying to compile my first Strataframe WinForms app I am starting to get the following two Warnings after building.

Warning 1 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. DealerLocatorAdmin

Warning 2 Referenced assembly 'c:\Program Files\Microsoft SQL Server\90\SDK\Assemblies\Microsoft.SqlServer.Replication.dll' targets a different processor than the application. DealerLocatorAdmin

Any help would be great.

Jason

 

By Trent L. Taylor - 6/23/2006

Jason,

There is something going on with your SQL SMO assemblies.  Are your running a 64 bit OS or did you load SQL Server Management Studio recently.  Bottom line, something has been loaded that has overwritten the BatchParser.DLL and the SQLReplication.DLL.  Both assemblies are used through the DDT, but are not our assemblies.  They are actually SQL Server Management Object DLLs. 

Were you getting this error before?

By Lesscher - 7/24/2008

I had the same problem with the Microsoft.SqlServer.Replication.dll:

Just replace the Microsoft.SqlServer.Replication.dll in the SDK directory with a newer version. (do a search on your C drive and you'll find it Smile)

I am using version 9.00.3042, you get this error when using version 9.00.1399.06 or something.

Regards,
Lesscher