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...
chelseablueAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.