Error opening an Infopath form

  • 16 March 2009
  • 2 replies
  • 4 views

Badge +1

I am getting the following error when opening an Infopath form to begin my workflow process:


Some rules were not applied.


 (text in details)


The query cannot be run for the following DataObject: Departments_76656eb5_0b0e_45ff_b55b_de374176d51e_GetList
InfoPath cannot run the specified query.
The SOAP response indicates that an error occurred on the server:


Server was unable to process request. ---> D:Program FilesK2 blackpointHost ServerBinHostedServersSourceCode.SmartObjects.Runtime.dll


The following is the error shown in the server console window:


Info    1020 Starting Session 4E4FACD444C27A87B8FF34125C707B8C
Info    3000 Authenticating domainaccount for session 4E4FACD444C27A87B8FF34125
C707B8C using K2 - NTLM
Info    10514 Name: 'SourceCode.SmartObjects.Runtime' Version: '4.8242.1.0'  Dat
e: '8/29/2008 3:11:58 PM'
Error   2025 Error Marshalling SourceCode.SmartObjects.Runtime.SmartObjectClient
Server.GetServerInfo, D:Program FilesK2 blackpointHost ServerBinHostedServe
rsSourceCode.SmartObjects.Runtime.dll
Error   2025 Error Marshalling SourceCode.SmartObjects.Runtime.SmartObjectClient
Server.GetServerInfo, D:Program FilesK2 blackpointHost ServerBinHostedServe
rsSourceCode.SmartObjects.Runtime.dll
Error   8060 ProcessPacket Error, D:Program FilesK2 blackpointHost ServerBin
HostedServersSourceCode.SmartObjects.Runtime.dll
Info    1025 Ending Session 4E4FACD444C27A87B8FF34125C707B8C


However, when opening the form with a domain admin account, the same account I used to create the project, the form opens fine and I see the following on the server console:


Info    24401 Authenticated K2:domainadminaccount at 10.189.2.118:288 using NTLM
Info    24401 Authenticated K2:domainadminaccount at 10.189.2.118:289 using NTLM
Info    1020 Starting Session 17B6ABD53DA7D533DD6812A77E899D4D
Info    3000 Authenticating domainadminaccount for session 17B6ABD53DA7D533DD6812A77
E899D4D using K2 - NTLM
Info    10514 Name: 'SourceCode.SmartObjects.Runtime' Version: '4.8242.1.0'  Dat
e: '8/29/2008 3:11:58 PM'
Info    10530 Executing Method: '12:18:58 GetSmartObject(Guid guid)' ...
Info    10531 Completed Method: '12:18:58 GetSmartObject(Guid guid)'
Info    10530 Executing Method: '12:18:58 Byte[] ExecuteInstance(Byte[], Boolean
, System.Data.DataTable)' ...
Info    10531 Completed Method: '12:18:59 Byte[] ExecuteInstance(Byte[], Boolean
, System.Data.DataTable)'
Info    10530 Executing Method: '12:18:59 Byte[] ReturnResults(Int32) Records le
ft: 69' ...
Info    10531 Completed Method: '12:18:59 Byte[] ReturnResults(Int32)'
Info    1025 Ending Session 17B6ABD53DA7D533DD6812A77E899D4D


This appears to be some type of permissions error when the form is trying to read the list of departments, which is in a dropdown box, but I am not able to track it down.  The department list is a smartlist integrated SharePoint list.  This list is readily viewable using the non-admin account.


Your help is greatly appreciated.


2 replies

Badge +8

Hi Neil,


Here is something to try.  Give the "Authenticated Users" group read and execute permissions to the D:Program FilesK2 blackpointHost ServerBinHostedServers directory.


I hope that helps.


-Eric


 

Badge +1

Eric, your post led me to find the root of the problem.  Somehow, the permissions for the local Users group had not been added to the d:Program Files folder.  Therefore, those permissions were not flowing down to the directory you mention in your post.  I found this by comparing the permissions on d:program files to c:program files after reading your post.  I added the Read and Execute permissions to that local group and the problem is solved.


 Thanks for your insight.

Reply