I was able to do it by using the correct username and password.
Thanks
rakesh
Main Topics
Browse All TopicsHi
I have a web service that query the Active directory and gets the list of users for a particular group. I am able to access the web service wile i preview the form. When I publish it and put it on the site it says "error accessing data source".
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
NO I was previewing it on development server and i am admin on tht server so everything worked fine there. but when i published my web service on my application server and user tried accessing it from the web frontend it never worked. so I added the authentication to the web service data connection and added the admin username and password to it and its working very much fine now. :)
The example of the webservice you gave had no indication that you were using some sort of passthrough authentication. It actually states "use explicit". Of course it was assumed you were using an account with access rights as you specified explicit credentials.
Out of interest, when you published the form, which explicit credentials did you provide?
:-)
I was using mine and i am not admin on the servers. But we have one that we use for other purpose and that ID is admin on all the three servers. I never used explicit credentials on the development server as i am admin there. I only used these explicit credentials when i published it on the production server and that resolved my error. :)
Business Accounts
Answer for Membership
by: Robbie_LeggettPosted on 2009-06-22 at 01:17:41ID: 24680495
Hello rakesh16d
t
Do you have multiple front ends? Are they load balanced?
If you have the webservice on one of the front ends, the one which you are testing the form on, then it will preview ok. Once it's published, and if the webservice isn't on all of the front ends, in the same location, then it will fail.
Regards,
Robbie_Legget
:-)