Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Problem with RMO programming on computer with SQL Server 2014 Express

$
0
0

Hello

I'm trying to implement merge replication (pull subscription) on the computer with installed SQL server 2014 Express. I've crested codes according to spec:

https://msdn.microsoft.com/en-us/library/ms146869%28v=sql.120%29.aspx

All is working properly on computer with full SQL Server 2014 Developer.

However on computer when SQL Server 2104 express is installed I have an exception wehn trying to run code:

System.BadImageFormatException: Could not load file or assembly 'Microsoft.SqlServer.Replication, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies.

I've run code with x86 and Any  CPU complitaion on full sql server computer.

I've tried both compilation x86 and Any CPU and nothing is working on computer with SQL server 2014 Express.

I tried to attach libraries found in GAC, with copy local. And issue is the same.

I've compiled application on computer with SQL server 2014 express, without issue, in Any CPU or x86 mode. Both have the same exception.

Based on documention RMO suppose to work with SQL Server express.

RMO depends on the replication components and client connectivity components that are included with all versions of SQL Server except SQL Server Compact.

So the only exclusion is SQL Server Compact. But it is not working...


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>