SqlAzureDataSyncAgent does not take key

일반 토론 SqlAzureDataSyncAgent does not take key

  • Tuesday, March 06, 2012 12:46 PM
     
     

    SqlAzureDataSyncAgent not take key when i Generate key from https://windows.azure.com

    Please help me .

    LOg Detail :-

    id:LocalAgentHost_Exception, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Error, agentId:00000000-0000-0000-0000-000000000000, agentInstanceId:e20f3821-6c7b-4d37-88cd-a2b00a441204, version:1.2.243.0, e:'Type=System.ServiceModel.FaultException`1[[Microsoft.SqlAzureDataSync.CommonClientUtilLib.ClientAgentException, Microsoft.SqlAzureDataSync.CommonClientUtilLib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91]],Message=Please enter a valid agent key to proceed. The key must be generated from Azure Sync Service web portal.,Source=LocalAgentHost,StackTrace= at Microsoft.SqlAzureDataSync.LocalAgentHost.ClientUXService.PingDss()

    at Microsoft.SqlAzureDataSync.LocalAgentHost.ClientUXService.GetAgentStateInfo(),', methodName:ClientUXService.GetAgentStateInfo, message:Ping to Azure Sync Service failed. Please ensure valid agent key was submitted. You could try regenerating the agent key and re-submitting. Check event log for details. Exception: Please enter a valid agent key to proceed. The key must be generated from Azure Sync Service web portal., eType:'Type=System.ServiceModel.FaultException`1[[Microsoft.SqlAzureDataSync.CommonClientUtilLib.ClientAgentException, Microsoft.SqlAzureDataSync.CommonClientUtilLib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91]]', eMessage:'Message=Please enter a valid agent key to proceed. The key must be generated from Azure Sync Service web portal.', eTypeInner:, eMessageInner:


    Project Manager Bajaj capital Ltd

All Replies

  • Thursday, April 05, 2012 8:55 AM
     
     

    Hi,

    Check your system time. If your time is not accurate setting the key will fail.

    I had the same issue than I syncronized the time on the server and it solved this problem.

  • Tuesday, April 17, 2012 2:54 PM
     
     
    Try to delete the config file "AgentConfigData.xml" from folder "Program Files (x86)\Microsoft SQL Azure Data Sync\data", then regenerate the key from DSS portal, then see whether it is successful.

    Oliver Yao - MSFT