views:

32

answers:

0

Hi everyone,

I have a problem with my infopath form. The context, user of the site mustn't have acces to lists that provision infopath form field. Administrator should have acces to these lists.

When i test the useExplicit property of udc file for impersonate the connection to the list i have no problem ( all my account are local account)

But when i try to integrate user from FBA, infopath form services don't take care of the UseExplicit property and try connect to the list with the credential of the connected user ( who don't have access to the list since only the user that i use to impersonate the connection have read acces).

Here is my UseExplicit property :

 <udc:Authentication>
  <udc:UseExplicit CredentialType="NTLM">
    <udc:UserId>dev\svc-reader</udc:UserId>
    <udc:Password>password</udc:Password>
  </udc:UseExplicit>
</udc:Authentication>

09/06/2010 15:06:50.46                w3wp.exe (0x09BC)                                      0x1A08 SharePoint Foundation                General                                       8e2s      Medium              Unknown SPRequest error occurred. More information: 0x80070005   bc6acdd2-01a6-463a-881c-9e64502b304e  

09/06/2010 15:06:50.46 w3wp.exe (0x09BC) 0x1A08 InfoPath Forms Services Runtime - Data Connections 7tfk Medium Data adapter failed during OnLoad: Le formulaire ne peut pas exécuter la requête spécifiée. La liste est introuvable. bc6acdd2-01a6-463a-881c-9e64502b304e

09/06/2010 15:06:50.46 w3wp.exe (0x09BC) 0x1A08 InfoPath Forms Services Runtime - Data Connections eq8l Warning The following query failed: Missions (User: 0#.f|sqlmember|user fba, Form Name: DmdServ_1036, IP: , Connection Target: http://dev:90/DataConnectionFiles/Missions.udcx, Request: http://dev:90/_layouts/FormServer.aspx?XsnLocation=http://dev:90/FormServerTemplates/DmdServ_1036.xsn&amp;SaveLocation=http://dev:90/DmdServ&amp;Source=http://dev:90/DmdServ/Forms/MesDemandes.aspx&amp;DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:office:infopath:DmdServ-1036:-myXSD-2010-07-26T14-47-06 Type: DataAdapterException, Exception Message: Le formulaire ne peut pas exécuter la requête spécifiée. La liste est introuvable. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))) bc6acdd2-01a6-463a-881c-9e64502b304e

Why infopath form services doesn't impersonate the connection when i use FBA ?