Question : Need to Defrag Information store (Exchange 2003)

Hi All

I need to compact our DB, the database size has got to 80GB and we oly have Exchange 2003 STD edition so it keeps dismounting.

Our Exchange DB is stored on D however i i dont have another 80GB of space on it so i need to create the Temp DB on E:

Could someone let me know what the command is, also if it creates the temp DB on the E drive do i have to manually copy them back to the D or will it actually compact the current live .edb file.

Thanks

Answer : Need to Defrag Information store (Exchange 2003)

I applaud you for wanting a common error handler.  Let me explain how I do it.

Create a global function for your common error handler logic.  The "the entry point of your app" may work--I don't know--it needs to be callable from anywhere. Let's call that functio ErrorRoutine().

Then code all suboutines something like this:


Private Sub MySub ()
On Error GoTo Finish
....<errors will be trapped>

On Error Resume Next
...<errors will not be trapped here>
On Error GoTo Finish

....<errors will be trapped>

Finish:
If err.number then if ErrorRoutine (vbRetry) = vbRetry then Resume  
...<subroutine housekeeping goes here>
Exit Sub



My version of ErrorRoutine evaluates for the retry parameter and if present issues an abort, cancel, retry prompt.  This permits the failing operation to be retried (which I find useful for debuggin).






Random Solutions  
 
programming4us programming4us