[英]infopath form in sharepoint can't lookup from SQL
I've made a simple form in infopath, that looks up information in SQL server. 我在infopath中做了一个简单的表单,该表单在SQL Server中查找信息。
Using the design tool, I can fill in the form and submit it. 使用设计工具,我可以填写表格并提交。 All info from SQL server is being retrieved. 正在检索来自SQL Server的所有信息。
The SQL server is used in many different scenario's and accessible through different means. SQL Server用于许多不同的场景中,并且可以通过不同的方式进行访问。 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. 当我将其发布到sharepoint(2010)时,第一次请求SQL数据时出现错误。
I get an error that refers to the windows error logs; 我得到一个错误,该错误指向Windows错误日志; 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. 共享点安装在同一林中,它应该能够连接到我们的sql服务器。
are the BCS (business connectivity services) necessary for this kind of action? 这种操作是否需要BCS(业务连接服务)?
are there any other reasons why this could fail? 还有其他原因导致失败吗?
If it's working on your machine in debug mode but not on the server I would check two settings: 如果它以调试模式在您的计算机上运行,但在服务器上却没有,我将检查两个设置:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.