Unable to complete operation at this time.

Unanswered Unable to complete operation at this time.

  • Thursday, March 01, 2012 11:08 AM
     
     

    Im trying to register my agent to the azure.i generated key and trying to register it through account with network access but getting messsage each time-:

    unable to complete operation at this time.

    trace of log file-:

    id:LocalAgentHost_Exception, rId:, sId:00000000-0000-0000-0000-000000000000, traceLevel:Error, agentId:00000000-0000-0000-0000-000000000000, agentInstanceId:6d6d03a2-817e-4d09-a2af-3cc45f07eecb, 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:


    vinshu

All Replies

  • Thursday, March 01, 2012 6:31 PM
    Answerer
     
     

    are you able to hit this site:https://locator.sync.azure.com/LocatorServiceApi.svc ?

    also, are you using the latest agent?

  • Friday, March 02, 2012 5:31 AM
     
     

    No.i'm not been able to hit this site.why is it needed so?i have deleted all the previous agents and trying to register new agent.

    plz help


    vinshu

  • Friday, March 02, 2012 7:35 PM
    Answerer
     
     

    the agent communicates with services in Azure. if you are not able to hit that site, then you are not able to communicate with those services.

    you should check your firewall/proxy settings to make sure the agent is able to communicate to services in Azure.

  • Saturday, March 03, 2012 6:19 AM
     
     
    There is no firewall/proxy/policies on my machine.i m using express edition of sqlserver 2008 R2.is that could be a reason behind it?but that works fine while i communicate with database.

    vinshu

  • Monday, March 05, 2012 11:16 AM
    Answerer
     
     
    the connection to your on-premise databases is different from the agent connecting to the data sync service. what do you get when you browse the url i specified above?
  • Tuesday, March 06, 2012 9:36 AM
     
      Has Code

    hithis is a Windows© Communication Foundation service.

    Metadata publishing for this service is currently disabled.

    If you have access to the service, you can enable metadata publishing by completing the following steps to modify your web or application configuration file:

    1. Create the following service behavior configuration, or add the <serviceMetadata> element to an existing service behavior configuration:

    <behaviors> <serviceBehaviors> <behavior name="MyServiceTypeBehaviors" > <serviceMetadata httpGetEnabled="true" /> </behavior> </serviceBehaviors></behaviors>

    I get this page when i open the url.
  • Tuesday, March 06, 2012 9:49 AM
    Answerer
     
     
    so you are able to hit the service then. have you tried re-generating a new key from the portal and entering that in the agent?
  • Tuesday, March 06, 2012 10:07 AM
     
     
    ok.but i tried many times as same but still failed.i used the latest agent ,regenerated key from the portal but nthing working!
    • Proposed As Answer by Mike32323232 Wednesday, March 14, 2012 7:30 PM
    • Unproposed As Answer by Mike32323232 Wednesday, March 14, 2012 7:30 PM
    •  
  • Wednesday, March 14, 2012 7:33 PM
     
     

    Sorry... new at this. 

    Uninstall the Data Sync Agent on your local machine. (don't repair... completely remove)

    Then... re-install the agent.


  • Friday, March 30, 2012 7:14 PM
     
     

    Same Problem here................

    Need immediate help..!!


    If you found this post useful, Please "Mark as Answer" or "Vote as Helpful". Best Regards