Word to XML : Object reference not set to an instance of an object

Word to XML Mapping

You are working with Word. You are mapping a field to XML and you end up getting this error

Object reference not set to an instance of an object

Cure

The error can result if the field that you mapping to is underlined. Simply select the richedit text box (that you place from developer menu in Microsoft office 2007). Bring the cursor inside and remove any character that is there. Just leave the mapping only. Hopefully this issue will be resolved.

I had to go a long way to figure this out. I thought I would share.

Advertisements
This entry was posted in Troubeleshoot. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s