Compilation Errors. Processor mismatch?


Author
Message
Jason Stevenson
Jason Stevenson
StrataFrame Beginner (17 reputation)StrataFrame Beginner (17 reputation)StrataFrame Beginner (17 reputation)StrataFrame Beginner (17 reputation)StrataFrame Beginner (17 reputation)StrataFrame Beginner (17 reputation)StrataFrame Beginner (17 reputation)StrataFrame Beginner (17 reputation)StrataFrame Beginner (17 reputation)
Group: Forum Members
Posts: 15, Visits: 43
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

 


Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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?

Lesscher
Lesscher
StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)StrataFrame Beginner (9 reputation)
Group: StrataFrame Users
Posts: 9, Visits: 19
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

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search