Geeks With Blogs

Mike H. - Another Geek In Need... WebLog

Whether you are working with forms in custom workflows - or simply trying to publish a form to a form library in MOSS so you can collect information from the user, you may encounter this error.

Initially if you Google the error - you may find comments that state that you need to uncomment the following line in the web.config for the web application:

<!-- <add name="Session" type="System.Web.SessionState.SessionStateModule"/> -->

DO NOT uncomment this field. Many do this and the forms may work - and this appears to be the solution - but it is not the best practice and it is not recommended by MSFT.

You probably have not created a Shared Service Provider and associated the web application in question with the SSP.

MOSS uses the Shared Service Provider to allow / manage session state for a Farm - and specifically for the associated web applications under that SSP.

CREATING THE SHARE SERVICE PROVIDER

When you installed MOSS - the first thing you began to get familiar with is the Central Administration tool. Take a look at the following snapshot:

Click here for a snapshot

 

Notice on the left side - under Shared Services Administration, there are 2 SSP's - SSP Administration and SSP Services. These were created after the farm was deployed (a farm is used relatively here - in essence, after MOSS was deployed).

When you first setup MOSS - there are no SSP's out of the box deployed for you. You must manually create them.

The first SSP you create will contain the SSP/Admin site - and you will also receive a warning that you should not create things like My Sites or Search services scopes within this SSP. It is a best practice to first create an initial SSP - like the example above - name is SSP Administration - and then create a 2nd or successive SSP's for shared services (like Forms, Search, Excel, My Sites, etc).

Finally, when creating a SSP - you will notice that the SSP site will default to an existing web application. See the snapshot below:

Click here for a snapshot 

Under the Basic Sites in this example, you would click the Create a new Web Application - the objective is to place the SSP in its own web application and not an existing one. Once that web application is provisioned - you will be returned to this screen and you'll be able to select the appropriate web application for the SSP.

Ping me if you have any questions - hope this is helpful...

Posted on Wednesday, January 17, 2007 9:14 AM Microsoft Office SharePoint Server 2007 (MOSS) | Back to top


Comments on this post: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.

# re: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.
Requesting Gravatar...
Beware

All your images point directly to your c drive!!!

Can you fix it ?

thanks
Left by Renaud Comte on Jan 18, 2007 6:46 AM

# re: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.
Requesting Gravatar...
Thanks Renaud - I've added them to a gallery for now.
Left by MikeH on Jan 18, 2007 7:27 AM

# re: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.
Requesting Gravatar...
Hey,
I got this error and I already had an SSP created. I made a second one .. and I would love some more concrete instructions on associating form services with my SSP2 .. how do I do this, since I am new to MOSS.

I've search MSND2 and technet for the past to days but everything seems to come back here. :D Go figure. Let me know if you have any links to instructions on how to do that or could you point me somewhere more concrete. Thank you much!
Left by dd on Sep 25, 2007 1:44 PM

# re: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.
Requesting Gravatar...
Thanx a much =)
Left by LoD on Aug 20, 2009 4:58 AM

# re: gucciusaoutlet
Requesting Gravatar...
I like this web , if you have same comment please point in www.gucciusaoutlet.com
Left by lihong on Jul 20, 2010 2:05 AM

# re: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.
Requesting Gravatar...
Hello!everyone!iphone is so expensive.so I like ciphone. I want to introduce efox-shop to you
d^_^bIt is very interesting. . Sciphones i68,ciphone c6,Ciphone,cecthandy,Sciphones ,cecthandys,hiphone,HIPHONE 4,pinphone 3gs
Left by efox on Sep 20, 2010 2:41 AM

# re: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.
Requesting Gravatar...
Hi,

I am new in moss so i have some problem in infopath
The form cannot be displayed because session state is not available. Please give me solution for this.thanks.
Left by khurram on Oct 01, 2010 2:35 AM

# re: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.
Requesting Gravatar...
Hi,
i am new to share point i am not getting Info path services option in my central administration the version is 12.0.0.4518
Left by ashu shukla on Oct 04, 2010 1:31 PM

# re: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.
Requesting Gravatar...
nice post,thanks for sharing.
Left by Dell Inspiron 6400 battery on Oct 20, 2010 2:55 AM

# re: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.
Requesting Gravatar...
I spend time reading this article. It's full of informative idea that is very helpful to me. Thanks for this stuff. I owe you...
Left by Houston Top Doctors on Dec 27, 2010 10:28 AM

# re: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.
Requesting Gravatar...
It’s good to see this information in your post, i was looking the same but there was not any proper resource, thanx now i have the link which i was looking for my research.
Left by free hoting on Feb 26, 2011 1:25 PM

# re: InfoPath 2007 - MOSS 2007 - The form cannot be displayed because session state is not available.
Requesting Gravatar...
What youre saying is completely true. I know that everybody must say the same thing, but I just think that you put it in a way that everyone can understand. I also love the images you put in here. They fit so well with what youre trying to say. Im sure youll reach so many people with what youve got to say.

drucker test
Left by Drucker Test on Mar 25, 2011 10:39 AM

Your comment:
 (will show your gravatar)


Copyright © Michael J. Hamilton, Sr. | Powered by: GeeksWithBlogs.net