Microsoft KB Archive/302854

= PRB: Client-Side Debugging Causes Errors in Business Desk =

Article ID: 302854

Article Last Modified on 10/16/2002

-

APPLIES TO


 * Microsoft Commerce Server 2000 Standard Edition

-



This article was previously published under Q302854



SYMPTOMS
When you open a catalog in the Business Desk, the following error messages may occur:

MessageBox:

Unable to load Query Builder.

-and-

MessageBox:

The profile catalog could not be loaded. The catalog may be corrupt or missing.

URL: http:// / /catalogs/editor/QBProperties.asp

Error code: -1072896681

Reason: Invalid xml declaration.

Line 8, char 3



CAUSE
This problem can occur when client-side debugging is enabled on the Business Desk site.



RESOLUTION
Disable client-side debugging on the Business Desk site. To do this:
 * 1) Open the Internet Services Manager.

Open the properties for the Virtual Directory of the Business Desk site.

On the Virtual Directory tab, click Configuration in the Application Settings section.

On the App Debugging tab, click to uncheck the Enable ASP client-side script debugging option.


 * 1) Open the properties for the Virtual Directory of the Business Desk site.

On the Virtual Directory tab, click Configuration in the Application Settings section.

On the App Debugging tab, click to uncheck the Enable ASP client-side script debugging option.


 * 1) On the Virtual Directory tab, click Configuration in the Application Settings section.

On the App Debugging tab, click to uncheck the Enable ASP client-side script debugging option.


 * 1) On the App Debugging tab, click to uncheck the Enable ASP client-side script debugging option.



MORE INFORMATION
Client-side debugging passes the following tag within the XML document: This invalidates the XML. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

297995 PRB: ASP_DEBUG_INFO Tag Is Inserted into HTML When You Debug with Visual InterDev 6.0

Note that you may receive a slightly different set of errors if you have debugging enabled in the HTC files:

Site terms could not be loaded. The catalog may be corrupt or missing.

URL: http:// / /catalogs/editor/QBEnumeratedValues.asp

Reason: Invalid xml declaration.

Line 7,char 3: ''

-and-

Unable to load Query Builder.

-and-

The profile catalog could not be loaded. The catalog may be corrupt or missing.

URL: http:// / /catalogs/editor/QBProperties.asp

Error code: -1072896681

Reason: Invalid xml declaration.

Line 8, char 3

Steps to Reproduce this Behavior
 Enable client-side and server-side debugging on the Business Desk site.

Create a project to the Business Desk site by using Microsoft Visual InterDev.

Open the Global.asa file in the Business Desk site, and then set the MSCSEnv environment variable to DEVELOPMENT.

Set the BizDesk.asp file as the starting file.

Start the debugger.

You should be prompted with the following message:

This project is not set up to enable ASP debugging. Would you like to enable ASP debugging on this project?

Choose Yes if you want to debug .asp pages

Choose No if you want to debug .htm pages only.

Select Yes.

You should then be prompted with credentials for debugging. Supply the proper credentials.

Open a catalog in the Business Desk. The error messages occur.

Disable client-side debugging in the Internet Services Manager for the site. The error does not occur. Create a project to the Business Desk site by using Microsoft Visual InterDev.

Open the Global.asa file in the Business Desk site, and then set the MSCSEnv environment variable to DEVELOPMENT.

Set the BizDesk.asp file as the starting file.

Start the debugger.

You should be prompted with the following message:

This project is not set up to enable ASP debugging. Would you like to enable ASP debugging on this project?

Choose Yes if you want to debug .asp pages

Choose No if you want to debug .htm pages only.

Select Yes.

You should then be prompted with credentials for debugging. Supply the proper credentials.

Open a catalog in the Business Desk. The error messages occur.

Disable client-side debugging in the Internet Services Manager for the site. The error does not occur. Open the Global.asa file in the Business Desk site, and then set the MSCSEnv environment variable to DEVELOPMENT.

Set the BizDesk.asp file as the starting file.

Start the debugger.

You should be prompted with the following message:

This project is not set up to enable ASP debugging. Would you like to enable ASP debugging on this project?

Choose Yes if you want to debug .asp pages

Choose No if you want to debug .htm pages only.

Select Yes.

You should then be prompted with credentials for debugging. Supply the proper credentials.

Open a catalog in the Business Desk. The error messages occur.

Disable client-side debugging in the Internet Services Manager for the site. The error does not occur. Set the BizDesk.asp file as the starting file.

Start the debugger.

You should be prompted with the following message:

This project is not set up to enable ASP debugging. Would you like to enable ASP debugging on this project?

Choose Yes if you want to debug .asp pages

Choose No if you want to debug .htm pages only.

Select Yes.

You should then be prompted with credentials for debugging. Supply the proper credentials.

Open a catalog in the Business Desk. The error messages occur.

Disable client-side debugging in the Internet Services Manager for the site. The error does not occur. Start the debugger.

You should be prompted with the following message:

This project is not set up to enable ASP debugging. Would you like to enable ASP debugging on this project?

Choose Yes if you want to debug .asp pages

Choose No if you want to debug .htm pages only.

Select Yes.

You should then be prompted with credentials for debugging. Supply the proper credentials.

Open a catalog in the Business Desk. The error messages occur.

Disable client-side debugging in the Internet Services Manager for the site. The error does not occur.</li> You should be prompted with the following message:

This project is not set up to enable ASP debugging. Would you like to enable ASP debugging on this project?

Choose Yes if you want to debug .asp pages

Choose No if you want to debug .htm pages only.

Select Yes.

You should then be prompted with credentials for debugging. Supply the proper credentials.

Open a catalog in the Business Desk. The error messages occur.

Disable client-side debugging in the Internet Services Manager for the site. The error does not occur.</li> You should then be prompted with credentials for debugging. Supply the proper credentials.

Open a catalog in the Business Desk. The error messages occur.

Disable client-side debugging in the Internet Services Manager for the site. The error does not occur.</li> Open a catalog in the Business Desk. The error messages occur.

Disable client-side debugging in the Internet Services Manager for the site. The error does not occur.</li> Disable client-side debugging in the Internet Services Manager for the site. The error does not occur.</li></ol>

Additional query words: BizDesk

Keywords: kbprb KB302854

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.