Infopath and DataConnection Library

B

Bij12

I have created Infopath with data Connection as web service called
"userprofileservic" to ger user profile from Active directory to infopath
form.

I have converted DataConncetion to UDC file. But can not check in and
approve. (??)
give me error during check in ( I discard check out and approved)

It works fine before publishing to SharePoint site but not in after
publishing to SharePoint site.

I get error called "Error occured accessing a data source"

This is log file:
Type: DataAdapterException, Exception Message: The UDC file contains
errors: Root element is missing.)

How can i solve of this problem?

Regards
Bijaya
 
B

Ben Walters

Hey Bijaya,
I've had this issue before, InfoPath will only be able to access Approved
data connections, but I've found that when InfoPath pushes the data
connection to the data connection to the library you are unable to check it
in an approve it.
the work around I've found for this is to open the menu for the data
connection file and select "Send To>Download a copy" with a copy of the
UDCX saved locally on your machine delete the original from the data
connection library.

Now upload and check in the file you downloaded locally and you should find
it checks in successfully

Hope this helps

Cheers
Ben Walters
 
B

Bij12

Ben thank you
you saved my day.

Bij12

Ben Walters said:
Hey Bijaya,
I've had this issue before, InfoPath will only be able to access Approved
data connections, but I've found that when InfoPath pushes the data
connection to the data connection to the library you are unable to check it
in an approve it.
the work around I've found for this is to open the menu for the data
connection file and select "Send To>Download a copy" with a copy of the
UDCX saved locally on your machine delete the original from the data
connection library.

Now upload and check in the file you downloaded locally and you should find
it checks in successfully

Hope this helps

Cheers
Ben Walters
 

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