473,399 Members | 3,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

running Sessions applications on server with WSS installed

Hi,
I have a problem using sessions in my .NET applications on a Windows Server
2003 with WSS installed. The error displayed is "Session State can only be
used when enableSessionState is set to true, either in a configuration file
or in the Page directive". I've set the enableSessionState flag to true in my
web pages involved. It didn' work and I googled around and found out that it
has something to do with WSS being installed in the server. The website that
I'm trying to develop is just another website entry under
IIS->servername->Web Sites. I googled around again and found out that I've
got to make changes to the web.config file. Question is, which web.config
file should I amend? Is it the one under c:\inet\companyweb or I have to
create one and place it in my development folder (eg. G:\website)? I'm new to
ASP.NET development and also to Windows Server 2003, so I will appreciate it
if help could be presented in a not-so-advanced manner. Thanks.

Rgrds,
blurz
Nov 22 '05 #1
2 1289
Google "Using Sessions with .NET"

"blurz" <bl***@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
Hi,
I have a problem using sessions in my .NET applications on a Windows Server 2003 with WSS installed. The error displayed is "Session State can only be
used when enableSessionState is set to true, either in a configuration file or in the Page directive". I've set the enableSessionState flag to true in my web pages involved. It didn' work and I googled around and found out that it has something to do with WSS being installed in the server. The website that I'm trying to develop is just another website entry under
IIS->servername->Web Sites. I googled around again and found out that I've
got to make changes to the web.config file. Question is, which web.config
file should I amend? Is it the one under c:\inet\companyweb or I have to
create one and place it in my development folder (eg. G:\website)? I'm new to ASP.NET development and also to Windows Server 2003, so I will appreciate it if help could be presented in a not-so-advanced manner. Thanks.

Rgrds,
blurz

Nov 22 '05 #2
Google "Using Sessions with .NET"

"blurz" <bl***@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
Hi,
I have a problem using sessions in my .NET applications on a Windows Server 2003 with WSS installed. The error displayed is "Session State can only be
used when enableSessionState is set to true, either in a configuration file or in the Page directive". I've set the enableSessionState flag to true in my web pages involved. It didn' work and I googled around and found out that it has something to do with WSS being installed in the server. The website that I'm trying to develop is just another website entry under
IIS->servername->Web Sites. I googled around again and found out that I've
got to make changes to the web.config file. Question is, which web.config
file should I amend? Is it the one under c:\inet\companyweb or I have to
create one and place it in my development folder (eg. G:\website)? I'm new to ASP.NET development and also to Windows Server 2003, so I will appreciate it if help could be presented in a not-so-advanced manner. Thanks.

Rgrds,
blurz

Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: blurz | last post by:
Hi, I have a problem using sessions in my .NET applications on a Windows Server 2003 with WSS installed. The error displayed is "Session State can only be used when enableSessionState is set to...
0
by: blurz | last post by:
Hi, I have a problem using sessions in my .NET applications on a Windows Server 2003 with WSS installed. The error displayed is "Session State can only be used when enableSessionState is set to...
1
by: ChrisFrohlich | last post by:
Here's my scenario: I have several ASP.NET applications built on .Net 1.1.x running on a Win2K3 IIS6.0 app/web server. Most of these are in-house, but one is purchased, meaning I do not have a...
6
by: dawnerd | last post by:
HI everyone. I have another little problem that I could use some advice on. I have a session class that handles creating a simple session to keep my users logged in. It works fine. However, the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.