473,387 Members | 1,590 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,387 software developers and data experts.

Why is ASP Session State Confused?

I've gone round and round on this same issue for weeks unable to find any solution referenced on the Internet or in any forum.

I've changed the session management from InProc to SQLServer to StateServer and back again (several times). Weeks ago I had the site properly configured and could use the ASP.Net Configurator to manage the site. After the site was hacked, I had to rebuild then entire site (entire server for that matter). Before I had perhaps a less-than-best-practice configuration where I was developing directly on the site rather than developing, then publishing to the web server; but after the crash, I setup the project to develop in a local directory and publish to the web server. Using that approach, I've never been able to load the ASP Configurator.

I consistently get this error: (Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode. SerializationException: Type 'System.Web.Administration.WebAdminRemotingManager ' in Assembly 'App_Code.fgauw2ij, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.]
) even though the session state is set to InProc.

So why is ASP on the site confused? I stopped all the applicable services and deleted all the aspnettempfiles, but when the VS solutions is reloaded and I launch the ASP Configurator, all the same compiled App_code files are recreated resulting in the same error!

And why is the error referencing App_Code? I deleted the App_Code directory.

Why are two ASP development servers initialized when I attempt to load ASP Configurator?

Thanks,

Ross
Aug 14 '07 #1
0 1264

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

Similar topics

1
by: Tim Meagher | last post by:
I am trying to use Forms Authentication for a web page with cookies and a session state. I'm getting a little confused about how to use both and how the timeouts work. My goal is to have a web...
3
by: Jeff Smythe | last post by:
I simply want to execute some code once when a new session of my ASP.NET application is started (I'm not using session state for anything else - just writing some data to a database). I thought...
1
by: Bill L | last post by:
Hi guys, Because of restarting application after new DLLs installed into \Bin folder , we move the session to StateServer, everything'a alright except when I try to write any simple hash table...
0
by: Ian | last post by:
Hi there, A little confused about postback and sessionstate Does a postback use a session state by default? if so by default is this stored in a cookie? I was a little confused here, I have...
0
by: LearninGuru | last post by:
Hi Folks, I am creating a web service that will be hosted on a web farm. The web service also uses sessions to store user specific data. I have the following doubts about session timeout in a...
5
by: ASP.Confused | last post by:
As you can tell from my previous posts on this issue...I'm really confused :-/ I have a few ASP.NET web applications on my web host's "https" server. Our web host has a single "bin" folder for...
6
by: Jon | last post by:
If a session times out, but the forms auth is still logged in it's possible for users to go to pages on the site that need those session variables. I was under the impression that using forms auth...
1
by: Thomas | last post by:
Hi, I am fairly new to ASP.Net and I am struggling with session state. I need to store session state on a sql server because in the future I will need the ability to scale my app server into...
2
by: maxkumar | last post by:
Hi, I am running a ASP.NET 1.1 site on Win Server 2003 with IIS 6.0. The website has been running for about 1.5 years now. In the past, we used to have random cases of session variables getting...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.