Error: DbNotProvisionedException was unhandled by user code

Answered Error: DbNotProvisionedException was unhandled by user code

  • 21 października 2010 14:49
     
     

    When i am trying to sync between 2 sql DB i am getting the following Error. (sync version 2.1/3.1)

    The current operation could not be completed because the database is not provisioned for sync or you not have permissions to the sync configuration tables.

     

    Stack Trace:

     

       at Microsoft.Synchronization.Data.SqlServer.SqlManagementUtils.VerifyRuntimeAndSchemaVersionsMatch(SqlConnection connection, SqlTransaction trans, String objectPrefix, String objectSchema, Boolean throwWhenNotProvisioned)

       at Microsoft.Synchronization.Data.SqlServer.SqlSyncDescriptionBuilder.GetDescriptionForScope(String scopeName, String objectPrefix, String objectSchema, SqlConnection connection)

       at Microsoft.Synchronization.Data.SqlServer.SqlSyncDescriptionBuilder.GetDescriptionForScope(String scopeName, String objectPrefix, SqlConnection connection)

       at Microsoft.Synchronization.Data.SqlServer.SqlSyncDescriptionBuilder.GetDescriptionForScope(String scopeName, SqlConnection connection)

       at WcfSyncService.SqlSyncService.GetScopeDescription() in C:\Documents and Settings\Desktop\SyncApp\WcfSyncService\SqlSyncService.svc.cs:line 38

       at SyncInvokeGetScopeDescription(Object , Object[] , Object[] )

       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)

       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)

     

    Any help is Appretiated.

    Thanks

    Lavanya

     


    lavanyar

Wszystkie odpowiedzi

  • 21 października 2010 17:23
    Moderator
     
     Odpowiedz
    Well, is the database provisioned for sync and if yes is the correct scopename being requested?
    Maheshwar Jayaraman - http://blogs.msdn.com/mahjayar
    • Oznaczony jako odpowiedź przez Lavanyr 21 października 2010 17:40
    •  
  • 15 kwietnia 2012 08:51
     
     

    I am facing same issue , Can you help me  ? ?

    http://stackoverflow.com/questions/10151416/dbnotprovisioned-exception

    Can you let me know what am I doing wrong ?

    Thanks

    Vinay