473,378 Members | 1,438 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,378 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 1287
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.