Access denied tryiny to connect to a web service with InfoPath

G

ggantzer

I have createda web service and an InfoPath template to access the web
service. When I try to access the web service using the InfoPath client I get
access denied. THe web service works properly using the Browser and testing
with Visual Studio.

(The query cannot be run for the following DataObject: Main query
InfoPath cannot run the specified query.
Access is denied.)
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

This is because of a security setting in Internet Explorer which prevents
submitting of forms to a different URL domain and InfoPath 2003 considers
this setting as well. This may happen for example if you have the share point
library with published InfoPath document on one computer and the web service
on another, which is a common development scenario.

You can change this setting under Interent Options/Your Zone/Custom
Settings/Miscellaneous/Access data sources across domains).
 

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