Object reference not set to an instance of...

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...
 
K

Ken Cox [Microsoft MVP]

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]
 
R

Randy

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top