Corrupt, or Disappearing Netscape 7 / Mozilla Address Book

If the Address Book is corrupt for any reason, or disappears due to a crash, the following procedures should allow you to retrieve the Address Book data:

With Netscape/Mozilla, and Quick Launch closed:
Backup the Address Book file: abook.mab

Next: open the Address Book using Notepad
Look for any obvious signs of corruption, such as long lines, blank spaces or binary garbage like this: 0OZΎPsTG{A` oO͑ZHoqm晿
This is most likely to appear at the end of the Address Book file. If found, delete the lines
Click on File | Save, and close the Address Book
Now Open Netscape and the Address Book
Can you now access the Address Book?
Credits to:
hb, secnews.netscape.com/netscape.netscape7.windows
Denis Mosset, MozillaZine Forum


If no joy, then try the below workaround:

With Netscape/Mozilla closed:
Rename the abook.mab file to Xabook.mab.
The file is is found in:
C:\Windows\Application Data\Mozilla\Profiles\username\xxxxxxxx.slt
Depending on your OS

Open Netscape/Mozilla, and then open the Address Book
Netscape/Mozilla will create a pristine Address Book
Now close Netscape/Mozilla.

With Notepad, open the newly created abook.mab file

The Notepad display will have approximately 25 lines of header information, as listed below:

//
< <(a=c)> // (f=iso-8859-1)
(B8=Custom4)(B9=Notes)(BA=LastModifiedDate)(BB=RecordKey)
(BC=AddrCharSet)(BD=LastRecordKey)(BE=ns:addrbk:db:table:kind:pab)
(BF=ListName)(C0=ListNickName)(C1=ListDescription)
(C2=ListTotalAddresses)(C3=LowercaseListName)
(C4=ns:addrbk:db:table:kind:deleted)
(80=ns:addrbk:db:row:scope:card:all)
(81=ns:addrbk:db:row:scope:list:all)
(82=ns:addrbk:db:row:scope:data:all)(83=FirstName)(84=LastName)
(85=PhoneticFirstName)(86=PhoneticLastName)(87=DisplayName)
(88=NickName)(89=PrimaryEmail)(8A=LowercasePrimaryEmail)
(8B=SecondEmail)(8C=DefaultEmail)(8D=CardType)(8E=PreferMailFormat)
(8F=WorkPhone)(90=HomePhone)(91=FaxNumber)(92=PagerNumber)
(93=CellularNumber)(94=WorkPhoneType)(95=HomePhoneType)
(96=FaxNumberType)(97=PagerNumberType)(98=CellularNumberType)
(99=HomeAddress)(9A=HomeAddress2)(9B=HomeCity)(9C=HomeState)
(9D=HomeZipCode)(9E=HomeCountry)(9F=WorkAddress)(A0=WorkAddress2)
(A1=WorkCity)(A2=WorkState)(A3=WorkZipCode)(A4=WorkCountry)
(A5=JobTitle)(A6=Department)(A7=Company)(A8=_AimScreenName)
(A9=AnniversaryYear)(AA=AnniversaryMonth)(AB=AnniversaryDay)
(AC=SpouseName)(AD=FamilyName)(AE=DefaultAddress)(AF=Category)
(B0=WebPage1)(B1=WebPage2)(B2=BirthYear)(B3=BirthMonth)(B4=BirthDay)
(B5=Custom1)(B6=Custom2)(B7=Custom3)>
<(80=0)>
{1:^80 {(k^BE:c)(s=9)}
[1:^82(^BD=0)]}

Next: delete the data highlighted in RED.
Leave ONE blank line

Open the renamed Address Book: Xabook.mab

The first 25 lines will read as those listed above
At the end of these lines: (B5=Custom1)(B6=Custom2)(B7=Custom3)>
Highlight and copy ALL data from that point to the end of the file

Now paste this data into the NEW abook.mab file, after the one blank line
Click File | Save and exit the NEW abook.mab file

Restart Netscape/Mozilla

Open the new Address Book, and all your addresses should appear in the newly created Address Book.

Ramona
Updated: 02/29/04



Back to Top

Return to Netscape & Mozilla Solutions