Hi,
I have an infopath in which i am using repeating Table, I fetched the data from infopath from Repeating table using Code and inserting values in the Sharepoint List. FBA is enabled for the site where i have used the infopath. When i try using to Run the Code from VS i am able to insert the values in the Sharepoint List. but when i publish the form using administrative approved infopath and then use that form i get the Error 5337
I have used similar procedure for submitting the values.
http://www.bizsupportonline.net/infopath2007/how-to-submit-items-rows-repeating-table-infopath-sharepoint-list.
Below is the Logs:
High [Forced due to logging gap, cached @ 06/27/2014 10:42:29.88, Original Level: Verbose] SQL connection time: 0.1255 a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.89 w3wp.exe (0x6594) 0x4668 SharePoint Foundation General g3ql High [Forced due to logging gap, Original Level: Verbose] GetUriScheme(http://domain:1111/Sheet Lib/File.xml) a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91 w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High UserAgent not available, file operations may not be optimized. at Microsoft.SharePoint.SPFileStreamManager.get_UserAgent() at Microsoft.SharePoint.SPFileStreamManager.CreateOutputLockBytes(Int64 cbContentHint) at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int64 cbFile, Object punkSPFileMgr, Object punkFFM, Int64 PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, SPFileSaveParams sfsp, SPFileInfo& pFileProps... a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91* w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High ..., UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& pbIgnoredReqProps) at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int64 cbFile, Object punkSPFileMgr, Object punkFFM, Int64 PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, SPFileSaveParams sfsp, SPFileInfo& pFileProps, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, I... a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91* w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High ...nt32& pbIgnoredReqProps) at Microsoft.SharePoint.Library.SPRequest.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int64 cbFile, Object punkSPFileMgr, Object punkFFM, Int64 PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, SPFileSaveParams sfsp, SPFileInfo& pFileProps, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& pbIgnoredReqProps) at Microsoft.SharePoint.SPFile.SaveBinaryInternal(Stream file, Int64 fileSizeToS... a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91* w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High ...ave, SPFileStreamManager spmgr, Boolean isBackgroundSave, String checkInComment, Boolean checkRequiredFields, Boolean autoCheckoutOnInvalidData, Boolean bIsMigrate, Boolean bIsPublish, Boolean bForceCreateVersion, String lockIdMatch, SPUser modifiedBy, DateTime timeLastModified, Object varProperties, SPFileFragmentPartition partitionToCheck, SPFileFragmentId fragmentIdToCheck, SPFileFragmentPartition[] fragPartitionsToDelete, String csvPartsToDelete, Stream formatMetadata, String etagToMatch, Boolean bSyncUpdate, SPLockType lockType, String lockId, TimeSpan lockTimeout, Boolean refreshLock, Boolean requireWebFilePermissions, Boolean failIfRequiredCheckout, Boolean validateReqFields, Guid newDocId, Boolean bypassMaxFileCheck, Boolean bypassQuotaCheck, Boolean bypassVirusScan, SPVirusCheckSt... a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91* w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High ...atus newVirusStatus, Int32 newVirusVendorId, String newVirusInfo, Byte[] newVirusInfoEx, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage, String& etagReturn, Boolean& ignoredRequiredProps, SPFileInfo& fileProps) at Microsoft.SharePoint.SPFile.SaveBinary(Stream file, SPFileSaveBinaryParameters parameters) at Microsoft.SharePoint.SPFile.SaveBinary(Stream file, Boolean checkRequiredFields, Boolean createVersion, String etagMatch, String lockIdMatch, Stream fileFormatMetaInfo, Boolean requireWebFilePermissions, String& etagNew) at Microsoft.SharePoint.SPFile.SaveBinary(Byte[] file) at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterSharePointDav.<>c__DisplayClass2.b__0(Boolean differentIdentity) at Microsoft.Office.InfoPath.Se... a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91* w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High ...rver.SolutionLifetime.DataAdapterUtil.Impersonate(DataAdapterInformation adapterInfo, String userName, String userDomain, String password, CodeToRunUnderImpersonation codeToRun) at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterUtil.Impersonate(DataAdapterInformation adapterInfo, String userName, String password, CodeToRunUnderImpersonation codeToRun) at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterSharePointDav.UploadToLocalSite(Uri targetUri, Byte[] buffer, Boolean allowOverwrite, DataAdapterCredentials credentials) at Microsoft.Office.InfoPath.Server.SolutionLifetime.DataAdapterSharePointDav.Execute(XPathNavigator input, Uri folderUri, Boolean allowOverwrite, XPathTypedValue fileNameXpath, Boolean ensureXMLExtension, Document document, DataAdapt... a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91* w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High ...erCredentials credentials, Boolean useDcl) at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataAdapterSharePointDav.Execute(XPathNavigator input) at Microsoft.Office.InfoPath.Server.SolutionLifetime.RuleAction.EvaluateExpression(Document document, XPathNavigator currentTarget) at Microsoft.Office.InfoPath.Server.SolutionLifetime.RulesRuleSet.EvaluateExpression(Document document, XPathNavigator targetNavigator) at Microsoft.Office.InfoPath.Server.SolutionLifetime.ButtonFormCode.Click(Document document, XPathNavigator container) at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventClick.Play(Document document, BindingServices bindingServices, EventLogProcessor eventLogProcessor) at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventLogProcessor.ExecuteLo... a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91* w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High ...g(Int32 expectedEventLogID) at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.<>c__DisplayClass13.b__11() at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock) at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.RunAndHandleExceptions(TryBlock tryblock) at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.PlayEventLog(EventLog eventLog, Boolean partialPostback) at Microsoft.Office.InfoPath.Server.Controls.PostbackPage.ProcessIndividual(HttpContext context, String eventLogText, Boolean firstEventLog) at Microsoft.Office.InfoPath.Server.Controls.PostbackPage.OnPreInit(EventArgs e) at Sy... a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91* w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High ...stem.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at Microsoft.Office.InfoPath.Server.Controls.PostbackPage.<>c__DisplayClass1.b__0() at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock) at Microsoft.Office.InfoPath.Server.Controls.PostbackPage.HandleRegularPostback(HttpContext context) at Syst... a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91* w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High ...em.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr module... a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91* w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High ...Data, Int32 flags) a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91 w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High UserAgent not available, file operations may not be optimized. at Microsoft.SharePoint.SPFileStreamManager.get_UserAgent() at Microsoft.SharePoint.SPFileStreamManager.SetOutputLockBytes(ILockBytes ilbIn) at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int64 cbFile, Object punkSPFileMgr, Object punkFFM, Int64 PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, SPFileSaveParams sfsp, SPFileInfo& pFileProps, UInt... a1de9e9c-f317-306e-e5af-5ddaac3de64b
06/27/2014 10:42:29.91* w3wp.exe (0x6594) 0x4668 SharePoint Foundation Files ak8dj High ...32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& pbIgnoredReqProps) at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int64 cbFile, Object punkSPFileMgr, Object punkFFM, Int64 PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, SPFileSaveParams sfsp, SPFileInfo& pFileProps, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& ... a1de9e9c-f317-306e-e5af-5ddaac3de64b