Database mail Log problem

  • hi

    i am using sqlserver2008, i have removed all the mail information using

    EXEC msdb.dbo.sysmail_delete_mailitems_sp @sent_before = '12/30/2009'

    EXEC msdb.dbo.sysmail_delete_log_sp @logged_before = '12/30/2009'

    when i try to open the database mail log using management studio,i am getting error:

    initialize log#1.........

    Failed to retrieve data for this request.

    Additional information

    Lock request time out period exceeded.. ERROR: 1222

    can any one guide me on this one

    Thanks

    Rock...

  • What do you get if you run:

    SELECT

    *

    FROM

    sys.dm_exec_requests AS DER

    WHERE

    blocking_session_id <> 0

    when you try to look at the database mail log?

    Can you successfully run:

    SELECT

    *

    FROM

    msdb.dbo.sysmail_log AS SL

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply