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:
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
1 Reply

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:;en-us;837376
0 Kudos