?
Solved

ASP_DEBUG_INFO metafile

Posted on 2001-06-18
5
Medium Priority
?
229 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 400 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Suggested Courses
Course of the Month12 days, 7 hours left to enroll

777 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