sql server 2014 standard 合并发布生成失败
我在使用sqlserver2014合并发布功能时提示如下错误,
网上也没有找到其他解决方案,
请大家帮忙看下什么原因呢?谢谢
TITLE: New Publication Wizard
------------------------------
SQL Server could not create publication 'testmm'.
------------------------------
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
The 'TestMergeMain' database is not published for merge replication.
Unable to execute procedure. The database is not published. Execute the procedure in a database that is published for replication.
Changed database context to 'TestMergeMain'. (Microsoft SQL Server, Error: 21147)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=12.00.5000&EvtSrc=MSSQLServer&EvtID=21147&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
错误详细信息如下:
===================================
SQL Server could not create publication 'testmm'. (New Publication Wizard)
===================================
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
Program Location:
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType, Boolean retry)
at Microsoft.SqlServer.Replication.ReplicationObject.ExecCommand(String commandIn)
at Microsoft.SqlServer.Replication.ReplicationObject.CommonCreate()
at Microsoft.SqlServer.Replication.Publication.Create()
at Microsoft.SqlServer.Management.UI.CreatePublicationWizard.CreatePublicationThreadMethod()
===================================
The 'TestMergeMain' database is not published for merge replication.
Unable to execute procedure. The database is not published. Execute the procedure in a database that is published for replication.
Changed database context to 'TestMergeMain'. (.Net SqlClient Data Provider)
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=12.00.5000&EvtSrc=MSSQLServer&EvtID=21147&LinkId=20476
------------------------------
Server Name: WIN-VVKGU7CQJBC\WINCC
Error Number: 21147
Severity: 16
State: 1
Procedure: sp_MSCheckmergereplication
Line Number: 12
------------------------------
Program Location:
at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType, Boolean retry)