Solution-
One of the databases was corrupt and it turned out that the database needed to be removed and re-installed, but Windows Internal Database wasn’t listed in Programs and Features (Add/Remove Software in Windows 2003 Server). If this happens to you try these instructions.
Firstly, run the following command from a command-line if you run a 32 bit server;
msiexec /x {CEB5780F-1A70-44A9-850F-DE6C4F6AA8FB} CALLERID=ocsetup.exe
and this one if you run a 64 bit server;
msiexec /x {BDD79957-5801-4A2D-B09E-852E7FA64D01} CALLERID=ocsetup.exe
This will uninstall the Windows Internal Database. Next you have to re-install it. The easiest way to do this is to run the WSS 3 SP1 installation routine. Choose the ‘Basic’ installation option when installing WSS and WID will be reinstalled and used to store the WSS data.
http://april.g2support.com/wp-content/uploads/2009/04/sharepoint-install-basic.png
Choose the basic option
Follow this link-
http://www.g2support.com/archives/313/
Hope this will help you