Object reference not set to an instance of an object"
我在本机测试都一切正常,而且在本机的xp+IIS5.1测试正常,在win2003+iis6.0 发布后出现错误:
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:
Line 14: <div style="background:url(image/2009.jpg); width:1024px;height:133px;margin:0px;"><span style="position:absolute;left:500px;top:52px;color:red;font-family:黑体;font-size:24px;margin:0px;">(<%=depart%>)</span></div>
Line 15: <%=headscript%>
Line 16: <%=this.cmde.GetProMessage(depart, type, Server.UrlDecode(Request.Cookies["uid"].Value))%>
Line 17: <%=this.cmde.GetTailScript(Server.UrlDecode(Request.Cookies["depart"].Value), Server.UrlDecode(Request.Cookies["uid"].Value))%>
Line 18: </form>