• Thanks- I did check that, sorry not to be clear!

    Ok, when I comment out

    + replace(convert(nvarchar(50), getdate(), 120), ' ',':') + N'.trn'

    it works. Huh?