Error in InfoPath Building an InfoPath Integrated Workflow

rated by 0 users
This post has 15 Replies | 2 Followers

Top 200 Contributor
Posts 28
Points 95
ssuing8825 Posted: Thu, Oct 18 2007 4:21 PM

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

 

  • | Post Points: 6
Top 25 Contributor
Posts 205
Points 709
Nicolas replied on Fri, Oct 19 2007 3:13 AM

"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.
  • | Post Points: 4
Top 200 Contributor
Posts 28
Points 95

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

Screen Shot

  • | Post Points: 4
Top 500 Contributor
Posts 20
Points 50
uekur replied on Fri, Oct 19 2007 8:27 AM

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

  • | Post Points: 4
Top 200 Contributor
Posts 28
Points 95

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

  • | Post Points: 4
Top 50 Contributor
Posts 143
Points 465
Gert replied on Fri, Oct 19 2007 9:16 AM

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.

  • | Post Points: 12
Top 25 Contributor
Posts 205
Points 709
Nicolas replied on Fri, Oct 19 2007 11:05 AM

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.
  • | Post Points: 4
Top 200 Contributor
Posts 28
Points 95
ssuing8825 replied on Fri, Oct 19 2007 11:19 AM

Gert's solution fixed my problem.

Thanks

  • | Post Points: 1
Top 200 Contributor
Posts 28
Points 95
ssuing8825 replied on Mon, Oct 22 2007 10:09 AM

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?

 

  • | Post Points: 4
Top 500 Contributor
Posts 20
Points 50
uekur replied on Tue, Oct 23 2007 7:35 AM

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.

  • | Post Points: 1
Top 500 Contributor
Posts 20
Points 50
uekur replied on Fri, Oct 26 2007 6:33 AM

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

  • | Post Points: 1
Top 50 Contributor
Posts 128
Points 410
kenlin replied on Tue, Nov 6 2007 4:25 AM
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
  • | Post Points: 4
Top 500 Contributor
Posts 10
Points 37
pelloju replied on Fri, Dec 21 2007 4:42 AM

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

 

  • | Post Points: 1
Top 500 Contributor
Posts 10
Points 37
pelloju replied on Fri, Dec 21 2007 7:30 AM

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

 

Top 10 Contributor
Posts 817
Points 3,402
chrisg replied on Fri, Dec 21 2007 10:29 PM

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

  • | Post Points: 4
Page 1 of 2 (16 items) 1 2 Next > | RSS