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.
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.
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.
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:
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.
"Scott L. Heim [MSFT]" wrote:
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.