我正在做兩個運行Windows Server 2008 R2的亞馬遜EC2實例之間的日誌傳送。無法檢索日誌傳送中主ID的備份設置
SQL Server版本是SQL SERVER 2008 R2標準版
這兩個實例都是在相同域中,我可以在intances之間訪問共享文件夾。
sql server服務帳戶,代理服務帳戶都在域帳戶下運行。
當我激活日誌傳送(備用服務器中的備用模式恢復)時,備用服務器將恢復初始備份。
之後,備份操作失敗,我得到以下錯誤信息。
* Error: Could not retrieve backup settings for primary ID 'xxxxxx-xxxx-xxxx-xxxx-4d772cd7337e'.(Microsoft.SqlServer.Management.LogShipping)
* Error: Failed to connect to server IP-0A7653F2.(Microsoft.SqlServer.ConnectionInfo) *
Error: A network-related or instance-specific error occurred while establishing a connection to SQL Server.**
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) *----- END OF TRANSACTION LOG BACKUP -----**
你解決了嗎? –
我能解決這個問題。錯誤的原因是默認服務器名稱(IP-0A7653F2)已更改爲服務器實例的名稱(在將實例添加到域控制器時命名)。因此,在設置日誌傳送之後,我編輯了設置並將服務器名稱IP-0A7653F2更改爲當前實例名稱,並且它工作正常。 – Vijayasarathy