Searching...
Monday 30 June 2014
6/30/2014 01:26:00 am 0

How to solve Lotus Notes error “Field is too large (32K)”?

IBM Lotus Notes offers various tools and features that help you manage the email communication. It provides document that contains fields which stores the information. Such as: Field Name stores the name of the field, Data Length stores the size of the data in the field in bytes. You can create a Notes document using any of the two methods: either by Manual method or using an agent to create a document.
 
Manual method includes using the user interface e.g.  The Notes menu File > Save.  The programming method included creation of Notes document by using Functions or the Lotus Script Save method
 
You can use the NotesUIDocument class or Notes Document class to programmatically save your notes document. 
 
While creating and saving Notes documents, if the process isn’t accomplished successfully then, various error messages are shown to the user. One such error is: “Field is too large (32K)”.  

NotesDocument & NotesUIDocument class:

•    Notes Document class: 

The Notes Document class represents a document in a database.

NotesUIDocument is a "front end" object & NotesDocument is a "back end" document that is returned by the NotesUIDocument.Document property.

Front object refers to the object that is visible in the user interface or user screen. Backend refers to the object stored on the disk.

CreateDocument method of NotesDocument class:

The CreateDocument method is used to create a new document in the database. It returns the NotesDocument object that represents the new document. You must call the Save (True, True) method , in order to save the new document to disk.

If you are using OLE then the CreateDocument method can be used to create a NotesDocument object without using New.

Set notesDocument = notesDatabase.CreateDocument

The CreateDocument method returns the NotesDocument object that is the newly-created document

•    NotesUIdocument class:

Using this class you can merge up the form and document in the user interface. It handles the NotesDocument object by getting a corresponding handler.
The class contains various properties for handling the front end document updates or status of the user interface, document edit mode cursor location..

AutoReload property: This property value is set to true so that if there is any change in the back end document, it could be automatically updated to the front end document.

Current field property: This property returns the field name that is in focus when the document is in edit mode.

Document property: It represents a document corresponding to the backend document. The return value of the above property is NotesDocument object.

The NotesUIdocument class contains various methods for LotusScript programming. The common among them are: FieldGetText, FieldSetText,Close, OpenNavigator, OpenView etc.

Lotus Notes error “Field is too large (32K)”:

Whenever you enable a summary flag for any document field, corresponding summary information is created. This information is used for showing field values in views, folders or search results. If you don’t want to display any document field then simply disable the Summary flag.
 
In Lotus Notes the summary data size limit is 32K and the entire document size limit is 64K. Whenever the summary data or the document increases the predefined size limits errors will be has grown beyond the defined size limit then the following error will occur:


Once the above error occurs, the document will turn inaccessible. It will not be opened anyway (neither by double click nor by data code) and the property box information will also turn inaccessible. You can only see the Document Info property tab.

The error can occur in following scenarios:

•    Error while creating and saving Notes document:
•    While using the programmatic method for Notes creation user can have to face the below error:
"Field is too large (32k) or View's column & selection formulas are too large"
•    While using the LotusScript agent, the following error can be prompted on the screen:
"Notes error: Field is too large (32k) or View's column & selection formulas are too large"
•    While using the user interface the following error may be prompted to screen:
"Only plain text can be used in this type of field"

"Document has invalid structure"

Cause:

There is predefined size limit of Summary data for the document and the fields in the document. If the document or any field in the document exceeds this predefined size limit then the above errors can occur.

For Notes/Domino 6.x:

•    The maximum size  limit for Summary field per document  is:6 4k
•    The maximum size  limit for Summary field per document  field is: 32K

The document fields are set as summary field by default. Howe ever this limit can be changed by using the NotesItem.IsSummary property
The value of IsSummary flag can be either set to false or true.
If for a notes item the value of this flag is set to true that means it contains summary data. Otherwise if it’s false then it contains non-summary data.

Syntax
To get: flag = notesItem.IsSummary
To set: notesItem.IsSummary = flag

Resolution: The affected documents are still readable in views* as long as the field that exceeded the 32K limit is not being displayed in any of the columns.

After the above error occurs you can see document in view but you can’t access it. In such situation the Compact and Fixup tasks cannot resolve the issue. Sometimes creating a new replica will help you deal with the error but the affected documents cannot be copied.

Create a new view that lists summarized items. From there you can export the data from the view but the Non-summarized fields (like Rich Text) which can’t be displayed in views.

•    If the errors are occurring due to limit exceed by particular document field, then try out the following fix. The fields that are causing problems should be excluded from views. For such items which exceeded the document limit, set the NotesItem.IsSummary property to False.
•    The documents items that are more than 15k in size should be flagged as non-summary items. This includes all items that are edited by a user by using the NotesDocument.ComputeWithForm method.
•    The size of rich text field can be adjusted according to your needs. So, if you have large content then it’s better to put it in a Rich Text field instead of a Text field.
You can use the ComputeWithForm method or the IsSummary propertyto update old documents to correspond with the form
•    It’s recommended to display smaller amount of data in the view. For unusable fields in views it’s better to either remove some of the text or put it in a separate a non summary field.
•    I f you using memos then remember not to make it too large, your recipient list should be small. You can split a single memo into multiple memos then send it. Or you can create a group and send the memo to the group instead of mutiple individual addresses.
•    The size of the whole document, document items and the summary data must be kept as smaller as possible. The content displayed in view must be smaller, for that you can break a large document into multiple documents then display them.
Wednesday 25 June 2014
6/25/2014 03:33:00 am 0

How to manage storage groups in Exchange 2007?

Exchange server database (EDB) contains all the information associated with user mailboxes and public folders. It also stores data, data definitions, indexes, checksums, and flags. The versions of Exchange prior to 2007, stores the user mailbox data in two files i.e. .STM and .EDB. The current versions of Exchange are based on Extensible Storage Engine (ESE) technology and don’t contain .stm database files.

What is an Exchange storage group?

The Exchange information store contains storage groups, data stores, and databases. A storage group contains mailbox stores, stores/databases transaction logs and public folder store (that contains public folder information), the mailbox stores contain mailboxes. Exchange data stores are of two types: mailbox stores and public folder. The mailbox store contains the server's mailboxes and the public folder stores server's public folders.


Storage groups are a logical way for grouping databases.  All the databases in a single Storage Group share same set of log files. When the Exchange server is installed there is only one storage group (First Storage Group) within the information store. You can create additional storage groups if required.

In Exchange 2000:
It supports only four stores per storage group and up to 20 stores per server. If you need to create mailbox oradditional stores/public folder store, then you will be required to create an additional storage group for that store. In Exchange 2000 standard,one storage group contains one mailbox store and one public folder store.However,the Enterprise versions can have around twenty stores per server containing four storage groups each with up to five stores.

In exchange 2003: Use of single group mechanism reduces the disk performance, so it’s better to create multiple storage groups that can enhance the speed of backup/restore process.

It’s a usual practice in organizations to use additional mailbox stores in which those user mailboxes can be placed on which you want apply different rules or permissions.

In Exchange 2003 Standard, you can have One storage group with one mailbox store and one public folder store and Exchange 2003 Enterprise versions can have around twenty stores per server containing Recovery Storage Group and four storage groups each with up to five stores

In exchange 2007: In exchange 2007 standard, there can be 25 stores per server containing 5 storage groups each with up to five stores. While the Enterprise version can have 50 stores per storage group and can have up to 50 storage groups.

2003 Std P2003 Ent 2007 Std 2007 Ent
Storage groups 1 4 5 50
Stores per group 2 5 5 50
Database Limit 75 GB 16 TB 16 TB 16 TB

Storage group management in Exchange 2007:

As discussed above, having a single storage group can reduce the disk performance and multiple storage groups enhance the speed of backup/restore processes.

Pros of using multiple storage groups in Exchange:

•    If you are using multiple storage groups, then the size of stores will be smaller that increases the speed of backup and restore procedure and thus makes the management easier for user.
•    If it’s required to take one store offline, then it can be done easily without hampering other users. Only the users in the same storage group will be affected.
•    You can set desired rules, policies and permissions for different storage groups
•    If a single store contains multiple storage groups, then it will enhance the disk performance.
•    Configuring multiple Storage Groups on the server is a better choice instead of having lots of small Exchange 2007 servers

How to manage Exchange storage group and stores?

Exchange Server 2007 provides a feature ‘Continuous Replication (LCR)’ for storage group management.  This feature let you have only one database in each store. In Exchange 2007, you can apply the Journal Recipient feature. Just create a special account, and then connect this Journal Recipient and the mailbox store to this Journal Recipient. Each mailbox message will be automatically copied by the Exchange.

Exchange Storage group management may include the following operations:

1.    New storage group creation
2.    Storage group configuration
3.    Storage group removal
4.    and moving a storage group path

1. New storage group creation:

Before beginning the process,you must set proper permissions, delegations roles and rights. Your exchange server account must be delegated for Administrator role and local Administrators group for the target server.  

Follow the given steps to create a new storage group:

•    Start the Exchange Management Console.
•    Go to the option ‘Server Configuration’.
•    Select the desired Mailbox server where the new storage group is to be created.
•    Go to 'Action pane'> New Storage Group. Give a name to the new storage group
•    Select the desired option and continue.
•    Click finish once the process completes.

You can also use the Exchange Management Shell with New-StorageGroup cmdlet to create a new storage group.

2. Storage group configuration:

For an efficient mailbox size management, you need to configure the mailbox size limits. You can also configure other storage settings by using the below procedure. After you are done with the configuration procedure, restart the Information Store service or the exchange server.  

Follow the given steps to configure a storage group:

•    Open Exchange Management Console.
•    Go to Server Configuration> Mailbox
•    Select the desired storage group and right click to open properties
•    Choose to configure the storage group settings according to your needs.

You can also use the Exchange Management Shell with Set-StorageGroup cmdlet to configure storage group settings.

3. Storage group removal: You can easily remove an existing storage group by using the Exchange Management Console or Exchange Management Shell cmdlets.

Follow the steps given below to remove a storage group:

•    Open Exchange Management Console.
•    Go to Server Configuration> Mailbox
•    Select the desired storage group and right click to open properties
•    Click Remove
You can also use the Exchange Management Shell with Remove-StorageGroup cmdlet to remove the storage group.

4. Moving a Storage Group Path:

Follow the given steps to move a storage group path:

•    Open Exchange Management Console.
•    Go to Server Configuration -> Mailbox  node
•    Right click the storage group system and log files
•    Click Move Storage Group Path

You can also use the Exchange Management Shell with the Move-StorageGroupPath cmdlet to move the storage group path.

The above discussed are the basic operations performed to manage the Exchange storage groups. Read my next article,to get a deeper insight about storage group management process and the Exchange Management Shell cmdlets for storage group management
Monday 23 June 2014
6/23/2014 09:03:00 pm 0

How to restore Exchange mailbox from a corrupt BKF file?

Exchange server stores all the user mailbox data (mail items, including emails, contacts etc.) in edb database. It is always recommended to take regular backups of the exchange data so that if the exchange database gets corrupt or damaged due to any reason, you can restore the data back from exchange backup.

Exchange data backup can be taken with the help of in built backup utility (NTBackup.exe). The newer versions of exchange don’t support NTBackup utility. Thus, Microsoft backup application and third party tools are required to take database backup of current Exchange versions.

Exchange BKF file is stored with .bkf extension and includes .edb, .stm, and .log files of MS Exchange server.  


EDB file: It contains the Exchange mailbox items such as: emails, contacts, attachments, Notes, Calendar Entries, sent items etc. It also stores the metadata related to emails and, the internal schema for the .stm pages.
.stm file: It is also known as a streaming media file. It contains the native Internet content and MIME format data. 
Log files: These transaction log files contain all the information related to Exchange transactions or other activities performed on the Exchange database.

Like other files the Exchange BKF files can also get corrupt.

Some common reasons for Exchange corruption are:

  • Interrupted Backup process can cause BKF file corruption.
  • Malware/virus attack
  • If the Exchange BKF file header gets corrupt/ missing then, this can make it inaccessible.
  • Sudden system shutdown
  • Hardware crash
  • Unrecognized Media files
  • Improper system handling
  • Cyclic redundancy check errors or errors within the database objects etc.

Follow the given steps to restore Exchange mailbox from a corrupt BKF file?

  • Start the Exchange information store service (IIS). Check that if it has been running or not by simply: clicking-right on My Computer. Then go to Manage - >Services and Applications ->Services. You will find the Microsoft Exchange Information Store (IIS) listed under ‘Services’. Right click it and select start.
  • Dismount the mailbox store that is to be restored from backup. To do so, go to Exchange System Manager -> Administrative First Storage Group. From there, select the desired mailbox store and click Dismount Store.
  • Right click the Exchange database and open its Properties.
  • Go to Database tab and select the option “This database can be overwritten by a restore”.
  • Go to Start -> Programs ->Accessories -> System Tools -> and then select Backup.
  • Start the backup Restore Wizard. Go to advanced ->Tools tab -> Restore Wizard. Then click Next to run the Wizard.
  • This will open a ‘What to restore’ screen where you can choose your backup file that has been restored. In the ‘What to restore screen’ select your corrupt backup file.
  • Choose the mailbox store and log files to be restored and click Next.
  • Next you will be prompted to choose the location where the files have to be restored.
  • Under the ‘Restore To’ option, select your server name.
  • Select a temporary location for log and patch files and click Next.
  • Open the Exchange System Manager and mount the mail store. If the process couldn’t be accomplished successfully, then probably an error message will be prompted to the screen and thus the mail store couldn’t be mounted.
Suppose you have lost access to your Exchange database due to system crash/corruption or any other reason and you are left with an Exchange backup file only. Then simply you would restore the data back from the backup files. But what if the exchange back up file gets corrupt and couldn’t be mounted?
In such situation, you need to repair the file using some powerful Exchange BKF repair method. The Exchange BKF Recovery software are capable of efficiently repairing  and recovering items from the corrupt BKF file and thus provides you access to mailboxes, storage groups, public folders, and other BKF file items that were turned unusable/inaccessible due to corruption.                         

Most prominent features of an Exchange BKF Recovery software:

  • Fast and reliable Exchange bkf recovery: It let you repair the corrupt/damaged Exchange BKF file and retrieve all EDB, STM, and LOG files contained within it.
  • It let you search and find the Exchange Backup Files from specified location or volume.
  • Saves Scan Information: This feature makes the ‘Exchange backup recovery process’ more flexible and user friendly. The BKF file scan information is saved in a separate text file. If required, these saved Scan logs can be used to perform BKF recovery in future at any desired time.
  • Generates log report of the entire repair process: This feature let you save entire history &information related to the Exchange repair process and activities performed by the application. The information is stored in a text file format at the location specified by the user.
  • It let you efficiently repair the BKF files of any size. You can easily repair the large BKF files and retrieve all EDB, STM, and LOG files from it, in few clicks without any hindrance.
  • It let you save the repaired file at any desired location of your choice.
  • Easy to use and self guiding user interface that let you perform the repair process without any hassle.
  • It let you preview the repaired data before saving it.
  • Data integrity is maintained. The mail box items formatting, metadata and other related information is kept preserved.
  • These software Support the backup files from various Exchange versions. They must provide wide compatibility for various operating systems, Outlook & Exchange versions.
So, if you need to purchase an Exchange BKF Recovery software, then firstly have a through look at the product page. Carefully check the features of the software, company trustworthiness, help manuals, technical support, money back policies or other additional services provided by the company. 
You must also check the software system requirements, specifications, support &compatibility. It would be a wise choice that before investing money at any software, first make a comparative study with the other available software from different software providers.  The best will be the one that fits all your requirements and budget too.
Thursday 19 June 2014
6/19/2014 04:10:00 am 0

Special Offer for Technicians - Save $697 on Exchange Toolkit from Stellar Phoenix

Exchange toolkit:  Special bundle!

Exclusive offer! Save 35% of your money on this significant investment.

The Exchange Toolkit bundle includes: EDB recovery, EDB to PST converter, OST to PST converter, Exchange BKF repair software.


Exchange toolkit incorporates the bunch of EDB recovery, EDB to PST converter, OST to PST converter, Exchange BKF repair software. If all these four software are purchased separately as single entities, then it will cost $1996 but you can avail the combo of these four software ‘Exchange toolkit’ in just $1299.

So, enjoy this striking offer by Stellar Phoenix and save your $697 on purchase of the bundle.

A brief glance at the software in Exchange toolkit:

EDB recovery software: Stellar Phoenix Mailbox Exchange Recovery software let you repair and recover the corrupt Exchange EDB files. You can repair the damaged EDB files and get all recovered mailbox data saved in PST File format. The recovered PST file can be imported to Outlook that facilitates you to access and work with the Exchange EDB file data that has turned unusable and inaccessible due to Exchange corruption. The software also offers you special feature to restore the accidentally or intentionally deleted user mailboxes from the EDB database.

EDB to PST converter: Stellar Phoenix EDB to PST Converter is a proficient and full featured tool for converting offline/online EDB files to PST format.  The software can deal with Exchange files of MS Exchange 2010, 2007, 2003, 2000 and 5.5 versions and extract all your important emails, contacts, attachments, sent items etc. to PST files. In the online conversion mode, you have the option for converting the EDB files to PST/EML/MSG format.  In offline mode, the conversion of PUB.EDB files is also supported by the tool.

OST to PST converter: Stellar OST to PST Converter let you perform an efficient OST to PST conversion. The software let you extract the OST file data i.e. emails, contacts, notes, calendar entries, and journals and save it to PST format. The software also provides you the option to save the converted mail messages as MSG, EML, RTF, HTML, and PDF formats.

Exchange BKF repair software: Stellar Phoenix Exchange BKF Recovery software is a great tool to restore lost or inaccessible Exchange BKF data. It let you perform an efficient and risk free recovery of the EDB, STM, and LOG files from damaged/corrupt Exchange backup files of any size. Exchange Server 2007 and 2003 versions are supported by the software.

So what are you waiting for, go and grab this special discount offer !

More Info about the bundle is available at: http://www.stellarinfo.com/bundles/bundle.php

You can also contact the Stellar’s sales team, at: onlinesales@stellarinfo.com or support@stellarinfo.com
Friday 13 June 2014
6/13/2014 03:23:00 am 0

How to Fix Exchange Server Error Message "ERR -1811 -1018"

When Exchange Server returns a cryptic numerical error message, do you know what to do? In this article, I’m going to explain a three-tier approach to deciphering and troubleshooting Exchange error codes.
Thursday 12 June 2014
6/12/2014 03:13:00 am 0

How to Deal With the Issues When Migrating From Exchange 2007 to Exchange 2010

You may run into a few problems when migrating from Exchange 2007 to Exchange Server 2010, specifically when dealing with the edge transport server during coexistence. Here's how to deal with that issue and other error messages.