0
votes

I've made a simple form in infopath, that looks up information in SQL server.
Using the design tool, I can fill in the form and submit it. All info from SQL server is being retrieved.
The SQL server is used in many different scenario's and accessible through different means. In the first phase I'm using a read/write account to connect to the database.

When I publish it to sharepoint (2010), I get an error the first time the SQL data is being requested.
I get an error that refers to the windows error logs; but I do not have access to the sharepoint environment.
The sharepoint is installed in the same forest, it should be able to get a connection to our sql server.

are the BCS (business connectivity services) necessary for this kind of action?
are there any other reasons why this could fail?

1

1 Answers

0
votes

If it's working on your machine in debug mode but not on the server I would check two settings:

  • Authentication settings as you might be getting a double hop problem.
  • Security on database, make sure the user has access to the database