General question

  • Thread starter Thread starter Steven
  • Start date Start date
S

Steven

Hello,
I have a website that is now a mixture of asp and aspx pages. The aspx
pages sort of hang off the main web site where they are all segregated into
their own directory. The aspx pages have a global.aspx page in this
directory where I have some session variables defined. Most of these
session variables are objects from classes. Of course, these session vars
are used throughout the aspx pages. This works great in the development
environment. The issue surfaces when I deploy this site. It seems that
none of the session variables are known, or have no value, I am receiving
the 'Object Reference of with block not set' error. I know asp and aspx
cannot share session state and I am not trying to share. Does anyone know
how to resolve this?

Thanks in advance,
Steven
 
Hi Steven,

The global.asax file and the web.config file should reside in the
application root.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Sometimes you eat the elephant.
Sometimes the elephant eats you.
 

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

Back
Top