Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

HOW TO: Use Visual Studio to Debug and Manage a Commerce Site That Is Not .NET-Connected


View products that this article applies to.

This article was previously published under Q325794

↑ Back to the top


Summary

This step-by-step article describes how to set up a Commerce Server 2002 site that is not .NET-connected, how to run the site as a project, and how to debug the site by using Visual Studio 6.0.

Unpack Your Site

To unpack your Web site, follow these steps:
1.Open Commerce Server Manager.
2.Expand the Commerce Server Manager node.
3.Right-click Commerce Sites, click New, and then click UnPack Site.
4.Click to select a site that is not .NET-connected (for example, Retail).
5.Complete the unpacking process.

Create a New Web Project

1.Start Visual Interdev 6.0.
2.On the File menu, click New Project, and then click New Web Project.
3.Give the project a name that is different from the site name that you used in the "Unpack Your Site" section.
4.Verify that Location is not set to wwwroot (you can use C:\Temp).
5.Click to select Master Mode.
6.Click to select Connect to an existing web.
7.Click to select the site that you unpacked in the "Unpack Your Site" section.
8.Click Finish.

Turn on Debugging on the Site

1.Open Commerce Server Manager.
2.Expand the Internet Information Server (IIS) node.
3.Expand the Web site that you created in the "Create a New Web Project" section.
4.In the Web site tree, right-click the Commerce site that you created in the "Unpack Your Site" section.
5.Set Execute Permissions to Scripts Only.
6.Click Configuration.
7.On the App Debugging tab, click to select both of the check boxes under Debugging Flags (verify that these options are turned on).
8.Apply the changes.
9.Stop and then restart the Web Service. To do this, follow these steps:
a. On the Start menu, click Run.
b. Type IISRESET, and then press ENTER.

Run Your Program Through Debugger

1.Start Visual Interdev, and then load your project.
2.Open Default.asp.
3.Add a breakpoint in Sub Main.
4.Click Go.
5.The program starts and then opens to the breakpoint in the Visual Interdev Debugger.

↑ Back to the top


References

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
244272 INFO: Visual Interdev 6.0 Debugging Resources

↑ Back to the top


Keywords: KB325794, kbhowtomaster, kbhowto

↑ Back to the top

Article Info
Article ID : 325794
Revision : 3
Created on : 11/17/2003
Published on : 11/17/2003
Exists online : False
Views : 308