Error in InfoPath Building an InfoPath Integrated Workflow

Last post 12-27-2007, 5:22 AM by pelloju. 15 replies.
Page 1 of 2 (16 items)   1 2 Next >
Sort Posts: Previous Next
  •  10-18-2007, 4:21 PM 19258

    Error in InfoPath Building an InfoPath Integrated Workflow

    I complete the exercise alright, and then when it I test it and submit the form I get a Windows Internet Explorer Message box with the message "An error occurred while the form was being submitted." Nothing in the log files and nothing in the event logs. What else can I check?

    Also under the same tutorial under general guildance >> lab 2 >> Exercise 2 >> Step 1 >> General Event Settings >> Form Template says "Denallix Expense Claims". Shouldn't that be New Expense Claim?

     

    Here are the properties of that image

    mk:@MSITStore:C:\Documents%20and%20Settings\moss-admin\Desktop\K2%20[blackpearl]%20Getting%20Started.chm::/images/Tutorial%20InfoPath/image10_thumb.png

     

  •  10-19-2007, 3:13 AM 19260 in reply to 19258

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    "An error occurred while [...]" and that's all? No "Show details" link in the message box?

    Could you provide a screenshot of this error?


    Please remember to change the thread status when a valid answer has been given

    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  10-19-2007, 7:42 AM 19268 in reply to 19260

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    Here is a screen shot.  I noticed that the InfoPath Processing window does appear briefly prior to getting this error message.

    Screen Shot

  •  10-19-2007, 8:27 AM 19272 in reply to 19268

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    I get the same error!

    This error occurred in the SharePoint Log File:

    10/19/2007 15:16:53.74  w3wp.exe (0x13E0)                        0x0484 Forms Server                   Forms Services Data Objects    13zh Exception  System.Net.WebException: The operation has timed out     at System.Net.HttpWebRequest.GetResponse()     at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.GetResponseHelper(WebRequest request, DataAdapterTimer dataAdapterTimer, DataAdapterCredentials credentials, Stopwatch timer, ExecWebRequestExceptionState state, String adapterName, Boolean isQuery)     at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean resultUseDataset, XPathNavigator errorsSubDOM, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, Solution solution, Document document, String name, Boolean isQuery, DataAdapterTimer dataAdapterTimer, DataAdapterCredentials credentials,... a8f3d9ed-964f-4fa4-ae76-99b77f6bf79a
    10/19/2007 15:16:53.74* w3wp.exe (0x13E0)                        0x0484 Forms Server                   Forms Services Data Objects    13zh Exception ... Boolean useDcl, Boolean useProxy, Boolean useSelf) a8f3d9ed-964f-4fa4-ae76-99b77f6bf79a
    10/19/2007 15:16:53.74  w3wp.exe (0x13E0)                        0x0484 Forms Server                   Forms Services Runtime - Data C 82g0 Warning  Form submission failed. (User: User, Form Name: Expense, IP: , Request: http://Testserver/_layouts/Postback.FormServer.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:Expense:-myXSD-2007-10-18T14-51-38, Type: DataAdapterException, Exception Message: The operation has timed out The operation has timed out) a8f3d9ed-964f-4fa4-ae76-99b77f6bf79a

  •  10-19-2007, 8:55 AM 19273 in reply to 19272

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    I enabled logging in sharepoint (reference)and now get this message

     

    The form could not be submitted to http://mossdev:8086/RuntimeServices/InfoPathService.asmx because this action would violate cross-domain security restrictions.  To allow this data connection for administrator-approved forms, enable full trust for the form template, or add the connection to a Data Connection Library.  For user forms, cross-domain connections must be enabled in SharePoint Central Administration, and all connections must be in a Data Connection Library.  For more information, please see the security documentation for InfoPath Forms Services. (User: DC\moss-admin, Form Name: Denallix Expense Claims, IP: , Request: http://portal/_layouts/Postback.FormServer.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:Denallix-Expense-Claims:-myXSD-2007-10-18T16-52-50, Type: DataAdapterException, Exception Message: Security settings on the server prevent the use of this data connection.)

    For more information, see Help and Support Center at

  •  10-19-2007, 9:16 AM 19277 in reply to 19273

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    HI,

    When using form services please ensure that you have enabled "Cross-Domain Access for User Form Templates" in you Moss Administration enabled.

    You can verify this by opening  Moss Administration page > Application Management > Configure InfoPath Form Services.

    HTH

    Gert


    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  10-19-2007, 11:05 AM 19282 in reply to 19277

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    Gert is perfectly right.

    Concerning the timeout problem, it often occurs on my virtual servers. It's just because of a latency concerning the K2/Infopath web services thread due to the virtualization (because we have too much virtual servers on the same host and not enough memory). If you try to submit it again just after this error occurs, it will certainly work. If not, I fear I'm helpless...


    Please remember to change the thread status when a valid answer has been given

    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  10-19-2007, 11:19 AM 19283 in reply to 19282

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    Gert's solution fixed my problem.

    Thanks

  •  10-22-2007, 10:09 AM 19309 in reply to 19283

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    I also get the timeout on my VPC. The next time I submit the form it seems to work.  Is there some way to fix this?

     

  •  10-23-2007, 7:35 AM 19329 in reply to 19309

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    It is strange, if i submit the expense tutorial i get the timeout error, but the form is saved at the document library, after i reopen the new form i get the rules error that not all rules were applyed, also in the sharepoint log another timeout error,

    i have checked the forms server settings, they are ok, it is a VPC with 1,5 GB Memory

    are there any special settings for the database? i think there could appear the time out error.

  •  10-26-2007, 6:33 AM 19417 in reply to 19329

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    I found the error which generated my problem, the SharePoint "Data Connection Timeouts" where to short.

    Time Out error

    More Infos at:

    http://moldenco.blogspot.com/2007_01_01_archive.html

  •  11-06-2007, 4:25 AM 19637 in reply to 19277

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    Gert:

    HI,

    When using form services please ensure that you have enabled "Cross-Domain Access for User Form Templates" in you Moss Administration enabled.

    You can verify this by opening  Moss Administration page > Application Management > Configure InfoPath Form Services.

    HTH

    Gert

     

    Enabled "Cross-Domain Access for User Form Templates" already, nothing help, still getting that error. I even tried to click few more times, the same error comes up.


    Regards
    Ken Lin, Kam Hung
    Founder and VP of Hong Kong .NET User Group(http://HKNetUG.com)
    MCP, MCP+I, MCDST, MCSA, MCSE, MCITP, MCTS
    MCSE+I, MCDBA, MCSD, MCAD
    Microsoft Community Star(Hong Kong & Taiwan)
    Microsoft Most Valuable Professional(.NET since 2003)
    MCT2004 - 2008
  •  12-21-2007, 4:42 AM 20640 in reply to 19637

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    Hi,

    I had this same problem, but managed to find out what was wrong: The tutorial doesn't give any advice on how to give the deployed processes "Process rights", so you have to open the K2 Workspace and from there the Management view - after that find the process you have deployed and give "Start" and "View" process rights to the account you are using when submitting the InfoPath form.

    This at least solved the problem for me.

     -Jukka

     

  •  12-21-2007, 7:30 AM 20642 in reply to 20640

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    After I was able to send the form to the server, I checked the status of the process instance and noticed that it always ended to an Error status. The error says only, that "The request failed with HTTP status 401: Unauthorized"?

     Does anyone know what to do next?

    -Jukka

     

    Filed under: ,
  •  12-21-2007, 10:29 PM 20662 in reply to 20642

    Re: Error in InfoPath Building an InfoPath Integrated Workflow

    Is this a multi server environment....Could be kerberos...

Page 1 of 2 (16 items)   1 2 Next >
View as RSS news feed in XML