产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

求解 [复制链接]

1#
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.  

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   System.Web.Hosting.ISAPIWorkerRequestInProc.GetServerVariable(String name) +1776
   System.Web.Hosting.ISAPIWorkerRequest.ReadRequestHeaders() +123
   System.Web.Hosting.ISAPIWorkerRequest.GetKnownRequestHeader(Int32 index) +129
   System.Web.Hosting.ISAPIWorkerRequestInProc.GetKnownRequestHeader(Int32 index) +97
   System.Web.HttpWorkerRequest.HasEntityBody() +17
   System.Web.HttpRequest.GetEncodingFromHeaders() +218
   System.Web.HttpRequest.get_ContentEncoding() +49
   System.Web.HttpRequest.get_QueryStringText() +66
   System.Web.HttpRequest.get_PathWithQueryString() +11
   System.Web.Security.FormsAuthenticationModule.OnEnter(Object source, EventArgs eventArgs) +107
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +157
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +65




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42    
怎么解决啊
分享 转发
TOP
发新话题 回复该主题