pmrh
Novice

error: enableSessionState is NOT set to true?

I'm trying to use SmartForms for the first time, and I get this error:
"Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive".

My aspx is empty, and wizard K2smartform made:
http://duffy.pt/sites/k2net/_layouts/1033/k2smartform2.aspx
And it has "<%@ Page Language="c#" AutoEventWireup="true" Codebehind="K2SmartForm2.aspx.cs" Inherits="WebApplication1.K2SmartForm2" ClassName="K2SmartForm" EnableSessionState="True"%>"

My web.config has:
<pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" />
<trust level="Full" originUrl="" />
<add name="Session" type="System.Web.SessionState.SessionStateModule"/>

What am I missing?
Thank you.
Tags (1)
0 Kudos
Reply
1 Reply
NeilM
Apprentice

Re: error: enableSessionState is NOT set to true?

Based on the URL to your form, it looks like the form exists within a SharePoint implementation. Perhaps the following Microsoft KB article will be of help to you:

http://support.microsoft.com/default.aspx?scid=kb;en-us;837376
0 Kudos
Reply