Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SessionState Server Error
Message
 
À
17/09/2003 11:52:31
Mindy Shingara
Central Susquehanna Intermediate Unit
Lewisburg, Pennsylvanie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00829936
Message ID:
00830129
Vues:
22
Mindy,

Make sure you are not trying to access Session in the Global.asax.vb file. This was a change made in your project that Patty and Deb already made. The change related to Remoting that was implemented. There should be no custom code in the Global.asax.vb file.

>I receive the following error at the runtime of my project when it tries to cast a string variable into session in the .vb code behind file.....
>
>"Session State can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive."
>
>The enableSessionState property for the main page of the project is set to true. EnableSessionState = "true" in the HTML code as well. There are, however, about 5 .aspx files within this project. Where else do I need to set SessionState = "true"?? Thanks in advance, again!
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform