title: Could not retrieve backup settings for primary ID in Log shipping
body: <p>I am doing log shipping between two amazon ec2 instances running windows server 2008 R2.</p>
  
  <p>The sql server version is Sql server 2008 R2 standard edition</p>
  
  <p>Both the instances are in the same domain and i can access the shared folders between the intances. </p>
  
  <p>The sql server service account, agent service account are all running under domain account.</p>
  
  <p>When i activate log shipping (with stand by mode restore in secondary server), the inital backup gets restored on the secondary.</p>
  
  <p>After that the backup operation is getting failed and i get the following error message.</p>
  
  <blockquote>
    <p><em>*</em> Error: Could not retrieve backup settings for primary ID 'xxxxxx-xxxx-xxxx-xxxx-4d772cd7337e'.(Microsoft.SqlServer.Management.LogShipping)</p>
    
    <hr>
    
    <p><strong>* Error: Failed to connect to server IP-0A7653F2.(Microsoft.SqlServer.ConnectionInfo) *</strong></p>
    
    <p><em><strong></em></strong> Error: A network-related or instance-specific error occurred while establishing a connection to SQL Server.<strong><em>*</em>*</strong> </p>
    
    <p><strong>The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow
    remote connections. (provider: Named Pipes Provider, error: 40 - Could
    not open a connection to SQL Server)(.Net SqlClient Data Provider) <em></strong>
    *</em>----- END OF TRANSACTION LOG BACKUP   -----<em>*</em>*</p>
  </blockquote>