Link to home
Create AccountLog in
Avatar of haldoxp
haldoxpFlag for Mexico

asked on

Exchange Public Folders HTTP error 422; c1030af4

We are in the process of upgrading Exchange 2000 to Exchange 2003 (with finish on Exchange 2010 in a week hopefully). Mailboxes were moved without any big issues. Unfortunately during the Public folders replication our main server hosting Exchange 2000 crashed (reboot needed) and "eseutil /p" was needed on both Mailbox store and PF store. We don't know exact reason for the DBs corruption as everything was working as expected until the reboot. We only know it happend 5-10 days before the reboot as all DB backups we have are also corrupted in the same way. Last good backup is due to some miscomunication and misconfiguration now 17 days old, therefore I would like to use current DB if possible.

So, eseutil /p, eseutil /d, isinget and few reboots later PF database is mounted and running. Issue is the replication between Exchange 2000 and Exchange 2003 is not running and also any othe messages intended to end in PF are queued in Local Delivery queue. Here is the set of error messages:


---------------------------
PFDAVAdmin
---------------------------
An error occurred while trying to establish a connection to the Exchange server. Be sure that port 443 (for SSL) or port 80 (for non-SSL) can be reached. If you are connecting to public folders, be sure that the public store is mounted. If you are connecting to mailboxes and the progress bar shows a particular mailbox, be sure that user has at least one email address.

Exception: Failed to connect using secure URL https://ServerName/ExAdmin/Admin/DomainName/public%20folders/ with error: The underlying connection was closed: Could not establish secure channel for SSL/TLS.. Failed to connect using unsecure URL http://ServerName/ExAdmin/Admin/DomainName/public%20folders/ with error: The remote server returned an error:  (422) Unprocessable Entity..
---------------------------
OK  
---------------------------


"Move all replicas" command from ESM
---------------------------
Exchange System Manager
---------------------------
The operation failed because of an HTTP error 422.Facility: Exchange System ManagerID no: c1030af4Exchange System Manager
---------------------------
OK  
---------------------------


Current status:
eseutil /mh R:\Exchange\MDBDATA\pub1.edb

Microsoft(R) Exchange Server(TM) Database Utilities
Version 6.0
Copyright (C) Microsoft Corporation 1991-2000.  All Rights Reserved.

Initiating FILE DUMP mode...
       Database: R:\Exchange\MDBDATA\pub1.edb

        File Type: Database
   Format ulMagic: 0x89abcdef
   Engine ulMagic: 0x89abcdef
 Format ulVersion: 0x620,9
 Engine ulVersion: 0x620,9
Created ulVersion: 0x620,9
     DB Signature: Create time:12/30/2010 20:23:07 Rand:168282499 Computer:
         cbDbPage: 4096
           dbtime: 42485104 (0-42485104)
            State: Clean Shutdown
     Log Required: 0-0
   Streaming File: Yes
         Shadowed: Yes
       Last Objid: 48367
     Scrub Dbtime: 0 (0-0)
       Scrub Date: 00/00/1900 00:00:00
     Repair Count: 0
      Repair Date: 00/00/1900 00:00:00
  Last Consistent: (0xAE6,1BA4,20)  01/02/2011 13:54:34
      Last Attach: (0xAE6,18BF,BC)  01/02/2011 13:44:00
      Last Detach: (0xAE6,1BA4,20)  01/02/2011 13:54:34
             Dbid: 2
    Log Signature: Create time:12/28/2010 19:25:56 Rand:29901004 Computer:
       OS Version: (5.0.2195 SP 4)

Previous Full Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Current Incremental Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Current Full Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Current snapshot backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

     cpgUpgrade55Format: 0
    cpgUpgradeFreePages: 0
cpgUpgradeSpaceMapPages: 0

Operation completed successfully in 1.0 seconds.


C:\Program Files\Exchsrvr\BIN>eseutil /g R:\Exchange\MDBDATA\pub1.edb

Microsoft(R) Exchange Server(TM) Database Utilities
Version 6.0
Copyright (C) Microsoft Corporation 1991-2000.  All Rights Reserved.

Initiating INTEGRITY mode...
        Database: R:\Exchange\MDBDATA\pub1.edb
  Streaming File: R:\Exchange\MDBDATA\pub1.STM
  Temp. Database: TEMPINTEG6448.EDB

Checking database integrity.

                     Scanning Status (% complete)

          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................


Integrity check successful.

Operation completed successfully in 692.78 seconds.



You have selected First Storage Group / Public Folder Store (ServerName).
Continue?(Y/N)y
Test Categorization Tables result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test Restriction Tables result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test Search Folder Links result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s);time: 0h:0m:1s
Test Global result: 0 error(s); 0 warning(s); 0 fix(es); 1 row(s); time: 0h:0m:0s
Test Delivered To result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test Repl Schedule result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time:0h:0m:0s
Test Timed Events result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test reference table construction result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:45s
Test Folder result: 2 error(s); 4600 warning(s); 0 fix(es); 4607 row(s); time: 0h:5m:14s
Test Deleted Messages result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test Message result: 0 error(s); 0 warning(s); 0 fix(es); 432585 row(s); time: 0h:3m:23s
Test Attachment result: 0 error(s); 0 warning(s); 0 fix(es); 178741 row(s); time: 0h:0m:12s
Test Per-User Read result: 0 error(s); 0 warning(s); 0 fix(es); 7557 row(s); time: 0h:0m:0s
Test Replication result: 0 error(s); 0 warning(s); 0 fix(es); 9008 row(s); time: 0h:0m:1s
Test Message Tombstone result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test Folder Tombstone result: 0 error(s); 0 warning(s); 0 fix(es); 38 row(s); time: 0h:0m:0s
Test reference count verification result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:51s
Now in test  18(Row Count/Dumpster Count) of total  18 tests; 100% complete.



isinteg -s ServerName -fix -test folder -verbose -l c:\isinteg.txt
Databases for server ServerName:
Only databases marked as Offline can be checked

Index  Status       Database-Name
Storage Group Name: First Storage Group
  1    Offline      Mailbox Store (ServerName)
  2    Offline      Public Folder Store (ServerName)
Enter a number to select a database or press Return to exit.
2
You have selected First Storage Group / Public Folder Store (ServerName).
Continue?(Y/N)y
Test reference table construction result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test Folder result: 2 error(s); 4600 warning(s); 0 fix(es); 4607 row(s); time: 0h:5m:21s
Now in test   3(reference count verification) of total   3 tests; 100% complete.



Error: Folder 1 (Fid=0001-000000000001) "IPM_SUBTREE": Error ecNotFound-MAPI_E_NOT_FOUND processing this folder
Warning: Folder 2 (Fid=0001-000000000002) "NON_IPM_SUBTREE": RootFid is corrupted beyond redemption.
Warning: Folder 2 (Fid=0001-000000000002) "NON_IPM_SUBTREE": Parent does not exist!
Error: Folder 2 (Fid=0001-000000000002) "NON_IPM_SUBTREE": Error ecNotFound-MAPI_E_NOT_FOUND processing this folder
Warning: Folder 3 (Fid=0001-000000000003) "EFORMS REGISTRY": RootFid is corrupted beyond redemption.
Warning: Folder 4 (Fid=0001-000000000004) "SCHEDULE+ FREE BUSY": RootFid is corrupted beyond redemption.
Warning: Folder 5 (Fid=0001-000000000005) "OFFLINE ADDRESS BOOK": RootFid is corrupted beyond redemption.

Open in new window


"RootFid is corrupted beyond redemption" repeats on all PF folders.

I'm now running new backup now and want to start eseutil /p one more time as google search indicates it "may" help. Or is there any other way to save this DB and sync it with the new Exchange database? Thanks
ASKER CERTIFIED SOLUTION
Avatar of Glen Knight
Glen Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of haldoxp

ASKER

Thanks, for $399 looks really good. I will mentioned it to my boss :).
http://www.kerneldatarecovery.com/exchange-server-recovery.html

I also tried to run the eseutil the errors and warnings are still there. This time with new error when I try "Move all replicas" command from ESM.

C:\Program Files\Exchsrvr\BIN>eseutil /p R:\Exchange\MDBDATA\pub1.edb

Microsoft(R) Exchange Server(TM) Database Utilities
Version 6.0
Copyright (C) Microsoft Corporation 1991-2000.  All Rights Reserved.

Initiating REPAIR mode...
        Database: R:\Exchange\MDBDATA\pub1.edb
  Streaming File: R:\Exchange\MDBDATA\pub1.STM
  Temp. Database: TEMPREPAIR4696.EDB

Checking database integrity.

                     Scanning Status (% complete)

          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................


Integrity check successful.

Note:
  It is recommended that you immediately perform a full backup
  of this database. If you restore a backup made before the
  repair, the database will be rolled back to the state
  it was in at the time of that backup.



Operation completed successfully with 205 (Unknown Error, Unknown Error) after 5
68.656 seconds.


C:\Program Files\Exchsrvr\BIN>eseutil /d R:\Exchange\MDBDATA\pub1.edb /t N:\defr
ag.edb

Microsoft(R) Exchange Server(TM) Database Utilities
Version 6.0
Copyright (C) Microsoft Corporation 1991-2000.  All Rights Reserved.

Initiating DEFRAGMENTATION mode...
            Database: R:\Exchange\MDBDATA\pub1.edb
      Streaming File: R:\Exchange\MDBDATA\pub1.STM
      Temp. Database: N:\defrag.edb
Temp. Streaming File: N:\defrag.STM

                  Defragmentation Status (% complete)

          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................

Moving 'N:\defrag.edb' to 'R:\Exchange\MDBDATA\pub1.edb'...
                     File Copy Status (% complete)

          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................

Moving 'N:\defrag.STM' to 'R:\Exchange\MDBDATA\pub1.stm'...
                     File Copy Status (% complete)

          0    10   20   30   40   50   60   70   80   90  100
          |----|----|----|----|----|----|----|----|----|----|
          ...................................................


Note:
  It is recommended that you immediately perform a full backup
  of this database. If you restore a backup made before the
  defragmentation, the database will be rolled back to the state
  it was in at the time of that backup.

Operation completed successfully in 5419.625 seconds.


C:\Program Files\Exchsrvr\BIN>isinteg -s ServerName -fix -test alltests
Databases for server ServerName:
Only databases marked as Offline can be checked

Index  Status       Database-Name
Storage Group Name: First Storage Group
  1    Offline      Mailbox Store (ServerName)
  2    Offline      Public Folder Store (ServerName)
Enter a number to select a database or press Return to exit.
2
You have selected First Storage Group / Public Folder Store (ServerName).
Continue?(Y/N)y
Test Categorization Tables result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test Restriction Tables result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test Search Folder Links result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s);time: 0h:0m:1s
Test Global result: 0 error(s); 0 warning(s); 0 fix(es); 1 row(s); time: 0h:0m:0
Test Delivered To result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test Repl Schedule result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time:0h:0m:0s
Test Timed Events result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test reference table construction result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:46s
Test Folder result: 2 error(s); 4600 warning(s); 0 fix(es); 4607 row(s); time: 0h:5m:37s
Test Deleted Messages result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test Message result: 0 error(s); 0 warning(s); 0 fix(es); 432585 row(s); time: 0h:3m:17s
Test Attachment result: 0 error(s); 0 warning(s); 0 fix(es); 178741 row(s); time: 0h:0m:11s
Test Per-User Read result: 0 error(s); 0 warning(s); 0 fix(es); 7557 row(s); time: 0h:0m:0s
Test Replication result: 0 error(s); 0 warning(s); 0 fix(es); 9008 row(s); time: 0h:0m:1s
Test Message Tombstone result: 0 error(s); 0 warning(s); 0 fix(es); 0 row(s); time: 0h:0m:0s
Test Folder Tombstone result: 0 error(s); 0 warning(s); 0 fix(es); 38 row(s); time: 0h:0m:0s
Now in test  17(reference count verification) of total  17 tests; 100% complete.


---------------------------
Exchange System Manager
---------------------------
Your profile is not configured.

An unexpected, unknown error has occurred.

Microsoft Exchange Server Information Store

ID no: 8004011c-0521-00000000



ID no: c1050000

Exchange System Manager


---------------------------
OK   
---------------------------

Open in new window


Probably it's time to use the old backup.
I guess it depends how valuable the data that you would loose is?

Kernel will extract all the data in a few hours.  The trial will tell you if it will work or not.
Avatar of haldoxp

ASKER

The PF DB was to damaged. It took us (with some external help) 4 nights to return to a backup that was not corrupted (and not aware about the new server), combine it and start the replication between them. In the end it was not about the data itself but about the PF tree and structure. Now  PFs are replicated, services on E2000 are down and hopefully no user complaints tomorrow. Then we will move further.

This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.