Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        
            
                
                    
                        
                            
                                | Author | 
                                
                                 Topic  | 
                             
                            
                                    | 
                                         csaha 
                                        Yak Posting Veteran 
                                         
                                        
                                        52 Posts  | 
                                        
                                        
                                            
                                            
                                             Posted - 2012-10-29 : 17:14:41
                                            
  | 
                                             
                                            
                                            | I have deleted the database, removed log shipping of the database and its respective job but the job still runs, the secondary server LSAlert_devwinsql4 job errorMessageExecuted as user: NT AUTHORITY\NETWORK SERVICE. The log shipping secondary database DEVWINSQL4.RE7 has restore threshold of 45 minutes and is out of sync. No restore was performed for 5850 minutes. Restored latency is 0 minutes. Check agent log and logshipping monitor information. [SQLSTATE 42000] (Error 14421).  The step failed.Why do I see the error message, if there is no job and database does not exist. I have also executed the following statements:delete from msdb.dbo.log_shipping_primary_databasesdelete from msdb.dbo.log_shipping_primary_secondariesdelete from msdb.dbo.log_shipping_monitor_primarydelete from msdb.dbo.log_shipping_monitor_history_detaildelete from msdb.dbo.log_shipping_monitor_error_detaildelete from msdb.dbo.log_shipping_monitor_alert | 
                                             
                                         
                                     | 
                             
       
                            
                       
                          
                            
                                    | 
                                     prett 
                                    Posting Yak  Master 
                                     
                                    
                                    212 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2012-10-29 : 23:54:00
                                          
  | 
                                         
                                        
                                          | Duplicate Question: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=180150  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                            
                                | 
                                    
                                      
                                     
                                    
                                 | 
                             
                         
                     | 
                 
             
         |