简体   繁体   English

sharepoint中的infopath表单无法从SQL查找

[英]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: 如果它以调试模式在您的计算机上运行,​​但在服务器上却没有,我将检查两个设置:

  • Authentication settings as you might be getting a double hop problem . 身份验证设置,可能会遇到双跳问题
  • Security on database, make sure the user has access to the database 数据库的安全性,确保用户有权访问数据库

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从InfoPath表单更新SharePoint列表 - Updating a SharePoint list from an InfoPath form 被授予管理员对Sharepoint站点的完全访问权限后,无法访问Sharepoint上的infopath表单。 我怎样才能解决这个问题? - Can't access infopath form on Sharepoint after being given full administrator access to the Sharepoint site. How can I fix this? 您是否可以通过在infopath中创建并提交给sharepoint的一种表单将不同部分的电子邮件发送给不同的人? - Can you email different sections to different people from one form created in infopath and submitted to sharepoint? 如何从Sharepoint的Web部件中打开InfoPath表单模板? - How can I open an InfoPath form template from a web part in Sharepoint? InfoPath表单如何获取登录到SharePoint的用户的声明? - How can an InfoPath form get the Claims of the user who is logged in to SharePoint? 从SHAREPOINT INFOPATH浏览器启用的表单上的输入字段中获取值 - Grab value from input field on SHAREPOINT INFOPATH browser enabled form SharePoint InfoPath表单回发问题 - SharePoint InfoPath form postback issue 手动将Infopath表单发布到Sharepoint - Publish Infopath Form MANUALLY to Sharepoint 如何在信息路径上为共享点创建表单 - how to create form on infopath for sharepoint 拍摄共享点信息路径表格的快照 - Taking snapshot of sharepoint infopath form
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM