Hi,
I am not sure why you are seeing the "Domain Logon Name" dialog as the error message that seems wrong.
But the expected behaviour is that...
Pledges cannot be deleted if the pledge have associated donations that are in the collected or processing state. Similarly, if the donations that are in the collected or processing state they cannot be deleted.
See if this helps.
Thank you,
RBaliga