T
Terry Strachan
Hi,
I have an asp.net webapp that works fine on my development machine,
win2k/iis5 however, when I move the site across to win2k3 / iis6 i get the
following error on postback of any page;
*------------------------------------------*
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
*------------------------------------------*
This error only ocours on postback of a page standard aspx pages with code
behind etc work fine, but on postback - bang. I assume its a setting
somewhere to tweak as it works fine on iis5.
I have tried IIS5 Issolation mode in IIS6 but it is still the same.
Any advice?
Many thanks
Terry.
I have an asp.net webapp that works fine on my development machine,
win2k/iis5 however, when I move the site across to win2k3 / iis6 i get the
following error on postback of any page;
*------------------------------------------*
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
*------------------------------------------*
This error only ocours on postback of a page standard aspx pages with code
behind etc work fine, but on postback - bang. I assume its a setting
somewhere to tweak as it works fine on iis5.
I have tried IIS5 Issolation mode in IIS6 but it is still the same.
Any advice?
Many thanks
Terry.