DataObject problem - DataConnection - InfoPath Dev
in

InfoPath Dev

DataObject problem - DataConnection

Last post 03-20-2005 11:18 AM by liorlankri. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-20-2005 11:18 AM

    DataObject problem - DataConnection

    I have an InfoPath form that contain FormCode In .Net (CodeForm- in C#).
    The Form project contain Web Reference to a WebService(.asmx).
    In the form I have a Drop-Down list that gets it's values from a method in the web service that recive data (string[]) from SQL server- the form contain DataConnection (called "CodeAreaPhone") to this Web Service Method !!!

    I use the InfoPath SDK RegForm command line to create the MSI file and give the form full trust security.

    The form work well when I install it on my machine. But when I install the form on other machine I get this Error:

    Form template: file:///C:\Program%20Files\InfoPath%20Form%20Templates\HouseForm.xsn
    The following DataObject either cannot be created or cannot be initialized: CodeAreaPhone
    The query cannot be run for the following DataObject: CodeAreaPhone
    InfoPath cannot run the specified query.
    InfoPath either cannot connect to the data source or the service has timed out.

    What is the problem? Is it somthing with my web reference (Web service)? I gave full trust security so what's wrong?
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.