Defrag Exchange 2003 - Eseutil Jet error -1811


I am getting the following error when I try to kick off an offline defrag usuing eseutil

C:\Program Files\Exchsrvr\bin>eseutil /d "C:\Program Files\Exchsrvr\Exchsrvr\M
DATA\priv1.edb" /t e:temp.edb

Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.

Error: Access to source database 'C:\Program Files\Exchsrvr\Exchsrvr\MDBDATA\p
v1.edb' failed with Jet error -1811.

Operation terminated with error -1811 (JET_errFileNotFound, File not found) af
r 0.32 seconds.

the steps I have completed so far are:
1. Dismounted the Info Store
2. Connected an external hard drive to the server with enough space to run the defrag
3. I ran the defrag a couple of nights ago but had to stop the defrag as it took too long so I re-scheduled it for the weekend
4. It created two temp.edb and temp.stm files on the external hard drive - I deleted theses files today before I kicked of the defrag
5. When I kicked off the defrag I get the above error.
6. I have tried stopped all the exchange services and re-running the defrag but no joy

Any ideas?

Would this occur due to the fact I deleted the two temp.edb files from my initial running of the defrag where deleted?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Adrian WilsonTechnical Consultant / Project ManagerCommented:
It's most likely because you killed an offline defrag previously. ESEUtil is a very powerful tool and can cause a lot of damage to your Exchange database if used incorrectly.

How much space are you hoping to reclaim? What does the online defrag report in event viewer?

Are you currently able to mount the Exchange database?

I would run eseutil /k to check the integrity of your Exchange database first.
Adrian WilsonTechnical Consultant / Project ManagerCommented:
Alan HardistyCo-OwnerCommented:
Your path is wrong!

Please use the following command:

C:\Program Files\Exchsrvr\bin>eseutil /d "C:\Program Files\Exchsrvr\MDATA\priv1.edb" /t e:temp.edb

You had the exchsrvr path twice, which I very much doubt is correct and the error you are getting is "I cannot find the file".
Alan HardistyCo-OwnerCommented:
Make sure the Information Store Service is started also (as you mentioned you had stopped all the Exchange services).

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
ANScrewAuthor Commented:
Thank you Alan - that worked - silly typo in the end ;)
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

From novice to tech pro — start learning today.