Object reference not set to an instance of...

  • Thread starter Thread starter Randy
  • Start date Start date
R

Randy

Hello,
I've got a C# ASP .Net application I've developed on my local XP Pro
machine. It all works fine on the XP box. I recently moved the app to a test
machine (Windows 2000). Now when I try and go from a child page back to its
parent page (using Server.Transfer) I get the error...
"Object reference not set to an instance of an object" on the line where I'm
accessing a Session["paypool"].ToString() object. It all works fine under XP
but not on the 2000 box.
Can someone tell me what's going on with this?

Thanks so much for any help...
 
Hi Randy,

You might want to check whether something on the test machine is killing the
sessions. A virus scanner can do that.

Ken
MVP [ASP.NET]
 
I've got symantec and Microsoft's spyware running. I closed both of them
down and it still happens.
This is strange...if I go into the web app on IE on the 2000 box, it
functions normally. When I run it on the XP box, it functions normally. The
problem is when I access the web app on the 2000 box from IE on my XP
machine, that's when I get the error.
 
Back
Top