R
rockdale
Hi:
I have a web application which runs fine on our production server. But
now when I install abother production server, it gets
"System.NullReferenceException: Object reference not set to an
instance of an object". It is because the session variable does not
initialized. in my session_start event, I have initialized all the
session variables, and it works on my another production server.
I comapred 2 server's configuration, they are both windows 2003
stardand edition, but the works one is service pack 1 and the new
production server is service pack 2, also on the new production server
IIS I deleted the "default web site".
On Properties >Home Directory > Configuration > Options
Enable session state is enabled, session timeout is 20 minutes on both
machine.
On Properties > ASP.NET > Edit Configuration > state management
Session state mode: inProc, Cookieless mode: UserCookies, session
timeout: 20min
and I am running under ASP.NET version 2.0.50727
I also ran aspnet_regiis.exe -i to reinstall asp.net.
does service pack 2 or delete default web site have anything with this
problem? Please help....
thanks
-rockdale
I have a web application which runs fine on our production server. But
now when I install abother production server, it gets
"System.NullReferenceException: Object reference not set to an
instance of an object". It is because the session variable does not
initialized. in my session_start event, I have initialized all the
session variables, and it works on my another production server.
I comapred 2 server's configuration, they are both windows 2003
stardand edition, but the works one is service pack 1 and the new
production server is service pack 2, also on the new production server
IIS I deleted the "default web site".
On Properties >Home Directory > Configuration > Options
Enable session state is enabled, session timeout is 20 minutes on both
machine.
On Properties > ASP.NET > Edit Configuration > state management
Session state mode: inProc, Cookieless mode: UserCookies, session
timeout: 20min
and I am running under ASP.NET version 2.0.50727
I also ran aspnet_regiis.exe -i to reinstall asp.net.
does service pack 2 or delete default web site have anything with this
problem? Please help....
thanks
-rockdale