“ /”应用程序中的服务器错误。你调用的对象是空的

我一直试图弄清楚,但没有得到。

说明:在执行当前Web请求期间发生未处理的异常。请查看堆栈跟踪,以获取有关错误及其在代码中起源的更多信息。

异常详细信息:

System.NullReferenceException: Object reference not set to an instance of an object.

源错误:

在执行当前Web请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来标识有关异常的来源和位置的信息。

堆栈跟踪:

[NullReferenceException: Object reference not set to an instance of an object.]
   microsoft.WebTools.BrowserLink.Runtime.Tracing.PageInspectorHttpModule.OnPreRequestHandlerExecute(Object sender,EventArgs e) +662
   system.web.SyncEventExecutionStep.system.web.HttpApplication.IExecutionStep.Execute() +141
   system.web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +74
   system.web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean& completedSynchronously) +92
lilifenglilifeng 回答:“ /”应用程序中的服务器错误。你调用的对象是空的

如果使用的是VS2019,请确保取消选中``启用浏览器链接'' VSCode EnableBroswerLink

本文链接:https://www.f2er.com/3112192.html

大家都在问