Remove a stuck message from Exchange 2007 queues

Hi Guys.

How can i remove a mail message stuck in the submission queue in Exchange 2007.
I have tried removing through the Exchange 2007 GUI and it advises that the message can not be deleted. It just gives me an error ?
I have also tried through the exchange powershell command.  This gives the impression the task has completed, and NO error message returned, but message is still stuck in the queue.

Can it be deleted by going to the queue folder on the drive itself.

I think the stuck message is causing a CPU overload on the Edgetransport.exe, so wish to clear as part of the diagnosis for this.
LVL 5
dexterhomeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

shauncroucherCommented:
So when you right click the message and Remove it presents an error? What is the error?

Try restarting the Microsoft Exchange Transport Service, this will reinitialise the queue, perhaps the message is actually no longer there.

Shaun
0
dexterhomeAuthor Commented:
I have tried restarting the Edgetransport service.
The message is still there afterwards.
If i right click the message i have no option to delete it.  I have to highlight and then press delete key.
At that point it advises this message:
--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
Action 'Remove (with NDR)' could not be performed on object ''.

Failed
Error:
The requested operation can't be performed for the object with identity SVR2\Submission\86696.
--------------------------------------------------------
OK
--------------------------------------------------------
0
dexterhomeAuthor Commented:
I think i may have done it.
I have just tried to re-delete the message and accidentally left the error message open - which must have locked the file open and then restarted the transport service - once the service came back up the message has gone from the queue.

It does not appear to have solved the edgetransport.exe using a high amount of CPU.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Protocols

From novice to tech pro — start learning today.