Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

Re: Session error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lars - 12 Feb 2008 21:10 GMT
Hi

I get the following error when I try to access the config page for my local
document. Does any one know why?

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.

Lars
George Ter-Saakov - 12 Feb 2008 21:37 GMT
Well, Error is pretty much is self-explanatory....
The object you put into session is non-serializable.

I can not tell you why.. Are you keeping some sort of File objects or
Database connection in Session?

George.

> Hi
>
[quoted text clipped - 8 lines]
>
> Lars
Lars - 13 Feb 2008 07:33 GMT
Uninstalling the suite Visual Studio 2008 pluss all frameworks, SQL etc and
reinstalling fixed the problem.

What do you do when you know you haven't changed the source and doesn't know
how the IDE works or if it was a bug.

Lars

"Lars" <jon.doe@xxxxxxxxxxxxxxxxxx.xxx> skrev i meddelandet news:...
> Hi
>
[quoted text clipped - 8 lines]
>
> Lars

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.