• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1066
  • Last Modified:

Initial Form Load through InfoPath Forms Services fails intermittently...

I have a current problem when opening a 'new' or 'existing' form that I have bound to a Forms Library in SharePoint (WSS 3.0 not MOSS).  The issue ONLY seems to occur on opening my first instance of IE (using 8), selecting the form library and then comitting the action of opening a new or existing item.

On checking the SharePoint logs I found this: (in relation to opening an item)

 04/12/2010 10:46:09.76       OWSTIMER.EXE (0x0888)                         0x17F0      Windows SharePoint Services         General                             8kh7      High          List does not exist  The page you selected contains a list that does not exist.  It may have been deleted by another user.       
04/12/2010 10:47:00.85       OWSTIMER.EXE (0x0888)                         0x0CF4      Windows SharePoint Services         General                             8kh7      High          List does not exist  The page you selected contains a list that does not exist.  It may have been deleted by another user.       
04/12/2010 10:48:00.89       OWSTIMER.EXE (0x0888)                         0x0F18      Windows SharePoint Services         General                             8kh7      High          List does not exist  The page you selected contains a list that does not exist.  It may have been deleted by another user.       
04/12/2010 10:48:15.53       w3wp.exe (0x0B20)                             0x1F94      Windows SharePoint Services         General                             72kc      Medium        Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\SiteTemplates\STS\xml\vwstyles.xml", falling back to global site definition.       
04/12/2010 10:49:01.03       OWSTIMER.EXE (0x0888)                         0x0CF8      Windows SharePoint Services         General                             8kh7      High          List does not exist  The page you selected contains a list that does not exist.  It may have been deleted by another user.       
04/12/2010 10:49:36.84       w3wp.exe (0x0B20)                             0x1F94      Forms Server                        Forms Services Runtime              0      Medium        Regenerating object: ProcessId:[14] CacheId: SiteFeatures_f051c01e-c055-4dec-8047-20986d4029a6       
04/12/2010 10:49:37.03       w3wp.exe (0x0B20)                             0x1F94      Forms Server                        Forms Services Deployment           8gf0      Medium        FormTemplate.UpgradeFinishedNoUpdate called for: URN: urn:schemas-microsoft-com:office:infopath:New-Starter-Form:-myXSD-2009-12-16T09-48-25, version:2.0.1.4       
04/12/2010 10:49:37.03       w3wp.exe (0x0B20)                             0x1F94      Forms Server                        Forms Services Runtime              0      Medium        Regenerating object: ProcessId:[14] CacheId: IpfsSolution::meta:4814f1b3-3dd0-4a18-9c8b-c3f46a5a3851:ver:2.0.1.4       
04/12/2010 10:49:37.36       w3wp.exe (0x0B20)                             0x1F94      Forms Server                        Forms Services Runtime              0      Medium        Object is not in Cache. ProcessId:[14] CacheId: IpfsSolution::soln:4814f1b3-3dd0-4a18-9c8b-c3f46a5a3851:ver:2.0.1.4       
04/12/2010 10:49:37.36       w3wp.exe (0x0B20)                             0x1F94      Forms Server                        Forms Services Runtime              0      Medium        Entering Locked region: ProcessId:[14] CacheId: IpfsSolution::soln:4814f1b3-3dd0-4a18-9c8b-c3f46a5a3851:ver:2.0.1.4       
04/12/2010 10:49:37.36       w3wp.exe (0x0B20)                             0x1F94      Forms Server                        Forms Services Runtime              0      High          Regenerating object: ProcessId:[14] CacheId: IpfsSolution::soln:4814f1b3-3dd0-4a18-9c8b-c3f46a5a3851:ver:2.0.1.4       
04/12/2010 10:49:37.66       w3wp.exe (0x0B20)                             0x1F94      Forms Server                        Forms Services Runtime              0      Medium        Finished cache object creation: ProcessId:[14] CacheId: IpfsSolution::soln:4814f1b3-3dd0-4a18-9c8b-c3f46a5a3851:ver:2.0.1.4       
04/12/2010 10:49:37.66       w3wp.exe (0x0B20)                             0x1F94      Forms Server                        Forms Services Runtime              0      Medium        Exiting Locked region: ProcessId:[14] CacheId: IpfsSolution::soln:4814f1b3-3dd0-4a18-9c8b-c3f46a5a3851:ver:2.0.1.4       
04/12/2010 10:49:40.75       w3wp.exe (0x0B20)                             0x1F94      Windows SharePoint Services         General                             8dzz      High          Exception Type: System.Web.HttpException  Exception Message: Session state has created a session id, but cannot save it because the response was already flushed by the application.       
04/12/2010 10:50:01.03       OWSTIMER.EXE (0x0888)                         0x08BC      Windows SharePoint Services         General                             8kh7      High          List does not exist  The page you selected contains a list that does not exist.  It may have been deleted by another user.       
04/12/2010 10:50:26.37       w3wp.exe (0x0B20)                             0x1F94      Windows SharePoint Services         General                             72nz      Medium        Videntityinfo::isFreshToken reported failure.       

There seems to be a Session State issue BUT as I am using WSS 3.0 (meaning I have no SSP to manage the session state settings) can anyone shed any light on why this is occuring?

The forms are Administrator-Approved with managed code behind them...
0
chelseablue
Asked:
chelseablue
1 Solution
 
chelseablueAuthor Commented:
I resolved this myself...and WHAT a hack I have had to perform!  I am sorry SharePoint is not a well constructed product at ALL!

Anyway, the solution revolved around the Application Pool bound to the main SharePoint database... basically I was able to replicate the error by recycling the Application Pool!  The setting for recycling was to be completed once a day in the middle of the night...

So the solution I found was to manipulate the global.asax and FORCE the retention of the SessionID through adding a Session_Start function and temporarily binding a variable to the Session.SessionID...once updating the asax file I recycled the Application Pool then opened a client side Internet session and accessed the Forms Library stored on the SharePoint Intranet site...a new or existing item opened without problem!

The global.asax now looks like:

<%@ Assembly Name="Microsoft.SharePoint"%><%@ Application Language="C#" Inherits="Microsoft.SharePoint.ApplicationRuntime.SPHttpApplication" %>
<script runat=server>
void Session_Start(object sender, EventArgs e)
{
 //Code that runs when a new session is started
 string sessionId = Session.SessionID;
}
</script>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now