Sunday, 24 February 2008

C Drive Filling with Exchange .log files

This is one that doesnt explain itself very well, whether it be fault, feature or otherwise you can decide.

The solution is simple: Exchange has a "Self protect" feature by recognising if it has been backed up or not. If it detects that the database isnt properly backed up either using NTBackup the SBS Backup or another body which correctly cleans the database then the exchange will begin logging every email in plain text into a Text document in the C:\Progr~\Exchsrv\MDBDATA directory.

So the solutions are simple if you are using a backup program then make sure it is running ok. if you are using your own custom built backup script like Xcopy or something like, you may need to look at Circular Logging to stop the build up of log files.

The only other reason I have so far found that this can happen however are Database corruption; to check this again is relatively simple if you have used the ESEUtil application before.

Open a command prompt and navigate to C:\Progr~\Exchsrv\Bin\
Then run Check the value "State" which should display Clean, if it instead displays "Dirty" or "Inconsistent" you will need to repair the database using ESEUtil and the transaction logs created so do not delete them.

To repair look at following the below articles:

How to remove Transaction logs

OR

How to Maintain after repair

Wednesday, 20 February 2008

Vista: User has not been Granted the Requested Login Type

One of the most by far annoying errors in Vista I have come accross, presenting you with next to no information as to why you get the message or why you arent presented with a Username & Password dialogue.

So if you find that connecting one XP or Vista machine to another Vista machine brings up the above message for you, this will almost certainly solve that issue and within 30 seconds too!

Simply enter a command prompt and copy and paste the three commands below, line by line.


net user guest /active:yes
ntrights +r SeNetworkLogonRight -u Guest
ntrights -r SeDenyNetworkLogonRight -u Guest