不需要的数据转储到本地主机屏幕 [英] Unwanted Data Dump to Screen in Localhost
问题描述
如果你见过这样的事情我猜,你知道它是什么。
I'm guessing if you've seen something like this before, you know what it is.
就个人而言,我不知道在哪里有比描述它看起来像我所有的标准输出以某种方式将控制台等这个问题开始。
Personally, I don't know where to start with describing this issue other than it looks like all of my standard output is somehow going to the console.
据我所知,这东西是不是我的code调用,但后来我一般用Windows窗体,工作不是ASP.NET。
From what I can tell, this stuff is not called in my code, but then I generally work with Windows Forms, not ASP.NET.
我使用本地主机通常不会调试,但我想,以确保我有很多的更新我的个人网站删除之前ASP.NET登录安全性功能。
I don't typically debug using localhost, but I wanted to make sure I had a lot of ASP.NET login security features removed before updating my personal website.
下面是我所看到的,当我在本地主机调试:
Here's what I see when I debug in localhost:
推荐答案
这是因为你有任何的web.config文件或页面级别启用跟踪。
That's because you have Trace enabled on either the web.config or at the page level.
<system.web>
<trace enabled="true" pageOutput="true" requestLimit="40" localOnly="false"/>
</system.web>
或者
<%@ Page Title="Home Page" Trace="true" Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>
这篇关于不需要的数据转储到本地主机屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!