SharePoint 2007 Forms Server

3 March 2011

Right now I’m troubleshooting a mysterious error that one of my support customers is experiencing using InfoPath forms on a SharePoint site. The users are entering information into a browser enabled form, taking a really long time, and I’m pretty sure there’s a session timeout happening. What’s mysterious is that I can’t reproduce the error exactly by opening a form and letting the session time out, then attempting to save it. I get a completely different error. So there must be more at play.

My current working theory is that there are 2 separate (but possibly related) issues happening at the same time. One error when the user attempts to save the form (resulting in the loss of all their changes), and one when the browser attempts to reload/display it (resulting in the error message shown and the inability to go back to a view of the form with their updated content).

Here are some sanitised error messages I’ve captured from the event log when the problem happens.

InfoPath Forms Services has detected a mismatch between the user's data in the browser and on the server. This may indicate the SESSION_STATE_PASCAL_CASED is not configured properly on a multiple front end farm or that a malicious user is trying to tamper with client data. (User: DOMAIN\username, Form Name: Form, IP: , Request: http://website/_layouts/FormServer.aspx?XmlLocation=/filepath.xml&Source=http://website/Library/Forms/AllItems.aspx?RootFolder=%&FolderCTID=0x0120004AE5D17103937E4DAC784D461AF8C33D&View=%257b9AD631DA%252d5EDE%252d4EF1%252d8FF3%252d14ED56F1471A%257d&DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:office:infopath:Form:-myXSD-2009-09-01T01-30-36) 604f4e9e-bff3-460d-af19-229411e20ab9

WARNING: Invalid Canary for view file. StackTrace: at Microsoft.Office.InfoPath.Server.Controls.ResourcePage.GetSolutionAndVerifyCanary(HttpContext context, String solutionId, SPSite contextSite, ResourceErrorType& error) at Microsoft.Office.InfoPath.Server.Controls.ResourcePage.HandleViewFile(HttpContext context) at Microsoft.Office.InfoPath.Server.Controls.ResourcePage.<>c__DisplayClass2.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.ResourcePage.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error) at S

Don’t you love how that last stack trace just gets cut off like that? Woo!

Here is my current link log from researching the issue:

My conclusion is that there is some type of caching, cookie expiry, session timeout bad juju going on. Unfortunately that’s not one I can document for an end user!

Advertisement

2 Responses to “SharePoint 2007 Forms Server”

  1. Marlon said

    Hi,

    Have you found any concrete solutions to this issue as yet? I am experiencing this problem on SharePoint 2010 with Infopath in both 2007 and 2010. Increased IIS session time-outs on all the servers in the farm and increased the setting in application pools as well as the infopath forms settings in Central admin but the error is still persisting. We never had this issue in 2007.

    mail me if you have any other suggestions: meiksg@gmail.com

    thanks,
    Marlon

  2. Sadly, no, we have just advised end users to open the form using the InfoPath client if they’re going to be editing for long sessions.

    Additionally, this is in a MOSS 2007 environment, so I don’t believe I’d have any useful advice about 2010.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.