My application has an object that stores user data and then a number of web form objects. When I run the application locally, it runs just fine. When I try and run it remotely, the user data object always comes back as "Object reference not set to an instance
of an object".
I also try and store the object in a Session variable and do a check on postback that if the object is null to try and restore it from the Sesion, but that is coming back null as well.
Can someone please point me as to where to begin to look into something like this? Does this sound like a Session issue? The object is quite large, could size have something to do with it?
mldesanctis
Member
27 Points
132 Posts
On PostBack, objects are null when run remotely, not null when run locally
Nov 04, 2011 02:57 PM|LINK
My application has an object that stores user data and then a number of web form objects. When I run the application locally, it runs just fine. When I try and run it remotely, the user data object always comes back as "Object reference not set to an instance of an object".
I also try and store the object in a Session variable and do a check on postback that if the object is null to try and restore it from the Sesion, but that is coming back null as well.
Can someone please point me as to where to begin to look into something like this? Does this sound like a Session issue? The object is quite large, could size have something to do with it?
kctt
Contributor
5004 Points
948 Posts
Re: On PostBack, objects are null when run remotely, not null when run locally
Nov 07, 2011 01:27 AM|LINK
What is data type of the object you try to store?
What is its size approximately?