Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cannot find DataObject

322 views
Skip to first unread message

Ger

unread,
Aug 20, 2005, 8:03:03 AM8/20/05
to
Hi all,

Sometimes I got the next error: "The call of XDocument.GetDom has failed.
The DataObject <xxxxxxxx> doesnot exist" or "Cannot create or initialize the
DataObject <yyyyyy>"

In this cases I have trouble to "find" where the DataObject resides or from
where the call is coming. How do I find out where to correct ?

Ger.

Scott L. Heim [MSFT]

unread,
Aug 22, 2005, 8:21:07 AM8/22/05
to
Hi Ger,

This could be in your code or in a Rule or Filter. This appears to be a
reference to a secondary data source so if you have added a filter or rule
that points to a field from the secondary data source this could be where
the error is coming from.

I hope this helps!

Best regards,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Ger

unread,
Aug 22, 2005, 8:45:25 AM8/22/05
to
Thanks Scott for answering,

I understand what you are telling me, but how can I find this specific
"rule" or "filter" on an easy way. For instance, I have a 30 rules under
Tools, FormOptions, Open & Save, Rules and on the form I have about 25
controles with each 5 - 10 rules, validations, filters and so on.
You understand what I mean: I am looking for an easy method where an error
(like mentioned) leads me to the causing rules, filter, validation, because
now I have to search for it and that takes a long time (when I find it !)

May be I am wrong, but it seems to me that I got such errors in the past
concerning data-connections which I had deleted ???

Suggestions would be helpfull.

Regards, Ger.

Ger

unread,
Aug 22, 2005, 11:23:10 AM8/22/05
to
Scott,

For example I just got this error :" InfoPath A call of XDocument.GetDOM
failed. The DataObject Ophalen SharePoint ID doesnot exists.

Error occurred during a call to property or method 'GetDOM'."

I had just before deleted the Data Connection "Ophalen SharePoint ID" and
saved the template.

So: where does this error come from ? Not from a dataconnection, because
that was deleted. Any idea ?

Ger.

"Scott L. Heim [MSFT]" wrote:

Scott L. Heim [MSFT]

unread,
Aug 22, 2005, 12:27:47 PM8/22/05
to
Hi Ger,

If the error is from a Rule/Filter (and it probably is) then you can
extract the Form files to a folder, open the Manifest.XSF file in Notepad
and search for the name of that data connection.

** NOTE: Please be sure you have a valid backup copy before modifying the
Manifest file!

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Ger

unread,
Aug 22, 2005, 3:05:15 PM8/22/05
to
That's it ! Thanks so much,

Ger.

"Scott L. Heim [MSFT]" wrote:

Scott L. Heim [MSFT]

unread,
Aug 22, 2005, 3:26:25 PM8/22/05
to
Hi Ger,

Glad to be of help! :-)

Take care,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.

0 new messages