|Component:||Microsoft Exchange Extensible Storage Engine|
|Message:||<process name> (<process id>) <storage group name> Database <name> is partially attached. Attachment stage: <number>. Error: <error code>.|
|This event indicates that the database engine failed to attach to the database because the database files or streaming files are in an indeterminate state. The Description section of the event will include the name of the file that the database engine cannot attach to. The error code will usually be a negative number (for example, -344, -1811, and so on). The error code can be converted to readable text by using the ERROR.EXE program that is available on the Exchange Server CD-ROM.|
|If the error code is -344, which translates to “JET_errDbTimeCorrupted,” it indicates that the DbTime value stamped on the header of the file in question is incorrect. This can occur if ESEUTIL/P was run against the named file using ESEUTIL.EXE from Service Pack 1 (SP1) or SP2. This was fixed in Exchange 2000 SP3. To correct this error, run ESEUTIL/P against the database using ESEUTIL.EXE from the SP3 version.
If the error code is -1811, which translates to “JET_errFileNotFound,” it indicates that files required by the database engine are missing. This needs to be investigated carefully and the resolution depends on the circumstances under which the error occurs. Files might be missing because they have been moved to another directory or have been deleted.
If the error is -2235, which translates to “JET_errSLVFileAccessDenied,” the problem could be a lack of permissions on the folder specified by the TMP variable and also a lack of permissions on the Exchange Database directories. To resolve, double-click the System icon in Control Panel, click the Advanced tab, and then click the Environment Variables button. In the lower pane, titled System variables, locate the TMP (not TEMP) variable. The path that is specified (C:\Winnt\Temp by default, and usually the same path for both the TMP and TEMP variables) is the folder that Exchange must be able to access by using the System account. Grant the Administrators group or the System account Full Control permissions. Granting permissions to the Domain Admins group is not sufficient. If permissions to the TMP folder are correct, check the permissions on each drive that contains the databases or logs. The System account must have full control permissions at the root of the drive and at each folder that contains Exchange Server databases or transaction logs. For example, if you have transaction logs in C:\Exchsrvr\Mdbdata, the system account needs full control on the root of drive C, on the Exchsrvr folder, and also on the Mdbdata folder for the databases to mount.