上传服务器后出现未将对象引用设置为对象实例,本地正常
错误如下:Server Error in '/' Application.
--------------------------------------------------------------------------------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.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  本地是正常的,具体出错是在读取xml时出错,因为没有提示具体出错位置,不知道是哪错了,而且本地正常,不过本地用的是IIS7.0,服务器上是IIS6.0,我估计和IIS无关,有谁遇到过这个情况吗?