Y
Yann Gibaja
I created a template that retrieves data via a web service. It works OK in
design mode when I preview the form for the first time. Then if I preview
the form again, Infopath crashes and closes just when it tries to access the
web service using the following code:
thisXDocument.DataObjects["GetData"].Query();
where GetData is the name of the data connection that uses a web service.
The same thing happens if I check out the box "Automatically retrieves data
when the form is opened".
I publish the template, made it fully trusted. And the same thing happens
when I create a new form with the Infopath template.
Any idea? I have spent so much time researching this problem and I'm running
out of time.
I'm using Infopath SP1 and VS 2003 with C#.
Thanks in advance for your help,
Yann
design mode when I preview the form for the first time. Then if I preview
the form again, Infopath crashes and closes just when it tries to access the
web service using the following code:
thisXDocument.DataObjects["GetData"].Query();
where GetData is the name of the data connection that uses a web service.
The same thing happens if I check out the box "Automatically retrieves data
when the form is opened".
I publish the template, made it fully trusted. And the same thing happens
when I create a new form with the Infopath template.
Any idea? I have spent so much time researching this problem and I'm running
out of time.
I'm using Infopath SP1 and VS 2003 with C#.
Thanks in advance for your help,
Yann