网站经常提示:Object reference not set to an instance of an object
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.
本地测试正常,没有出现错误,上传服务器后经常都提示这个错误,应该不是程序问题吧。