Vs2008在本机编译通过 放到IIS出现错误
“/”应用程序中的服务器错误。
--------------------------------------------
未将对象引用设置到对象的实例。  
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。  
异常详细信息: 
System.NullReferenceException: 未将对象引用设置到对象的实例。源错误:  
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。   
堆栈跟踪:  
[NullReferenceException: 未将对象引用设置到对象的实例。]    System.Web.PipelineModuleStepContainer.GetStepArray(RequestNotification notification, Boolean isPostEvent) +27
    System.Web.PipelineModuleStepContainer.GetEventCount(RequestNotification notification, Boolean isPostEvent) +10
    System.Web.PipelineStepManager.ResumeSteps(Exception error) +208
    System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) +91
    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +508  
------解决方案--------------------
iis中asp.net版本设置的正确吗
------解决方案--------------------编译通过有没有生成啊。。。
------解决方案--------------------看下发布的时候某些dll全不全 
还有 有没有那种需要安装的组建之类的  类似chart,excel