测试注册网页,在按下提交后出现如下错误:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Exception Details:System.NullReferenceException:Object reference not set to an instance of an object.
Source Error:
An unhandled expection was generated during the execution of the current web request. Infomation regrading the origin and location of the exception can be identified using the exception stack trace below.
请知道问题出在哪里的朋友详细的告诉我下解决的办法。较急!我在别的机器上网试了下,没有上面的问题。出问题的机器是:Windows XP Home Edition,IE7.0

解决方案 »

  1.   

    对象的引用没有指向实例你的业务逻辑代码有问题。 在使用对象前先进行null判断就行了
      

  2.   

    不会啊,我在别的机器上也上网试过,没有问题,为什么就装windows xp home edition的机器出问题呢?而且之前运行上传的旧版本也没问题,昨天上传了新的版本就出问题了。
      

  3.   

    如果确定 代码  在别的机子上(别的OS)上没问题   那可能真的是 xpOS的问题了