using browser based form using load balancer and web services

M

mrstrong

Gday,

I am fairly new to sharepoint dev but have been delegated this problem
with a form that someone else has mostly completed.

Essentially we have two nodes in a farm (call them:
sharepointnode1.com, sharepointnode2.com) that host our sharepoint
environment (including forms services) and these are accessed via a
loadbalancer with an alias that references these nodes (call it:
mysharepointsite.com).

This form can be published fine to either of the nodes, and also runs
fine when access directly from one of these nodes. However when
accessed from the front end load balancer site (mysharepointsite.com)
it pauses for about 15 seconds with a message "Loading Form..." but
then fails and returns this error message:

------------------------------------
There has been an error while processing the form.
Click Continue to resume filling out the form. You may want to check
your form data for errors.
Click Start Over to load a new copy of the form.

An error occurred accessing a data source.

An entry has been added to the Windows event log of the server.
Log ID:5566
An error occurred accessing a data source.

An entry has been added to the Windows event log of the server.
Log ID:5566
An entry has been added to the Windows event log of the server.
Log ID:5337
------------------------------------

Our administrator says the logs just display a timeout error.

When this form opens it attempts to contact a web service to load
values into a dropdown. I am not entirely sure but I suspect this web
service is hosted on the nodes - as when the form is accessed directly
from there it loads fine. I am sure there is some permissions issue
accessing the web service from the front end load balancer which would
have a different domain reference to the web service in the request,
and possibly the request to the web service may have lost the user's
credentials...

We have enabled "Cross-Domain Access for User Form Templates" in CA,
and activated "Office Sharepoint Server Enterprise Site features" at
both the site and site collection level.

Has anyone been through this experience before that could help shed
some light?!?!

It's getting frustrating.

Thanks!

Peter
 
P

Praveen

Hello Peter,

You will need to get more details from the administrator of the exact error
message being logged.

Is the webservice deployed on both the nodes (or just one node)? You can try
enabling anonymous access to the web service and retry. If this works, then
you most probably are running into the multi hop authentication issue.

You want to look at using SSO to connect to the web service.
http://msdn.microsoft.com/en-us/library/bb787184.aspx

Thanks,
Praveen
 

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