Issue:
SQL Server Agent jobs stuck in running state. No errors and no history. When trying to view history displayed error “Cannot display activity data”.
SQL Server Agent Error Logs displays error message…
Message:
[298] SQLServer Error: 53, A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. [SQLSTATE 08001]
Fix:
Check server name.
PRINT @@servername
EXEC sp_dropserver 'OLDNAME';
GO
EXEC sp_addserver 'NEWNAME', local;
GO
Comments