Solved

ASP_DEBUG_INFO metafile

Posted on 2001-06-18
5
227 Views
Last Modified: 2013-12-24
When I view the source on any asp page in one particular application I'm working on I see that the first several lines have this metafile inserted first which includes the term ASP_DEBUG_INFO followed by may lines of numbers.  All of this is surrounded by regular html comment tags.  

I didn't put this in on purpose but I'm thinking VI's debug tools did.  It seems that when an error occurs in my asp pages the typical error page (the one which indicates what type of error and what line, etc.) doesn't show up.  This "bugs" me since I rely heavily on the hack and detect method of debugging alot more than the debugging tools that come with VI.  Probably because I am still learning those tools and am not too comfortable with them.

I want to learn how to get rid of these lines.  Any help out there?
0
Comment
Question by:beaudetious
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6204302
Following is an excerpt of a Microsoft page that holds the solution to this very problem... ;-)

SYMPTOMS
When you view or debug an Active Server Pages (ASP) page, you may notice that the following tag is inserted into the resultant HTML at the top of your page:

<!-- METADATA TYPE="ASP_DEBUG_INFO" -->
When this tag is inserted into the resultant HTML, it may cause problems in the following scenarios:
When you generate XML in your ASP page and send the XML to the client rather than HTML.


When you use the Response.BinaryWrite method to stream binary data to the client (for example, a Microsoft Excel document).





CAUSE
ASP sends down this tag when the following two conditions are met:

The Enable ASP client-side script debugging flag is enabled for the Web application.


An ASPCLIENTDEBUG cookie is present on the client that makes the request.


Typically, when you use automatic debugging with Visual InterDev 6.0, both of these conditions are met. The Visual InterDev debugger requires this tag at run time to automatically map breakpoints in the client script.



RESOLUTION
To resolve this problem, use one of the following methods.

Method 1
Disable the Enable ASP client-side script debugging flag as follows:
In the Internet Services Manager, right-click the Web application with which you are currently working, and then click Properties.


Click Configuration.


On the App Debugging tab, clear the Enable ASP client-side script debugging check box.


Method 2
Delete the ASPCLIENTDEBUG cookie from your client computer as follows:
On your computer, search for a file named username@applicationname*. For example, if the user name is "johndoe" and the application is named "myapplication," search for the johndoe@myapplication* file.


After you locate the file, delete it.


NOTE: If you need to debug in the above-mentioned scenarios, you must manually debug the application.

Cheers,
Max.
0
 
LVL 19

Accepted Solution

by:
DreamMaster earned 100 total points
ID: 6205452
This should help you beaudetious... if you need any more help please let me know...

Max.
0
 
LVL 1

Author Comment

by:beaudetious
ID: 6207958
Max:

Excellent work!!!  Thanks for the info.  I previously searched Microsoft Knowledge Base but came up empty.  Would you please send me the article #?

Brian
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6207980
I'll have a look at that again tomorrow...am now home and ready to go to sleep...thanks for the grade A...

Max.
0
 
LVL 19

Expert Comment

by:DreamMaster
ID: 6211346
See...I knew I had forgotten something and when I looked into my email when I came home I noticed this Good Answer email and remembered what I promissed...

Well..here it is...

http://support.microsoft.com/support/kb/articles/Q297/9/95.ASP

Cheers,
Max.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question