Cannot find DataObject

G

Ger

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.
 
S

Scott L. Heim [MSFT]

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.
 
G

Ger

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.
 
G

Ger

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.
 
S

Scott L. Heim [MSFT]

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.
 
S

Scott L. Heim [MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top