Notes Error Document Has Invalid Structure
After Full Text Search Technote (FAQ) Question Calling Save method (of NotesDocument class) after performing a Full Text search in the user interface results in the error: "Document has invalid structure" This problem does not occur with Notes Domino 5.x servers. The issue only occurs with Notes Domino 6.x servers on a UNIX platform. The client release and platform are not relative to the issue. For example the issue can occur if the Notes Client is running a 5.x release on a Windows platform if the database is on a Notes Domino 6.x server on a UNIX platform. To Recreate the Error: 1. Create a database on the server. 2. Create a form in the database. 3. Create an action in the form with the following code: Sub Click(Source As Button) Dim ws As New NotesUIWorkspace Dim uidoc As NotesUIDocument Dim doc As NotesDocument Set uidoc = ws.CurrentDocument Set doc = uidoc.Document doc.test = "test" Call doc.Save(True, False) End Sub 4. Create some documents in the database. 5. Create Full text index in the database. 6. Search the database. 7. Open the document (keyword is highlighted) and push action button created in step 3. 8. The error occurs Answer This issue has been reported to Lotus Quality Engineering and has been addressed in Notes 6.5.3. Excerpt from the Lotus Notes and Domino Release 6.5.3 MR fix list (available at http://www.ibm.com/developerworks/lotus): Full-text search SPR# HTAA5MXD59 - Fixed a problem when calling the save method of NotesDocument class after full text search, causes "Document has invalid structure". The functionality which highlights the text relative to the Full Text search adds items to the document which correspond to the fields the text was found within. These field items appear in the Document Properties as @Highlights_
Training Support Forums & community Events Rational Tivoli WebSphere Java technology Linux Open source SOA and Web services Web development XML My developerWorks About dW Submit content Feedback developerWorks>Lotus>Forums & community>Notes/Domino 4 and 5 Forum Notes/Domino 4 and 5 Forum "Document has invalid structure"Posted by Al Rivera on 5.Mar.98 at 01:25 PM using a Web browserCategory: - Category - Release: Release 4Platform: Why, oh why do I get Error 500HTTP Web Server: Lotus Notes Exception - Document has invalid structure when I try to submit my form? Help would be much appreciated! -Al Rivera AT&T Return to top "Document http://www-01.ibm.com/support/docview.wss?uid=swg21166203 has invalid structure" (Al Rivera 5.Mar.98) . . RE: "Document has invalid structure... (Michael Bourak2... 5.Mar.98) . . . . RE: "Document has invalid structure... (Al Rivera 5.Mar.98) . . . . . . RE: "Document has invalid structure... (L. Jack Wilson 20.Sep.98) . . . . . . . . RE: "Document has invalid structure... (Kevin J Hakanso... 23.Apr.99) . . . . . . . . . . http://www-10.lotus.com/ldd/46dom.nsf/869c7412fe5d56b7852569fa007826e3/07a339513aa3de17852565be00654095?OpenDocument IRIS PEOPLE : "Document has invalid... (Stefaan Somers 28.Mar.00) . . RE: "Document has invalid structure... (Krista Robinson... 25.Oct.99) . . . . RE: "Document has invalid structure... (Krista Robinson... 25.Oct.99) . . . . . . RE: "Document has invalid structure... (Obreten Obreten... 26.Oct.99) . . . . . . . . RE: "Document has invalid structure... (Krista Robinson... 26.Oct.99) Document options Print this page Search this forum Forum views and search Date (threaded) Date (flat) With excerpt Author Category Platform Release Advanced search RSS feeds All forum posts RSSAll main topics RSSMore Lotus RSS feeds Resources Forum use and etiquette Native Notes Access Web site Feedback Lotus Support Lotus Support Product support pages index Search knowledge base (Technotes) Search support downloads Lotus Support RSS Wikis IBM Composite Applications IBM Mashup Center IBM Connections IBM Docs IBM Forms IBM Mobile Connect IBM Sametime IBM SmartCloud for Social Business IBM Web Experience Factory Lotus Domino Lotus Domino Designer Lotus Expeditor Lotus Foundations Lotus iNotes Lotus Instructor Community Courseware Lotus Notes Lotus Notes & Domino Application Development Lotus Notes Traveler Lotus Protector Lotus Quickr Lotus Symphony IBM Web Content Manager WebSphere Portal Lotus Forums Notes/Domino 9.0 Notes/Domino 8.5 + Traveler Notes/Domino XPages development forum Notes/Domino 8 Notes/Domino 6 a
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time https://www.experts-exchange.com/questions/21403269/Notes-error-Document-has-invalid-structure.html Help Create a Freelance Project Hire for a Full Time Job Ways http://archive.midrange.com/domino400/200010/msg00005.html to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Notes error: Document has invalid structure Want to Advertise Here? Solved Notes error: Document has invalid structure notes error Posted on 2005-04-26 Lotus IBM 3 Verified Solutions 3 Comments 1,918 Views Last Modified: 2013-12-18 Hi Experts, I'm getting this error when I do the following. 1. I click the 'Search this view' under view and type in the search string. 2. In the result I get, If I open any document and try to save it I notes error document get the message "Notes error: Document has invalid structure" But the new changes are saved. 3. But If i go manually in the same document in the view without using the search and save it, It works fine. Please advise. thanks Chakrika 0 Question by:chakrika Facebook Twitter LinkedIn Google LVL 3 Best Solution bysravikiran CHeck this out... http://www-1.ibm.com/support/docview.wss?rs=899&context=SWD00&context=SWC00&context=SSKTK9&context=SSKTL5&context=SSKTM2&context=SSKTMJ&context=SSKTPA&context=SS5LUA&context=SSMT72&context=SSKTTW&context=SSKTWB&context=SSKTWP&context=SSKTYF&context=SSYSVG&context=SSKTZF&context=SS6PC5&context=SS6JT7&context=SSLJ3H&context=SSZHFR&context=SS6JUL&context=SSFLMV&context=SSYJJC&dc=DB510&dc=DB520&dc=D800&dc=D900&dc=DA900&dc=DA800&dc=DB530&dc=DA600&dc=DB550&dc=D100&dc=D600&dc=D700&dc=DA500&dc=D200&dc=DA430&dc=DA440&dc=DA410&dc=DA450&dc=DA420&dc=DA460&dc=DB300&dc=DA470&dc=DA480&dc=DB100&dc=DA4A10&dc=DA4A20&dc=DA700&dc=DA4A30&q1=1166203&uid=swg21166203&loc=en_US&cs=UTF-8&lang=en Go to Solution 3 Comments LVL 14 Overall: Level 14 Lotus IBM 13 Message Assisted Solution by:p_partha2005-04-26 Try running fix up and also compact the database. - Partha 0 LVL 31 Overall: Level 31 Lotus IBM 30 Message Assisted Solution by:qwaletee2005-04-26 Drop your full text index and recreate it. The problem is that when yuo do full text searching in the client, it caches pointers to where in the document it found the text, and when your client opens one, it merges that information with the document, as if the data was stored in the document. If there is a problem with the index, this merg
Subject: Re: Document has invalid structure V4R5 AS/400 - Domino 5.0.4a - DECS toDB2 From: rob@xxxxxxxxx Date: Wed, 4 Oct 2000 16:59:07 -0500 I went to http://notes.net and searched on 'Document has invalid structure'. I got numerous hits. Some of them pointed to changing a document field type and then when you resave a document it crashes with this error. Others pointed to some bug in which you have to convert a numeric to string to numeric or something. Also, there are 5 technotes in my edition of Knowledge Base pointing to that same error. Then I went to the Lotus Support site at: http://support.lotus.com/lshome.nsf and searched here and found 9 hits on your error message. Happy hunting! Fred Newberry