Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 12th, 2008, 11:51 PM   #1
venkatramasamy
Newbie
 
Join Date: Oct 2007
Location: INDIA
Posts: 22
Rep Power: 0 venkatramasamy is an unknown quantity at this point
Send a message via AIM to venkatramasamy
Probelm in implementing Sessionmode=Stateserver

Hi,

i am to use Stateserver mode for sessions, for me it works fine in a new project, and throws error while using on old project, i am using vs20003(DOTNET1.1)

The Error is:

"Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is 'StateServer' or 'SQLServer'. "


Thanks in advance
Venkatramasamy SN
venkatramasamy is offline   Reply With Quote
Old Sep 13th, 2008, 12:17 AM   #2
xavier
Professional Programmer
 
xavier's Avatar
 
Join Date: Oct 2004
Location: .ro
Posts: 383
Rep Power: 4 xavier is on a distinguished road
Send a message via Yahoo to xavier
Re: Probelm in implementing Sessionmode=Stateserver

You put a non serializable object in Session. On the class you want to place in Session put the attribute [Serializable]
__________________
Don't take life too seriously, it's not permanent !
xavier is offline   Reply With Quote
Old Sep 13th, 2008, 1:45 AM   #3
venkatramasamy
Newbie
 
Join Date: Oct 2007
Location: INDIA
Posts: 22
Rep Power: 0 venkatramasamy is an unknown quantity at this point
Send a message via AIM to venkatramasamy
Re: Probelm in implementing Sessionmode=Stateserver

Hi,
Than You for your reply,

explain it clearly with example, i'll tried in several ways with reference to many frums and MSDN, So kindly reply with specific and example with explaination.


-Thanks
Venkatramasamy
venkatramasamy is offline   Reply With Quote
Old Sep 13th, 2008, 3:56 AM   #4
xavier
Professional Programmer
 
xavier's Avatar
 
Join Date: Oct 2004
Location: .ro
Posts: 383
Rep Power: 4 xavier is on a distinguished road
Send a message via Yahoo to xavier
Re: Probelm in implementing Sessionmode=Stateserver

Why don't we do it the other way - you show us the code and we'll adjust it if we can
__________________
Don't take life too seriously, it's not permanent !
xavier is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Implementing a dynamic class fhslacrosse13 C++ 6 Nov 1st, 2006 3:56 PM
Probelm Containing to Sybase Database frrom J2EE Web Application hemanth.balaji Java 0 Jan 16th, 2006 3:38 AM
Probelm with program execution in TOMCAT hemanth.balaji Java 2 Dec 3rd, 2005 8:36 AM
Bitmap Display Probelm hemanth.balaji C++ 3 Jun 9th, 2005 7:04 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:50 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC